[Support] binhex - rTorrentVPN


Recommended Posts

Thanks for this great docker. I can't wait to get it working.

 

I'm hoping someone can help. When I enable VPN I get a timeout on the webgui, when I disable the VPN it works. I'm using pia and have put in my preferred server and credentials. UNRAID 6.1.9. Attached are the logs while attempting to start with VPN enabled. The only thing that jumps out at me is the iptable_mangle missing error. Any thoughts?

 

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Permissions already set for /config
Changing shell for nobody.
[info] Starting Supervisor...
2016-05-16 13:17:39,060 CRIT Set uid to user 0
2016-05-16 13:17:39,061 WARN Included extra file "/etc/supervisor/conf.d/rtorrent.conf" during parsing
2016-05-16 13:17:39,069 INFO supervisord started with pid 14
2016-05-16 13:17:40,071 INFO spawned: 'start-script' with pid 17
2016-05-16 13:17:40,074 INFO spawned: 'rtorrent-script' with pid 18
2016-05-16 13:17:40,077 INFO spawned: 'webui-script' with pid 19
2016-05-16 13:17:40,079 INFO spawned: 'privoxy-script' with pid 20
2016-05-16 13:17:40,089 DEBG 'rtorrent-script' stdout output:
[info] rTorrent config file already exists, skipping copy

2016-05-16 13:17:40,097 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-05-16 13:17:40,097 INFO success: rtorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-05-16 13:17:40,097 INFO success: webui-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-05-16 13:17:40,097 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-05-16 13:17:40,101 DEBG 'rtorrent-script' stdout output:
[info] Removing any rtorrent session lock files left over from the previous run...

2016-05-16 13:17:40,109 DEBG 'rtorrent-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-05-16 13:17:40,118 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-05-16 13:17:40,120 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-05-16 13:17:40,154 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2016-05-16 13:17:40,163 DEBG 'start-script' stdout output:
[info] Env vars defined via docker -e flags for remote host, port and protocol, writing values to ovpn file...

2016-05-16 13:17:40,211 DEBG 'start-script' stdout output:
[info] VPN provider remote gateway defined as ca-toronto.privateinternetaccess.com
[info] VPN provider remote port defined as 1194
[info] VPN provider remote protocol defined as udp

2016-05-16 13:17:40,228 DEBG 'start-script' stdout output:
[info] VPN provider username defined as [removed]

2016-05-16 13:17:40,244 DEBG 'start-script' stdout output:
[info] VPN provider password defined as [removed]

2016-05-16 13:17:40,293 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.42.1

2016-05-16 13:17:40,332 DEBG 'start-script' stdout output:
[info] Setting permissions recursively on /config/openvpn...

2016-05-16 13:17:40,357 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2016-05-16 13:17:40,359 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2016-05-16 13:17:40,361 DEBG 'start-script' stdout output:
default via 172.17.42.1 dev eth0

2016-05-16 13:17:40,365 DEBG 'start-script' stdout output:
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.32

2016-05-16 13:17:40,365 DEBG 'start-script' stdout output:
192.168.1.0/24 via 172.17.42.1 dev eth0

2016-05-16 13:17:40,366 DEBG 'start-script' stdout output:
--------------------

2016-05-16 13:17:40,375 DEBG 'start-script' stdout output:
[info] iptable_mangle module not supported, attempting to load...

2016-05-16 13:17:40,380 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.1.18-unRAID

2016-05-16 13:17:40,381 DEBG 'start-script' stdout output:
[warn] iptable_mangle module not supported, you will not be able to connect to rTorrent webui or Privoxy outside of your LAN

2016-05-16 13:17:40,500 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2016-05-16 13:17:40,503 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-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 1194 -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/24 -i eth0 -p tcp -m tcp --dport 5000 -j ACCEPT
-A INPUT -p udp -m udp --sport 53 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o 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 1194 -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/24 -o eth0 -p tcp -m tcp --sport 5000 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2016-05-16 13:17:40,505 DEBG 'start-script' stdout output:
--------------------

2016-05-16 13:17:40,506 DEBG 'start-script' stdout output:
[info] nameservers

2016-05-16 13:17:40,507 DEBG 'start-script' stdout output:
nameserver 8.8.8.8
nameserver 8.8.4.4

2016-05-16 13:17:40,511 DEBG 'start-script' stdout output:
--------------------
[info] Starting OpenVPN...

2016-05-16 13:17:40,530 DEBG 'start-script' stdout output:
Mon May 16 13:17:40 2016 OpenVPN 2.3.9 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on Dec 24 2015

2016-05-16 13:17:40,531 DEBG 'start-script' stdout output:
Mon May 16 13:17:40 2016 library versions: OpenSSL 1.0.2f 28 Jan 2016, LZO 2.09

2016-05-16 13:17:40,531 DEBG 'start-script' stdout output:
Mon May 16 13:17:40 2016 WARNING: file 'credentials.conf' is group or others accessible

2016-05-16 13:17:40,621 DEBG 'start-script' stdout output:
Mon May 16 13:17:40 2016 UDPv4 link local: [undef]
Mon May 16 13:17:40 2016 UDPv4 link remote: [AF_INET]172.98.67.61:1194

2016-05-16 13:17:40,722 DEBG 'start-script' stdout output:
Mon May 16 13:17:40 2016 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this

2016-05-16 13:17:40,892 DEBG 'start-script' stdout output:
Mon May 16 13:17:40 2016 [Private Internet Access] Peer Connection Initiated with [AF_INET]172.98.67.61:1194

2016-05-16 13:17:43,081 DEBG 'start-script' stdout output:
Mon May 16 13:17:43 2016 TUN/TAP device tun0 opened
Mon May 16 13:17:43 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Mon May 16 13:17:43 2016 /usr/bin/ip link set dev tun0 up mtu 1500

2016-05-16 13:17:43,082 DEBG 'start-script' stdout output:
Mon May 16 13:17:43 2016 /usr/bin/ip addr add dev tun0 local 10.122.1.6 peer 10.122.1.5

2016-05-16 13:17:43,089 DEBG 'start-script' stdout output:
Mon May 16 13:17:43 2016 Initialization Sequence Completed

2016-05-16 13:17:43,127 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2016-05-16 13:17:43,127 DEBG fd 24 closed, stopped monitoring <POutputDispatcher at 47038704377080 for <Subprocess at 47038695001120 with name privoxy-script in state RUNNING> (stderr)>
2016-05-16 13:17:43,127 DEBG fd 20 closed, stopped monitoring <POutputDispatcher at 47038704376648 for <Subprocess at 47038695001120 with name privoxy-script in state RUNNING> (stdout)>
2016-05-16 13:17:43,127 INFO exited: privoxy-script (exit status 0; expected)
2016-05-16 13:17:43,127 DEBG received SIGCLD indicating a child quit
2016-05-16 13:17:43,186 DEBG 'rtorrent-script' stdout output:
[info] First run detected, setting rTorrent listening interface 10.122.1.6

2016-05-16 13:17:44,145 DEBG 'rtorrent-script' stdout output:
[info] First run detected, setting rTorrent incoming port 33263
[info] All checks complete, starting rTorrent...

2016-05-16 13:17:44,147 DEBG 'rtorrent-script' stdout output:
Script started, file is /home/nobody/typescript

2016-05-16 13:17:44,173 DEBG 'rtorrent-script' stdout output:
Script done, file is /home/nobody/typescript

2016-05-16 13:17:44,339 DEBG 'webui-script' stdout output:
[info] rtorrent started, setting up webui...
[info] Setting PHP timezone to UTC...

2016-05-16 13:17:44,375 DEBG 'webui-script' stdout output:
[info] nginx cert files already exists, skipping copy
[info] nginx security file already exists, skipping copy
[info] nginx config file already exists, skipping copy

2016-05-16 13:17:44,383 DEBG 'webui-script' stdout output:
[info] rutorrent share folder already exists, skipping copy

2016-05-16 13:17:44,388 DEBG 'webui-script' stdout output:
[info] rutorrent plugins folder already exists, skipping copy

2016-05-16 13:17:44,438 DEBG 'webui-script' stdout output:
[info] starting php-fpm...

2016-05-16 13:17:44,491 DEBG 'webui-script' stderr output:
[NOTICE] [pool www] 'user' directive is ignored when FPM is not running as root

2016-05-16 13:17:44,494 DEBG 'webui-script' stderr output:
[NOTICE] [pool www] 'group' directive is ignored when FPM is not running as root

2016-05-16 13:17:44,504 DEBG 'webui-script' stdout output:
[info] starting nginx...

2016-05-16 13:17:44,567 DEBG 'rtorrent-script' stdout output:
[info] Sleeping for 10 mins before rechecking listen interface and port (port checking is for PIA only)

2016-05-16 13:27:47,595 DEBG 'rtorrent-script' stdout output:
[info] Sleeping for 10 mins before rechecking listen interface and port (port checking is for PIA only)

2016-05-16 13:37:48,063 DEBG 'rtorrent-script' stdout output:
[info] Sleeping for 10 mins before rechecking listen interface and port (port checking is for PIA only)

2016-05-16 13:47:49,060 DEBG 'rtorrent-script' stdout output:
[info] Sleeping for 10 mins before rechecking listen interface and port (port checking is for PIA only)

2016-05-16 13:57:49,778 DEBG 'rtorrent-script' stdout output:
[info] Sleeping for 10 mins before rechecking listen interface and port (port checking is for PIA only)

2016-05-16 14:07:52,876 DEBG 'rtorrent-script' stdout output:
[info] Sleeping for 10 mins before rechecking listen interface and port (port checking is for PIA only)

2016-05-16 14:17:53,798 DEBG 'rtorrent-script' stdout output:
[info] Sleeping for 10 mins before rechecking listen interface and port (port checking is for PIA only)

2016-05-16 14:27:54,958 DEBG 'rtorrent-script' stdout output:
[info] Sleeping for 10 mins before rechecking listen interface and port (port checking is for PIA only)

2016-05-16 14:37:55,903 DEBG 'rtorrent-script' stdout output:
[info] Sleeping for 10 mins before rechecking listen interface and port (port checking is for PIA only)

2016-05-16 14:47:57,158 DEBG 'rtorrent-script' stdout output:
[info] Sleeping for 10 mins before rechecking listen interface and port (port checking is for PIA only)

2016-05-16 14:57:58,256 DEBG 'rtorrent-script' stdout output:
[info] Sleeping for 10 mins before rechecking listen interface and port (port checking is for PIA only)

2016-05-16 15:07:59,327 DEBG 'rtorrent-script' stdout output:
[info] Sleeping for 10 mins before rechecking listen interface and port (port checking is for PIA only)

2016-05-16 15:18:01,352 DEBG 'rtorrent-script' stdout output:
[info] Sleeping for 10 mins before rechecking listen interface and port (port checking is for PIA only)


 

This looks clean to me, the only thing that could be causing an issue is the lan lange, are you sure your lang range is

[info] Adding 192.168.1.0/24 as route via docker eth0
, this is the default value and it possible it is the correct lan range for your lan but its worth checking.

 

the issue hammsandwich is referring to is related to the lack of ip mangle support, but this only affects external access to the webui, not lan access.

 

ding ding ding! You nailed it. I'm not used to looking at net masks and I didn't notice the x.x.1.0. I'm x.x.0.0. Thanks so much!

No need for custom kernel modules, etc.

Link to comment

Hi binhex,

 

I am still having some issues with the multi-user environment. I use authentication on my reverse proxy, and every now and then it passes that auth on to rutorrent, and even though and account doesn't exist with that name it creates a folder under /share/users/ with that username and logs me in, and this messes with ratio's etc as discussed previously.

 

I would like to disable multiuser by adding $forbidUserSettings = false; to the config.php, but you currently don't expose that outside the container.

 

Is there any chance that this will be migrated\linked to the /config file in the future?

 

Or alternatively can I request that the above variable be made the default, since for proper multiuser support requires separate rtorrent installs and scgi ports for each user. (As described here https://github.com/Novik/ruTorrent/wiki/Config)

 

Thanks,

Wob

Link to comment

Hi I am having some trouble with this container.

 

The settings that I change inside rutorrent are not persistent for some reason. I want to have a bandwidth restriction on it, but ever time I set it, within a day it has defaulted back to unlimited up and down speeds.

 

Is anyone else experiencing this issue and is there a way to fix it?

Link to comment

Hi binhex,

 

I am still having some issues with the multi-user environment. I use authentication on my reverse proxy, and every now and then it passes that auth on to rutorrent, and even though and account doesn't exist with that name it creates a folder under /share/users/ with that username and logs me in, and this messes with ratio's etc as discussed previously.

 

I would like to disable multiuser by adding $forbidUserSettings = false; to the config.php, but you currently don't expose that outside the container.

 

Is there any chance that this will be migrated\linked to the /config file in the future?

 

Or alternatively can I request that the above variable be made the default, since for proper multiuser support requires separate rtorrent installs and scgi ports for each user. (As described here https://github.com/Novik/ruTorrent/wiki/Config)

 

Thanks,

Beau

 

no probs, added in a symlink for the config folder, so download the latest image (just built), and you should then see a new folder called conf appear under /config/rtorrentvpn/rutorrent/ and in there will be the config.php file you want to edit, make sure you reboot after editing the file, and make sure you save in unix format NOT windows format, otherwise this will screw up the formatting.

Link to comment

Hi I am having some trouble with this container.

 

The settings that I change inside rutorrent are not persistent for some reason. I want to have a bandwidth restriction on it, but ever time I set it, within a day it has defaulted back to unlimited up and down speeds.

 

Is anyone else experiencing this issue and is there a way to fix it?

 

this is not an issue with the container but is the way rutorrent works, so you have to keep in mind rutorrent is only a front end to rtorroent, if you change a setting on rutorrent then it will basically configure rtorrent, but the change will not be persistent, rutorrent is NOT changing the rtorrent.rc file (rtorrent config file), its merely modifying it on the fly.

 

so you have two options, option 1, modify the rtorrent.rc file and set your values in there, or option 2 use the built in scheduler plugin, either will work.

Link to comment

I am having difficulties disabling DHT and Peer Exchange.  When I do it through the UI, it re-enables after the container is restarted.  If I change the settings via rtorrent.rc, the container never starts.

 

what are you changing in the rtorrent.rc file?, it should be simply changing to the values below:-

 

# Enable DHT support for trackerless torrents or when all trackers are down.
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
# The default is "off". For DHT to work, a session directory must be defined.
# 
dht = off

# Enable peer exchange (for torrents not marked private)
#
peer_exchange = no

 

keep in mind if your editing using windows notepad then you could be screwing up the line endings, use notepad++ and follow this for how to keep unix style line endings:-

 

From the "Edit" menu, select "EOL Conversion" -> "UNIX/OSX Format". You can also set the default EOL in notepad++ via "Settings" -> "Preferences" -> "New Document/Default Directory" then select "Unix/OSX" under the Format box.

Link to comment

Hi binhex,

 

I am still having some issues with the multi-user environment. I use authentication on my reverse proxy, and every now and then it passes that auth on to rutorrent, and even though and account doesn't exist with that name it creates a folder under /share/users/ with that username and logs me in, and this messes with ratio's etc as discussed previously.

 

I would like to disable multiuser by adding $forbidUserSettings = false; to the config.php, but you currently don't expose that outside the container.

 

Is there any chance that this will be migrated\linked to the /config file in the future?

 

Or alternatively can I request that the above variable be made the default, since for proper multiuser support requires separate rtorrent installs and scgi ports for each user. (As described here https://github.com/Novik/ruTorrent/wiki/Config)

 

Thanks,

Wob

 

Hi binhex,

 

Any thoughts on this?

 

Thanks,

Wob

Link to comment

Hi binhex,

 

I am still having some issues with the multi-user environment. I use authentication on my reverse proxy, and every now and then it passes that auth on to rutorrent, and even though and account doesn't exist with that name it creates a folder under /share/users/ with that username and logs me in, and this messes with ratio's etc as discussed previously.

 

I would like to disable multiuser by adding $forbidUserSettings = false; to the config.php, but you currently don't expose that outside the container.

 

Is there any chance that this will be migrated\linked to the /config file in the future?

 

Or alternatively can I request that the above variable be made the default, since for proper multiuser support requires separate rtorrent installs and scgi ports for each user. (As described here https://github.com/Novik/ruTorrent/wiki/Config)

 

Thanks,

Wob

 

Hi binhex,

 

Any thoughts on this?

 

Thanks,

Wob

Look up a few posts ^

 

Sent from my SM-G900F using Tapatalk

 

 

Link to comment

I am having difficulties disabling DHT and Peer Exchange.  When I do it through the UI, it re-enables after the container is restarted.  If I change the settings via rtorrent.rc, the container never starts.

 

what are you changing in the rtorrent.rc file?, it should be simply changing to the values below:-

 

# Enable DHT support for trackerless torrents or when all trackers are down.
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
# The default is "off". For DHT to work, a session directory must be defined.
# 
dht = off

# Enable peer exchange (for torrents not marked private)
#
peer_exchange = no

 

keep in mind if your editing using windows notepad then you could be screwing up the line endings, use notepad++ and follow this for how to keep unix style line endings:-

 

From the "Edit" menu, select "EOL Conversion" -> "UNIX/OSX Format". You can also set the default EOL in notepad++ via "Settings" -> "Preferences" -> "New Document/Default Directory" then select "Unix/OSX" under the Format box.

 

Thank you, that worked perfectly.  I was setting them both to "off".  Also, thanks for the tip for the EOL in notepad++.  Great to know.

Link to comment

Ok have been using your DelugeVPN container for months and wanted to try this one.

 

Default setup, mapped /data to /mnt/user/SortThru/rTorrent, vpn set to no to start with.

 

Upon starting the container I get the following error:

 

2016-05-23 20:15:10,274 CRIT Set uid to user 0
2016-05-23 20:15:10,274 WARN Included extra file "/etc/supervisor/conf.d/rtorrent.conf" during parsing
2016-05-23 20:15:10,277 INFO supervisord started with pid 20
2016-05-23 20:15:11,279 INFO spawned: 'start-script' with pid 23
2016-05-23 20:15:11,280 INFO spawned: 'rtorrent-script' with pid 24
2016-05-23 20:15:11,281 INFO spawned: 'webui-script' with pid 25
2016-05-23 20:15:11,282 INFO spawned: 'privoxy-script' with pid 26
2016-05-23 20:15:11,288 DEBG 'rtorrent-script' stdout output:
[info] rTorrent config file already exists, skipping copy

2016-05-23 20:15:11,289 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-05-23 20:15:11,289 INFO success: rtorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-05-23 20:15:11,289 INFO success: webui-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-05-23 20:15:11,289 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-05-23 20:15:11,289 DEBG 'rtorrent-script' stdout output:
[info] Removing any rtorrent session lock files left over from the previous run...

2016-05-23 20:15:11,290 DEBG 'privoxy-script' stdout output:
[info] VPN not enabled, skipping VPN tunnel local ip checks

2016-05-23 20:15:11,290 DEBG fd 20 closed, stopped monitoring <POutputDispatcher at 47216798210960 for <Subprocess at 47216788900752 with name privoxy-script in state RUNNING> (stdout)>
2016-05-23 20:15:11,290 DEBG fd 24 closed, stopped monitoring <POutputDispatcher at 47216798211392 for <Subprocess at 47216788900752 with name privoxy-script in state RUNNING> (stderr)>
2016-05-23 20:15:11,290 INFO exited: privoxy-script (exit status 0; expected)
2016-05-23 20:15:11,290 DEBG received SIGCLD indicating a child quit
2016-05-23 20:15:11,291 DEBG 'rtorrent-script' stdout output:
[info] VPN not enabled, skipping VPN tunnel local ip checks
[info] All checks complete, starting rTorrent...

2016-05-23 20:15:11,291 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47216798137592 for <Subprocess at 47216797572632 with name start-script in state RUNNING> (stderr)>
2016-05-23 20:15:11,291 DEBG 'start-script' stdout output:
[info] VPN not enabled, skipping configuration of VPN

2016-05-23 20:15:11,291 INFO exited: start-script (exit status 0; expected)
2016-05-23 20:15:11,291 DEBG received SIGCLD indicating a child quit
2016-05-23 20:15:11,292 DEBG 'rtorrent-script' stdout output:
Script started, file is typescript

2016-05-23 20:15:11,292 DEBG 'rtorrent-script' stderr output:
script: cannot open typescript: Permission denied

2016-05-23 20:15:11,292 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 47216798136656 for <Subprocess at 47216788900608 with name rtorrent-script in state RUNNING> (stdout)>
2016-05-23 20:15:11,292 DEBG fd 14 closed, stopped monitoring <POutputDispatcher at 47216798136296 for <Subprocess at 47216788900608 with name rtorrent-script in state RUNNING> (stderr)>
2016-05-23 20:15:11,292 INFO exited: rtorrent-script (terminated by SIGTERM; not expected)
2016-05-23 20:15:11,292 DEBG received SIGCLD indicating a child quit

 

Am not sure what to look for - can never get to the webUI....

 

I do get this line in my syslog when starting the container - am running 6.2 - Beta 21

 

May 23 20:15:11 Tower kernel: script[27654]: segfault at 0 ip 00002b64d99f43e4 sp 00007fff7ef07290 error 4 in libc-2.22.so[2b64d998c000+19a000]

 

Thanks

Myk

 

 

Link to comment

Ok have been using your DelugeVPN container for months and wanted to try this one.

 

Default setup, mapped /data to /mnt/user/SortThru/rTorrent, vpn set to no to start with.

 

Upon starting the container I get the following error:

 

2016-05-23 20:15:10,274 CRIT Set uid to user 0
2016-05-23 20:15:10,274 WARN Included extra file "/etc/supervisor/conf.d/rtorrent.conf" during parsing
2016-05-23 20:15:10,277 INFO supervisord started with pid 20
2016-05-23 20:15:11,279 INFO spawned: 'start-script' with pid 23
2016-05-23 20:15:11,280 INFO spawned: 'rtorrent-script' with pid 24
2016-05-23 20:15:11,281 INFO spawned: 'webui-script' with pid 25
2016-05-23 20:15:11,282 INFO spawned: 'privoxy-script' with pid 26
2016-05-23 20:15:11,288 DEBG 'rtorrent-script' stdout output:
[info] rTorrent config file already exists, skipping copy

2016-05-23 20:15:11,289 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-05-23 20:15:11,289 INFO success: rtorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-05-23 20:15:11,289 INFO success: webui-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-05-23 20:15:11,289 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-05-23 20:15:11,289 DEBG 'rtorrent-script' stdout output:
[info] Removing any rtorrent session lock files left over from the previous run...

2016-05-23 20:15:11,290 DEBG 'privoxy-script' stdout output:
[info] VPN not enabled, skipping VPN tunnel local ip checks

2016-05-23 20:15:11,290 DEBG fd 20 closed, stopped monitoring <POutputDispatcher at 47216798210960 for <Subprocess at 47216788900752 with name privoxy-script in state RUNNING> (stdout)>
2016-05-23 20:15:11,290 DEBG fd 24 closed, stopped monitoring <POutputDispatcher at 47216798211392 for <Subprocess at 47216788900752 with name privoxy-script in state RUNNING> (stderr)>
2016-05-23 20:15:11,290 INFO exited: privoxy-script (exit status 0; expected)
2016-05-23 20:15:11,290 DEBG received SIGCLD indicating a child quit
2016-05-23 20:15:11,291 DEBG 'rtorrent-script' stdout output:
[info] VPN not enabled, skipping VPN tunnel local ip checks
[info] All checks complete, starting rTorrent...

2016-05-23 20:15:11,291 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47216798137592 for <Subprocess at 47216797572632 with name start-script in state RUNNING> (stderr)>
2016-05-23 20:15:11,291 DEBG 'start-script' stdout output:
[info] VPN not enabled, skipping configuration of VPN

2016-05-23 20:15:11,291 INFO exited: start-script (exit status 0; expected)
2016-05-23 20:15:11,291 DEBG received SIGCLD indicating a child quit
2016-05-23 20:15:11,292 DEBG 'rtorrent-script' stdout output:
Script started, file is typescript

2016-05-23 20:15:11,292 DEBG 'rtorrent-script' stderr output:
script: cannot open typescript: Permission denied

2016-05-23 20:15:11,292 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 47216798136656 for <Subprocess at 47216788900608 with name rtorrent-script in state RUNNING> (stdout)>
2016-05-23 20:15:11,292 DEBG fd 14 closed, stopped monitoring <POutputDispatcher at 47216798136296 for <Subprocess at 47216788900608 with name rtorrent-script in state RUNNING> (stderr)>
2016-05-23 20:15:11,292 INFO exited: rtorrent-script (terminated by SIGTERM; not expected)
2016-05-23 20:15:11,292 DEBG received SIGCLD indicating a child quit

 

Am not sure what to look for - can never get to the webUI....

 

I do get this line in my syslog when starting the container - am running 6.2 - Beta 21

 

May 23 20:15:11 Tower kernel: script[27654]: segfault at 0 ip 00002b64d99f43e4 sp 00007fff7ef07290 error 4 in libc-2.22.so[2b64d998c000+19a000]

 

Thanks

Myk

 

hmm odd, im assuming this has the tick box ticked to run as privileged right?

 

script: cannot open typescript: Permission denied

 

 

Link to comment

Yes privileged and host mode

 

what about

 

May 24 11:51:24 Tower kernel: script[16521]: segfault at 0 ip 00002b710faff3e4 sp 00007fff174a0360 error 4 in libc-2.22.so[2b710fa97000+19a000]

 

in my syslog every time I start the container?

 

Myk

 

Link to comment

Yes privileged and host mode

 

what about

 

May 24 11:51:24 Tower kernel: script[16521]: segfault at 0 ip 00002b710faff3e4 sp 00007fff174a0360 error 4 in libc-2.22.so[2b710fa97000+19a000]

 

in my syslog every time I start the container?

 

Myk

Host mode? That's your problem if it's set to that, it should be bridge mode.

 

Sent from my SM-G900F using Tapatalk

 

 

Link to comment

My bad, it is bridged and privileged

 

Myk

OK can you post a screenshot of the advanced settings screen, it's got to be a config issue, don't forget to hide username and password

 

Sent from my SM-G900F using Tapatalk

 

 

Link to comment

Any ideas?

 

Thanks

Myk

 

spotted the issue, so i had modified the way i started rtorrent via tmux (due to issues with unraid 6.2), but had forgotten to make the same adjustments for the command used when vpn is disabled (runs ok on production system unraid 6.1.9). this has now been fixed, and although i cant test unraid 6.2 im pretty confident it should now run up for you with the vpn disabled, give it a whirl

Link to comment

Hi (again),

 

Is anyone having problems with UDP trackers? all my HTTP trackers are working a treat, but all the udp trackers come back with "Tracker: [unable to connect to UDP tracker.]"

 

I don't have many UDP trackers, so haven't noticed it till now, everything else is running a treat a the moment, going out via PIA's Romanian server.

 

Regards,

Wob

Link to comment

Hi (again),

 

Is anyone having problems with UDP trackers? all my HTTP trackers are working a treat, but all the udp trackers come back with "Tracker: [unable to connect to UDP tracker.]"

 

I don't have many UDP trackers, so haven't noticed it till now, everything else is running a treat a the moment, going out via PIA's Romanian server.

 

Regards,

Wob

 

I have noticed this as well...

 

Also mine is hollering about port 6881 on the bottom status - never had that with the DelugeVPN one....

 

Myk

 

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