[Support] binhex - rTorrentVPN


Recommended Posts

https://github.com/binhex/arch-rtorrentvpn/issues/104#issuecomment-506994129

 

[info] rTorrent listening interface IP 0.0.0.0 and VPN provider IP 10.xx.xx.xx different, marking for reconfigure

2019-06-30 01:13:59,320 DEBG 'watchdog-script' stdout output:
[info] rTorrent not running

2019-06-30 01:13:59,336 DEBG 'start-script' stdout output:
Error: could not find any address for the name: `ns1.google.com'

2019-06-30 01:13:59,340 DEBG 'start-script' stdout output:
Error: could not find any address for the name: `resolver1.opendns.com'

2019-06-30 01:13:59,362 DEBG 'start-script' stdout output:
[warn] Cannot determine external IP address, exhausted retries setting to lo '127.0.0.1' 

 

Could this be because of the remove of opendns and google in the DNS servers ?

 

Link to comment

Also experiencing this exact behavior on unraid w/ rtorrentvpn and airvpn which I think is causing "Tracker: [Failure reason \"Invalid IP announced (127.0.0.1)\"]" w/ one of my trackers.

019-06-29 17:16:11,668 DEBG 'start-script' stdout output:
[warn] Cannot determine external IP address, exhausted retries setting to lo '127.0.0.1'

https://github.com/binhex/arch-rtorrentvpn/issues/104

Edited by lzrdking71
Link to comment
On 6/30/2019 at 12:54 AM, lzrdking71 said:

Also experiencing this exact behavior on unraid w/ rtorrentvpn and airvpn which I think is causing "Tracker: [Failure reason \"Invalid IP announced (127.0.0.1)\"]" w/ one of my trackers.


019-06-29 17:16:11,668 DEBG 'start-script' stdout output:
[warn] Cannot determine external IP address, exhausted retries setting to lo '127.0.0.1'

https://github.com/binhex/arch-rtorrentvpn/issues/104

@TRaSH and @lzrdking71 see latest comment for the linked issue above

Link to comment

To disable the need to login as admin:rutorrent at http://<host ip>:9080/ aka HTTP Basic Authentication

Per the nginx docs http://nginx.org/en/docs/http/ngx_http_auth_basic_module.html

In file `/config/nginx/config/nginx.conf` eg `/mnt/user/appdata/binhex-rtorrentvpn/nginx/config/nginx.conf`

You can set `auth_basic` to "off", like so:

 

        location / {
            index index.html index.htm index.php;
            #auth_basic "Restricted Content";
            auth_basic off;
            auth_basic_user_file /config/nginx/security/auth;
        }

 

HTTP Basic Authentication will be disabled after restarting the container 👍.

Edited by m8ty
bold for emphasis
  • Like 2
Link to comment

I'm having issues with extremely slow speeds in the container, approx 500K down using speedtest-cli.  If I connect to the same gateway outside the container in Windows I pull the expected 70-100m.  Trying to troubleshoot the issue. Can anyone direct me on how I can close openvpn so I can retest? I want to isolate if it's the VPN or some other issue. When I kill the pid, I can't get the test to run and openvpn is back within a minute.  Thanks for the help

Edited by tieme
Link to comment

After the update this morning when I wanted to login with my mobile.

I can't access the webgui.

Getting a plug-in error

09.07.2019 05:50:08] WebUI started.

[09.07.2019 05:50:08] Bad response from server: (0 [error,getplugins])

 

 

In the logs the last part hangs on


2019-07-09 05:23:38,622 DEBG 'watchdog-script' stdout output:
[info] rTorrent running
[info] Initialising ruTorrent plugins (checking nginx is running)...

 

Not able to test with my laptop yet.

Before this evening when I get home.

Already asked a friend of mine to check on his system with a mobile.

Link to comment

Just recently trying this container out after using your awesome delugevpn for a very long time - I am having trouble finding where you can change the default login for rutorrent. The default login of admin/rutorrent works, but I would like to use rutorrent with a reverse proxy in the future, and would like to have something more secure. Is there a way to do this through the web ui? Or through config files?

 

Thanks for the amazing containers, binhex!

Link to comment

FYI for anyone that uses this with TorGuard - they just released a new certificate (ca.crt) and so you need to update that file (should be in your "openvpn" folder of your appdata directory for this container) in your config otherwise it won't connect anymore.

 

I lost track of the actual error from the container log since I restarted it, but it was similar to what they show on TorGuard's website - "TLS_ERROR: BIO read tls_read_plaintext error". If you see that or something similar, it is probably the issue with their new cert needing to be loaded.

Edited by deusxanime
grammar
Link to comment
  • 2 weeks later...
On 7/20/2019 at 5:56 AM, pumavision said:

@binhex I'm certain that my question is a stupid one, but I'd really like to have this up behind a reverse proxy, and use the rutorrent built in authentication, but I don't want to expose it with the default login. Any help greatly appreciated, thanks!

In the container console, go to the /config/nginx/security folder: the auth file contains the authentication info.

Delete it, and then re-generate it using this command:

htpasswd -c auth yourusername

You will then be asked to enter a password (twice).

If you wish to add more users, you can use this command:

htpasswd auth yourusername

 

Edited by wblondel
Link to comment
On 7/20/2019 at 4:56 AM, pumavision said:

@binhex I'm certain that my question is a stupid one, but I'd really like to have this up behind a reverse proxy, and use the rutorrent built in authentication, but I don't want to expose it with the default login. Any help greatly appreciated, thanks!

nope not stupid at all, alternative to previous posters solution (which should work), taken from the readme.md:-

If you want to create an additional user account for ruTorrent webui then please execute the following on the host:-

docker exec -it <container name> /home/nobody/createuser.sh <username>

If you want to delete a user account (or change the password for an account) then please execute the following on the host:-

docker exec -it <container name> /home/nobody/deluser.sh <username>

as a side note, most people actually want to remove authentication when reverse proxying, otherwise you are going to end up with two lots of authentication (one for reverse proxy and one for the app), but the decision is yours :-).

Edited by binhex
Link to comment
1 hour ago, binhex said:

nope not stupid at all, alternative to previous posters solution (which should work), taken from the readme.md:-


If you want to create an additional user account for ruTorrent webui then please execute the following on the host:-

docker exec -it <container name> /home/nobody/createuser.sh <username>

If you want to delete a user account (or change the password for an account) then please execute the following on the host:-

docker exec -it <container name> /home/nobody/deluser.sh <username>

as a side note, most people actually want to remove authentication when reverse proxying, otherwise you are going to end up with two lots of authentication (one for reverse proxy and one for the app), but the decision is yours :-).

Thanks so much! This did the trick. My plan is to create my own user/password for rutorrent webui with this method, and have that as my only authentication. There is none for the reverse proxy itself. I believe this is secure, although inconvenient at the moment since all my services behind the proxy have separate logins. I will probably switch this one day to have a unified login, but for now, this is what I needed to get up and running. Thanks again :)

Link to comment

i'm using autodl-irss,
but after a restart of rutorrent or a update i'm getting always the following error.
image.thumb.png.5574d78dab924bc94bd4006489056af5.png

 

I then need to go to the autodl-irss settings and just click on the settings and then i start to work again.
most of the time.
 

Link to comment
10 hours ago, binhex said:

as a side note, most people actually want to remove authentication when reverse proxying, otherwise you are going to end up with two lots of authentication (one for reverse proxy and one for the app), but the decision is yours :-).

Why didn't I think of that?!  Thanks for that binhex.  I've got several apps each using their own authentication, and have it disabled on reverse proxy (apart from one web server).  Flip it on it's head, and single external login with no internal authentication.  Sorted!

  • Like 1
Link to comment
On 7/22/2019 at 11:54 PM, binhex said:

as a side note, most people actually want to remove authentication when reverse proxying, otherwise you are going to end up with two lots of authentication (one for reverse proxy and one for the app), but the decision is yours :-).

What is the correct way of removing the ruTorrent authentication?

I set "ENABLE_RPC2_AUTH=no" and restarted, still get auth dialog.
Also tried removing rtorrent/config/nginx/security/auth and also still get auth dialog.

Also tried just removing the admin user with the deluser.sh script, still same.

Link to comment
1 hour ago, 7thSon said:

What is the correct way of removing the ruTorrent authentication?

I set "ENABLE_RPC2_AUTH=no" and restarted, still get auth dialog.
Also tried removing rtorrent/config/nginx/security/auth and also still get auth dialog.

Also tried just removing the admin user with the deluser.sh script, still same.

you need to edit the nginx configuration file nginx.conf and look for these lines:-

 

change this:- 

        location / {
            index index.html index.htm index.php;
            auth_basic "Restricted Content";
            auth_basic_user_file /config/nginx/security/auth;
        }

to this:-

        location / {
            index index.html index.htm index.php;
        }

make sure you do this for http and https, save and restart the container.

  • Like 1
Link to comment

Hi all, after hours and hours of trying to get this to work, I just can't come up with a solution.

 

Here's the Docker Log:

Created by...
___.   .__       .__                   
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    < 
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/

2019-07-30 18:41:53.745237 [info] System information Linux 7735e3bda776 3.10.105 #24922 SMP Fri May 10 02:50:17 CST 2019 x86_64 GNU/Linux
2019-07-30 18:41:53.835332 [info] PUID defined as '1029'
2019-07-30 18:41:53.949178 [info] PGID defined as '100'
2019-07-30 18:41:54.137843 [info] UMASK defined as '000'
2019-07-30 18:41:54.213429 [info] Setting permissions recursively on volume mappings...
2019-07-30 18:42:19.628876 [info] VPN_ENABLED defined as 'yes'
2019-07-30 18:42:19.717958 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/US Chicago.ovpn
dos2unix: converting file /config/openvpn/US Chicago.ovpn to Unix format...
2019-07-30 18:42:19.825343 [info] VPN remote line defined as 'remote us-chicago.privateinternetaccess.com 1198'
2019-07-30 18:42:19.901669 [info] VPN_REMOTE defined as 'us-chicago.privateinternetaccess.com'
2019-07-30 18:42:19.979236 [info] VPN_PORT defined as '1198'
2019-07-30 18:42:20.062734 [info] VPN_PROTOCOL defined as 'udp'
2019-07-30 18:42:20.146279 [info] VPN_DEVICE_TYPE defined as 'tun0'
2019-07-30 18:42:20.226590 [info] VPN_PROV defined as 'pia'
2019-07-30 18:42:20.303082 [info] LAN_NETWORK defined as '192.168.1.0/32'
2019-07-30 18:42:20.380506 [info] NAME_SERVERS defined as '209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1'
2019-07-30 18:42:20.460691 [info] VPN_USER defined as 'x'
2019-07-30 18:42:20.538588 [info] VPN_PASS defined as 'x'
2019-07-30 18:42:20.616200 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2019-07-30 18:42:20.693079 [info] STRICT_PORT_FORWARD defined as 'no'
2019-07-30 18:42:20.770943 [info] ENABLE_PRIVOXY defined as 'yes'
2019-07-30 18:42:20.849542 [info] ENABLE_AUTODL_IRSSI defined as 'yes'
2019-07-30 18:42:20.926153 [info] ENABLE_RPC2 defined as 'yes'
2019-07-30 18:42:21.005588 [info] ENABLE_RPC2_AUTH defined as 'yes'
2019-07-30 18:42:21.090083 [info] Starting Supervisor...
2019-07-30 18:42:21,611 INFO Included extra file "/etc/supervisor/conf.d/rtorrent.conf" during parsing
2019-07-30 18:42:21,611 INFO Set uid to user 0 succeeded
2019-07-30 18:42:21,620 INFO supervisord started with pid 6
2019-07-30 18:42:22,624 INFO spawned: 'irssi-script' with pid 154
2019-07-30 18:42:22,628 INFO spawned: 'logrotate-script' with pid 155
2019-07-30 18:42:22,632 INFO spawned: 'pyrocore-script' with pid 156
2019-07-30 18:42:22,636 INFO spawned: 'rutorrent-script' with pid 157
2019-07-30 18:42:22,641 INFO spawned: 'start-script' with pid 158
2019-07-30 18:42:22,645 INFO spawned: 'watchdog-script' with pid 159
2019-07-30 18:42:22,646 INFO reaped unknown pid 7
2019-07-30 18:42:22,658 DEBG 'irssi-script' stdout output:
Script started, file is /home/nobody/typescript

2019-07-30 18:42:22,659 INFO success: irssi-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-07-30 18:42:22,659 INFO success: logrotate-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-07-30 18:42:22,659 INFO success: pyrocore-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-07-30 18:42:22,659 INFO success: rutorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-07-30 18:42:22,659 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-07-30 18:42:22,666 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-07-30 18:42:22,678 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2019-07-30 18:42:22,695 DEBG 'watchdog-script' stdout output:
[info] rTorrent config file already exists, skipping copy

2019-07-30 18:42:22,725 DEBG 'irssi-script' stdout output:
Script done, file is /home/nobody/typescript

2019-07-30 18:42:22,748 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 139790209245928 for <Subprocess at 139790209246376 with name irssi-script in state RUNNING> (stdout)>
2019-07-30 18:42:22,749 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 139790208691112 for <Subprocess at 139790209246376 with name irssi-script in state RUNNING> (stderr)>
2019-07-30 18:42:22,750 INFO exited: irssi-script (exit status 0; expected)
2019-07-30 18:42:22,751 DEBG received SIGCHLD indicating a child quit
2019-07-30 18:42:22,777 DEBG 'watchdog-script' stderr output:
dos2unix: 
2019-07-30 18:42:22,778 DEBG 'watchdog-script' stderr output:
converting file /config/rtorrent/config/rtorrent.rc to Unix format...

2019-07-30 18:42:22,947 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2019-07-30 18:42:22,979 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2019-07-30 18:42:22,990 DEBG 'start-script' stdout output:
[info] Adding 84.200.69.80 to /etc/resolv.conf

2019-07-30 18:42:23,011 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2019-07-30 18:42:23,071 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf

2019-07-30 18:42:23,149 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2019-07-30 18:42:23,174 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2019-07-30 18:42:23,184 DEBG 'start-script' stdout output:
[info] Adding 84.200.70.40 to /etc/resolv.conf

2019-07-30 18:42:23,197 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf

2019-07-30 18:42:23,438 DEBG 'start-script' stdout output:
[info] Attempting to load iptable_mangle module...

2019-07-30 18:42:23,439 DEBG fd 17 closed, stopped monitoring <POutputDispatcher at 139790208691784 for <Subprocess at 139790208652680 with name pyrocore-script in state RUNNING> (stdout)>
2019-07-30 18:42:23,439 DEBG fd 21 closed, stopped monitoring <POutputDispatcher at 139790208691952 for <Subprocess at 139790208652680 with name pyrocore-script in state RUNNING> (stderr)>
2019-07-30 18:42:23,440 INFO exited: pyrocore-script (exit status 0; expected)
2019-07-30 18:42:23,440 DEBG received SIGCHLD indicating a child quit
2019-07-30 18:42:23,444 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/3.10.105

2019-07-30 18:42:23,444 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module using modprobe, trying insmod...

2019-07-30 18:42:23,447 DEBG 'start-script' stderr output:
insmod: ERROR: could not load module /lib/modules/iptable_mangle.ko: No such file or directory

2019-07-30 18:42:23,447 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module, you will not be able to connect to the applications Web UI or Privoxy outside of your LAN
[info] unRAID/Ubuntu users: Please attempt to load the module by executing the following on your host: '/sbin/modprobe iptable_mangle'
[info] Synology users: Please attempt to load the module by executing the following on your host: 'insmod /lib/modules/iptable_mangle.ko'

2019-07-30 18:42:23,495 DEBG 'start-script' stdout output:
[info] Docker network defined as    172.17.0.0/16

2019-07-30 18:42:23,503 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/32 as route via docker eth0

2019-07-30 18:42:23,506 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2019-07-30 18:42:23,509 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0 
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.3 
192.168.1.0 via 172.17.0.1 dev eth0 

2019-07-30 18:42:23,509 DEBG 'start-script' stdout output:
--------------------

2019-07-30 18:42:23,626 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2019-07-30 18:42:23,629 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1198 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 9080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9443 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 9443 -j ACCEPT
-A INPUT -s 192.168.1.0/32 -i eth0 -p tcp -m tcp --dport 5000 -j ACCEPT
-A INPUT -s 192.168.1.0/32 -d 172.17.0.0/16 -i eth0 -p tcp -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i tun0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1198 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 9080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 9443 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9443 -j ACCEPT
-A OUTPUT -d 192.168.1.0/32 -o eth0 -p tcp -m tcp --sport 5000 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 192.168.1.0/32 -o eth0 -p tcp -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT

2019-07-30 18:42:23,632 DEBG 'start-script' stdout output:
--------------------

2019-07-30 18:42:23,634 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2019-07-30 18:42:23,651 DEBG 'start-script' stdout output:
Tue Jul 30 18:42:23 2019 WARNING: file 'credentials.conf' is group or others accessible
Tue Jul 30 18:42:23 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019
Tue Jul 30 18:42:23 2019 library versions: OpenSSL 1.1.1c  28 May 2019, LZO 2.10

2019-07-30 18:42:23,653 DEBG 'start-script' stdout output:
[info] OpenVPN started

2019-07-30 18:42:23,662 DEBG 'start-script' stdout output:
Tue Jul 30 18:42:23 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-07-30 18:42:23,663 DEBG 'start-script' stdout output:
Tue Jul 30 18:42:23 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]199.116.115.145:1198
Tue Jul 30 18:42:23 2019 UDP link local: (not bound)

2019-07-30 18:42:23,663 DEBG 'start-script' stdout output:
Tue Jul 30 18:42:23 2019 UDP link remote: [AF_INET]199.116.115.145:1198

2019-07-30 18:42:23,793 DEBG 'start-script' stdout output:
Tue Jul 30 18:42:23 2019 [d72a43a57f0a1a6ff12e16c66188297e] Peer Connection Initiated with [AF_INET]199.116.115.145:1198

2019-07-30 18:42:25,008 DEBG 'start-script' stdout output:
Tue Jul 30 18:42:25 2019 TUN/TAP device tun0 opened
Tue Jul 30 18:42:25 2019 /usr/bin/ip link set dev tun0 up mtu 1500

2019-07-30 18:42:25,012 DEBG 'start-script' stdout output:
Tue Jul 30 18:42:25 2019 /usr/bin/ip addr add dev tun0 local 10.17.18.6 peer 10.17.18.5

2019-07-30 18:42:25,015 DEBG 'start-script' stdout output:
Tue Jul 30 18:42:25 2019 /root/openvpnup.sh tun0 1500 1558 10.17.18.6 10.17.18.5 init

2019-07-30 18:42:25,032 DEBG 'start-script' stdout output:
Tue Jul 30 18:42:25 2019 Initialization Sequence Completed

2019-07-30 18:42:25,158 DEBG 'start-script' stdout output:
[info] Port forwarding is not enabled

2019-07-30 18:42:25,160 DEBG 'start-script' stdout output:
[info] Checking we can resolve name 'www.google.com' to address...

2019-07-30 18:42:25,190 DEBG 'start-script' stdout output:
[info] DNS operational, we can resolve name 'www.google.com' to address '172.217.4.196'

2019-07-30 18:42:25,193 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using Name Server 'ns1.google.com'...

2019-07-30 18:42:25,397 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 199.116.115.145

2019-07-30 18:42:26,121 DEBG 'watchdog-script' stdout output:
172.217.4.196

2019-07-30 18:42:26,148 DEBG 'watchdog-script' stdout output:
[info] rTorrent listening interface IP 0.0.0.0 and VPN provider IP 10.17.18.6 different, marking for reconfigure

2019-07-30 18:42:26,159 DEBG 'watchdog-script' stdout output:
[info] rTorrent not running

2019-07-30 18:42:26,169 DEBG 'watchdog-script' stdout output:
[info] Privoxy not running
[info] Removing any rTorrent session lock files left over from the previous run...

2019-07-30 18:42:26,172 DEBG 'watchdog-script' stdout output:
[info] Attempting to start rTorrent...

2019-07-30 18:42:26,176 DEBG 'watchdog-script' stdout output:
Script started, file is /home/nobody/typescript

2019-07-30 18:42:26,207 DEBG 'watchdog-script' stdout output:
Script done, file is /home/nobody/typescript

2019-07-30 18:42:26,449 DEBG 'rutorrent-script' stdout output:
[info] rtorrent started, setting up rutorrent...

2019-07-30 18:42:26,451 DEBG 'rutorrent-script' stdout output:
[info] Setting PHP timezone to UTC...

2019-07-30 18:42:26,459 DEBG 'rutorrent-script' stdout output:
[info] nginx cert files already exists, skipping copy

2019-07-30 18:42:26,460 DEBG 'rutorrent-script' stdout output:
[info] nginx security file already exists, skipping copy
[info] nginx config file already exists, skipping copy

2019-07-30 18:42:26,462 DEBG 'rutorrent-script' stdout output:
[info] rutorrent conf folder already exists, skipping copy

2019-07-30 18:42:26,469 DEBG 'rutorrent-script' stdout output:
                "python"        => '/usr/bin/python',           // Something like /usr/bin/python. If empty, will be found in PATH.

2019-07-30 18:42:26,488 DEBG 'rutorrent-script' stdout output:
[info] running rsync to copy rutorrent user plugins to the plugins folder inside the container...

2019-07-30 18:42:26,494 DEBG 'rutorrent-script' stdout output:
sending incremental file list

2019-07-30 18:42:26,496 DEBG 'rutorrent-script' stdout output:
README.txt

2019-07-30 18:42:26,496 DEBG 'rutorrent-script' stdout output:
theme/themes/README.txt

2019-07-30 18:42:26,498 DEBG 'rutorrent-script' stdout output:


2019-07-30 18:42:26,498 DEBG 'rutorrent-script' stdout output:
sent 430 bytes  received 60 bytes  980.00 bytes/sec
total size is 237  speedup is 0.48

2019-07-30 18:42:26,499 DEBG 'rutorrent-script' stdout output:
[info] rutorrent share folder already exists, skipping copy

2019-07-30 18:42:26,501 DEBG 'rutorrent-script' stdout output:
[info] nginx /rpc2 location enabled

2019-07-30 18:42:26,513 DEBG 'rutorrent-script' stdout output:
[info] starting php-fpm...

2019-07-30 18:42:26,558 DEBG 'rutorrent-script' stderr output:
[NOTICE] [pool www] 'user' directive is ignored when FPM is not running as root
[NOTICE] [pool www] 'group' directive is ignored when FPM is not running as root

2019-07-30 18:42:26,566 DEBG 'rutorrent-script' stdout output:
[info] starting nginx...

2019-07-30 18:42:26,597 DEBG 'rutorrent-script' stderr output:
2019/07/30 18:42:26 [emerg] 790#790: open() "/etc/nginx/nginx.conf" failed (13: Permission denied)

2019-07-30 18:42:26,598 DEBG fd 22 closed, stopped monitoring <POutputDispatcher at 139790208692176 for <Subprocess at 139790208690944 with name rutorrent-script in state RUNNING> (stdout)>
2019-07-30 18:42:26,599 DEBG fd 26 closed, stopped monitoring <POutputDispatcher at 139790208774328 for <Subprocess at 139790208690944 with name rutorrent-script in state RUNNING> (stderr)>
2019-07-30 18:42:26,599 INFO exited: rutorrent-script (exit status 1; not expected)
2019-07-30 18:42:26,599 DEBG received SIGCHLD indicating a child quit
2019-07-30 18:42:27,229 DEBG 'watchdog-script' stdout output:
[info] rTorrent process started
[info] Waiting for rTorrent process to start listening on port 5000...

2019-07-30 18:42:27,240 DEBG 'watchdog-script' stdout output:
[info] rTorrent process listening on port 5000

2019-07-30 18:42:27,249 DEBG 'watchdog-script' stdout output:
[info] Initialising ruTorrent plugins (checking rTorrent is running)...

2019-07-30 18:42:27,258 DEBG 'watchdog-script' stdout output:
[info] rTorrent running
[info] Initialising ruTorrent plugins (checking nginx is running)...

 

And here are my settings:

docker run -d \
    --cap-add=NET_ADMIN \
    -p 9080:9080 \
    -p 9443:9443 \
    -p 8118:8118 \
    --name=rtorrentvpn \
    -v /volume1/"Ollie Network Drive"/Server/Downloads:/data \
    -v /volume1/docker/rutorrent:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e VPN_ENABLED=yes \
    -e VPN_USER=USER \
    -e VPN_PASS=PASS \
    -e VPN_PROV=pia \
    -e STRICT_PORT_FORWARD=no \
    -e ENABLE_PRIVOXY=yes \
    -e ENABLE_AUTODL_IRSSI=yes \
    -e ENABLE_RPC2=yes \
    -e ENABLE_RPC2_AUTH=yes \
    -e LAN_NETWORK=192.168.1.0/24 \
    -e NAME_SERVERS=us-midwest.privateinternetaccess.com,1.0.0.1 \
    -e DEBUG=false \
    -e PHP_TZ=UTC \
    -e UMASK=000 \
    -e PUID=1029 \
    -e PGID=100 \
    binhex/arch-rtorrentvpn

 

After a lot of tinkering, I was able to get it to this point, which makes it seem like it's working ("rTorrent running"). I can't access the webUI, though (192.168.1.17:9080, 9443, 8118). Any insight? Am I way off the mark on something? Through my router I've forwarded those ports. FYI this is on a Synology Diskstation. 

 

Edited by Ollie
Link to comment
  • binhex locked this topic
Guest
This topic is now closed to further replies.