[Support] binhex - rTorrentVPN


Recommended Posts

 

1 hour ago, m0lle said:

Its a plugin. So maybe your plugins arent loading. What does the log inside rutorrent say?

I thought it was part of the core functionality.

[25.03.2021 19:02:07] WebUI started.
[25.03.2021 19:02:30] _cloudflare: Plugin will not work. rTorrent user can't access external program (python).
[25.03.2021 19:02:30] _task: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] autotools: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] create: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] datadir: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] history: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] loginmgr: Some functionality will be unavailable. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] ratio: Some functionality will be unavailable. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] retrackers: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] rss: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] rutracker_check: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] scheduler: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] trafic: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] unpack: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] xmpp: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] _task: Plugin will not work. rTorrent user can't access external program (pgrep).
[25.03.2021 19:02:30] mediainfo: Plugin will not work. rTorrent user can't access external program (mediainfo).
[25.03.2021 19:02:30] rss: Some functionality will be unavailable. rTorrent user can't access external program (curl).
[25.03.2021 19:02:30] screenshots: Plugin will not work. rTorrent user can't access external program (ffmpeg).
[25.03.2021 19:02:30] spectrogram: Plugin will not work. rTorrent user can't access external program (sox).

 

Is this related to it?

On 3/17/2021 at 5:19 PM, wayner said:

Why is it a /user-plugins folder rather than a plugins /folder?  When I look up docs on rutorrent it talks about a plugins folder.  I initially created a plugins folder and added tracklabels.  That worked and I saw icons for stuff like movies, except the plugins folder got wiped when the docker restarted.  Then I tried adding the tracklabels to the user-plugins folder and the icons disappeared.  Weird.

Link to comment

Sorry if this is a stupid question but I'm trying to get the scheduler to run properly in Rutorrent and have been having some problems with the start time. I did some searching and found out I needed to set the timezone to my area. I edited the php.ini and got it to work for a day but the setting is not sticking. I did some further searching and found this.

 

"If you do not define the PHP timezone you may see issues with the ruTorrent Scheduler plugin, please make sure you set the PHP timezone by specifying this using the environment variable PHP_TZ. Valid timezone values can be found here, http://php.net/manual/en/timezones.php"

 

Do I set the environment variable PHP_TZ.America/Chicago using the console command on the docker instead of the php.ini file? Seems simple enough but wanted to check to make sure I was doing it correctly.

Link to comment
1 hour ago, eman31 said:

Sorry if this is a stupid question but I'm trying to get the scheduler to run properly in Rutorrent and have been having some problems with the start time. I did some searching and found out I needed to set the timezone to my area. I edited the php.ini and got it to work for a day but the setting is not sticking. I did some further searching and found this.

 

"If you do not define the PHP timezone you may see issues with the ruTorrent Scheduler plugin, please make sure you set the PHP timezone by specifying this using the environment variable PHP_TZ. Valid timezone values can be found here, http://php.net/manual/en/timezones.php"

 

Do I set the environment variable PHP_TZ.America/Chicago using the console command on the docker instead of the php.ini file? Seems simple enough but wanted to check to make sure I was doing it correctly.

 

Edit the docker and set the timezone for the Key (mine is Key 20): Container Variable: PHP_TZ

Link to comment
1 hour ago, dh0llyw00d said:

 

Edit the docker and set the timezone for the Key (mine is Key 20): Container Variable: PHP_TZ

 

Thanks! It's been so long since I edited anything, it wasn't clicking in my brain. The environmental variable threw me off.

Edited by eman31
Link to comment
5 hours ago, Cull2ArcaHeresy said:

 

I thought it was part of the core functionality.


[25.03.2021 19:02:07] WebUI started.
[25.03.2021 19:02:30] _cloudflare: Plugin will not work. rTorrent user can't access external program (python).
[25.03.2021 19:02:30] _task: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] autotools: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] create: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] datadir: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] history: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] loginmgr: Some functionality will be unavailable. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] ratio: Some functionality will be unavailable. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] retrackers: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] rss: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] rutracker_check: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] scheduler: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] trafic: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] unpack: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] xmpp: Plugin will not work. rTorrent user can't access external program (php).
[25.03.2021 19:02:30] _task: Plugin will not work. rTorrent user can't access external program (pgrep).
[25.03.2021 19:02:30] mediainfo: Plugin will not work. rTorrent user can't access external program (mediainfo).
[25.03.2021 19:02:30] rss: Some functionality will be unavailable. rTorrent user can't access external program (curl).
[25.03.2021 19:02:30] screenshots: Plugin will not work. rTorrent user can't access external program (ffmpeg).
[25.03.2021 19:02:30] spectrogram: Plugin will not work. rTorrent user can't access external program (sox).

 

Is this related to it?

Try running the docker in privileged mode.

  • Thanks 1
Link to comment
On 1/4/2021 at 1:34 PM, JackPo said:

actually, looked in my log and saw a bunch of issues around rtorrent listening to new IP after VPN reconnects, seems like it can't access rtxmlrpc.


[info] rTorrent listening interface IP 10.16.112.9 and VPN provider IP 10.26.112.111 different, marking for reconfigure




2021-01-04 14:33:45,124 DEBG 'watchdog-script' stdout output:


[info] rTorrent incoming port 45817 and VPN incoming port 50542 different, marking for reconfigure




2021-01-04 14:33:45,125 DEBG 'watchdog-script' stderr output:


/home/nobody/rtorrent.sh: line 13: rtxmlrpc: command not found




2021-01-04 14:33:45,125 DEBG 'watchdog-script' stderr output:


/home/nobody/rtorrent.sh: line 19: rtxmlrpc: command not found




2021-01-04 14:33:45,126 DEBG 'watchdog-script' stderr output:


/home/nobody/rtorrent.sh: line 24: rtxmlrpc: command not found



 

Did you ever resolve this? My Rtorrentvpn log shows this same thing over and over. 

 

It randomly happens and it will be down for hours/days. Sometimes it will fix itself after a certain period of time.

 

Any help would be appreciated!

Link to comment
On 3/24/2021 at 3:34 PM, cyriouslydylan said:

Hey I recently have been unable to run the WebUI for the docker and in checking the logs I'm getting the following errors:
 


2021-03-24 15:20:33 DEPRECATED OPTION: --cipher set to 'aes-128-cbc' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'aes-128-cbc' to --data-ciphers or change --cipher 'aes-128-cbc' to --data-ciphers-fallback 'aes-128-cbc' to silence this warning.

2021-03-24 15:20:33,395 DEBG 'start-script' stdout output:
2021-03-24 15:20:33 WARNING: file 'credentials.conf' is group or others accessible

 

There was another post talking about this one and theirs was fixed by a docker update, but mine is still having the issue. I'm using PIA and haven't had any issues for a while so not sure what's going on there.

I'm on latest, and I still can't access the webUI. Any help would be greatly appreciated. It's just refusing the connection:
"

Unable to connect

Firefox can’t establish a connection to the server at 192.168.x.xx:xxxx."

Link to comment

Same here. Since today i've been unable to access the webUI. Does anyone know what's going on?

 

I'm also having some errors:

 

2021-04-03 21:43:18 WARNING: OpenVPN was configured to add an IPv6 route. However, no IPv6 has been configured for tun0, therefore the route installation may fail or may not work as expected.
2021-04-03 21:43:18 add_route_ipv6(::/3 -> :: metric -1) dev tun0
2021-04-03 21:43:18 net_route_v6_add: ::/3 via :: dev tun0 table 0 metric -1
2021-04-03 21:43:18 sitnl_send: rtnl: generic error (-13): Permission denied
2021-04-03 21:43:18 ERROR: Linux IPv6 route can't be added
2021-04-03 21:43:18 add_route_ipv6(2000::/4 -> :: metric -1) dev tun0
2021-04-03 21:43:18 net_route_v6_add: 2000::/4 via :: dev tun0 table 0 metric -1
2021-04-03 21:43:18 sitnl_send: rtnl: generic error (-13): Permission denied
2021-04-03 21:43:18 ERROR: Linux IPv6 route can't be added
2021-04-03 21:43:18 add_route_ipv6(3000::/4 -> :: metric -1) dev tun0
2021-04-03 21:43:18 net_route_v6_add: 3000::/4 via :: dev tun0 table 0 metric -1
2021-04-03 21:43:18 sitnl_send: rtnl: generic error (-13): Permission denied
2021-04-03 21:43:18 ERROR: Linux IPv6 route can't be added
2021-04-03 21:43:18 add_route_ipv6(fc00::/7 -> :: metric -1) dev tun0
2021-04-03 21:43:18 net_route_v6_add: fc00::/7 via :: dev tun0 table 0 metric -1
2021-04-03 21:43:18 sitnl_send: rtnl: generic error (-13): Permission denied
2021-04-03 21:43:18 ERROR: Linux IPv6 route can't be added

 

Edited by Johnster
Link to comment

I have a quick question. Completely new to unraid, dockers, etc. so please be gentle.

 

I've just installed and begun using rtorrentvpn. Is there anything I need to do to actually configure the VPN? I have no idea how that works. Can I begin torrenting right away and I'm covered?

 

I'm currently using NordVPN on my other network devices but from some cursory googling I understand trying to configure my unraid server to work with NordVPN is messy/impossible.

 

EDIT: I'm an idiot and just realized I had installed 'rtorrent' and not 'rtorrentvpn' no wonder I couldn't figure out how to configure my VPN.

Edited by thehumangenius
Link to comment
On 4/3/2021 at 9:43 PM, Johnster said:

Same here. Since today i've been unable to access the webUI. Does anyone know what's going on?

 

I'm also having some errors:

 


2021-04-03 21:43:18 WARNING: OpenVPN was configured to add an IPv6 route. However, no IPv6 has been configured for tun0, therefore the route installation may fail or may not work as expected.
2021-04-03 21:43:18 add_route_ipv6(::/3 -> :: metric -1) dev tun0
2021-04-03 21:43:18 net_route_v6_add: ::/3 via :: dev tun0 table 0 metric -1
2021-04-03 21:43:18 sitnl_send: rtnl: generic error (-13): Permission denied
2021-04-03 21:43:18 ERROR: Linux IPv6 route can't be added
2021-04-03 21:43:18 add_route_ipv6(2000::/4 -> :: metric -1) dev tun0
2021-04-03 21:43:18 net_route_v6_add: 2000::/4 via :: dev tun0 table 0 metric -1
2021-04-03 21:43:18 sitnl_send: rtnl: generic error (-13): Permission denied
2021-04-03 21:43:18 ERROR: Linux IPv6 route can't be added
2021-04-03 21:43:18 add_route_ipv6(3000::/4 -> :: metric -1) dev tun0
2021-04-03 21:43:18 net_route_v6_add: 3000::/4 via :: dev tun0 table 0 metric -1
2021-04-03 21:43:18 sitnl_send: rtnl: generic error (-13): Permission denied
2021-04-03 21:43:18 ERROR: Linux IPv6 route can't be added
2021-04-03 21:43:18 add_route_ipv6(fc00::/7 -> :: metric -1) dev tun0
2021-04-03 21:43:18 net_route_v6_add: fc00::/7 via :: dev tun0 table 0 metric -1
2021-04-03 21:43:18 sitnl_send: rtnl: generic error (-13): Permission denied
2021-04-03 21:43:18 ERROR: Linux IPv6 route can't be added

 

 

Apparently the problem is solved by running the command '/sbin/modprobe iptable_mangle', but i hope i won't have to do this every time i stop the docker. Not that I do it very often, but it would be very annoying.

 

Link to comment
3 hours ago, Johnster said:

 

Apparently the problem is solved by running the command '/sbin/modprobe iptable_mangle', but i hope i won't have to do this every time i stop the docker. Not that I do it very often, but it would be very annoying.

 

You can make it run automatically on startup. See A2 here - https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md . For sinology: https://help.synology.com/developer-guide/integrate_dsm/run_with_system_boot.html

Link to comment

This might be a really stupid question but this container behaves kind of funky whenever something is downloading.

Seeding is fine and it works way better than any other rutorrent container I have used in the past but when downloading something, even a small file, rutorrent will time-out and then completely stop functioning until rtorrent finishes the download.

It's kind of an annoyance more than a problem but I am wondering if anyone else has experienced this before and knows what to do about it?

Link to comment
13 hours ago, MrGangrene said:

This might be a really stupid question but this container behaves kind of funky whenever something is downloading.

Seeding is fine and it works way better than any other rutorrent container I have used in the past but when downloading something, even a small file, rutorrent will time-out and then completely stop functioning until rtorrent finishes the download.

It's kind of an annoyance more than a problem but I am wondering if anyone else has experienced this before and knows what to do about it?

How many torrents are you  seeding? And how fast are your drives? Rutorrent's PHP backend isn't exactly the fastest one, and honestly, after 1500 or so torrents it's easier to manage everything from the command line. I have SSD caches and well tuned Linux box, even so, deleting the data of a big torrent file using Rutorrent's File Manager often makes the UI unresponsive.

If you are dealing with a few hundred torrents or less then rutorrent is manageable, otherwise I deeply recommend getting familiar with pyrocore. Using the CLI feels weird at first, but once you get used with it there's really little use for rutorrent.

Link to comment

I just set up this container for the first time in order to replace the Linuxserver ruTorrent container since it is no longer being updated, however I've run into an issue and can't seem to access the WebUI. I've attached my log here, however it never seems to get past the stage "Setting permissions recursively on volume mappings..." 

 

My settings are very basic as I'm not currently setting up any VPN and am only trying to access ruTorrent locally. You can see my settings below. Any ideas?
 

Screen Shot 2021-04-09 at 3.22.23 PM.png

Screen Shot 2021-04-09 at 3.22.00 PM.png

Screen Shot 2021-04-09 at 3.21.17 PM.png

Screen Shot 2021-04-09 at 3.20.35 PM.png

supervisord.log

Link to comment
1 hour ago, xthursdayx said:

it never seems to get past the stage "Setting permissions recursively on volume mappings..."

this is why:-

image.thumb.png.da134d86812d18742e3cf2f3082b9ac8.png

 

so it will recursively be setting permissions on /mnt/user, which will obviously take some time!, edit this path and change it to a more specific folder, /data is used to store downloaded data, so something like /mnt/cache/appdata/downloads/ would be a better fit and should get things running for you.

Link to comment
5 minutes ago, binhex said:

this is why:-

image.thumb.png.da134d86812d18742e3cf2f3082b9ac8.png

 

so it will recursively be setting permissions on /mnt/user, which will obviously take some time!, edit this path and change it to a more specific folder, /data is used to store downloaded data, so something like /mnt/cache/appdata/downloads/ would be a better fit and should get things running for you.

Ah okay, I just assumed this was used to map volume access, I didn't realize it was specifically the download directory. Thanks!

Link to comment
On 4/4/2021 at 3:42 PM, matthys said:

What tag do I need to use for Synology (DS916+ with DSM 6.2.3-25426 Update 3) because it's not clear to me.
I got this message with the latests version: FATAL: kernel too old

 

Have you found which one works, yet? I updated my containers without looking for issues and now running into this kernel issue, as well. 

Link to comment

Hi @binhex

 

Is there a solution to this problem? My rtorrent is still freezing because of the udp trackers.

https://github.com/rakshasa/rtorrent/issues/180

 

I did some research and it can be done with Curl and c-ares libraries compiling.:

https://www.reddit.com/r/seedboxes/comments/didt7d/rtorrent_stalling_freezing_caused_by_bad_tracker/

https://github.com/rakshasa/libtorrent/pull/134

 

This script has it also installed with udns and that one is working for me but it does not have the vpn option:

https://github.com/stickz/rtinst

 

Thanks!

 

 

Edited by Lampegatter
Link to comment
On 4/11/2021 at 6:26 AM, Ollie said:

 

Have you found which one works, yet? I updated my containers without looking for issues and now running into this kernel issue, as well. 

Yes ... but for me it didn't work from the GUI. so I did this command (via ssh) manually:

docker pull binhex/arch-rtorrentvpn:rtorrent-ps-1.1.r54.ga787dd9-1-30

 

This version works fine for me, didn't bother to try higher version.

 

PS .. sorry I reply so late ... didn't get any notification

Link to comment

Is there any sort of documentation on a list of things to troubleshoot if the webUI isn't loading? Still can't get it to load over here and not seeing any obvious flags as to why it wouldn't be doing so.

 

Editing to attach my supervisor log

supervisord.log

 

Looking at this now in debug mode, I'm seeing a few issues:
 

2021-04-14 14:06:31.398159 [info] VPN_ENABLED defined as 'yes'
2021-04-14 14:06:31.422447 [warn] VPN_CLIENT not defined (via -e VPN_CLIENT), defaulting to 'openvpn'
2021-04-14 14:06:31.445822 [info] VPN_PROV defined as 'pia'

I don't see a VPN_CLIENT variable in the unraid docker, I'm using PIA as shown in the VPN_PROV field

 

2021-04-14 14:06:34,141 DEBG 'start-script' stderr output:
modprobe: FATAL: Module tun not found in directory /lib/modules/5.10.21-Unraid

2021-04-14 14:06:34,141 DEBG 'start-script' stdout output:
[warn] Unable to load tun kernel module using modprobe, trying insmod...

2021-04-14 14:06:34,142 DEBG 'start-script' stderr output:
insmod: ERROR: could not load module /lib/modules/tun.ko: No such file or directory

2021-04-14 14:06:34,143 DEBG 'start-script' stdout output:
[warn] Unable to load tun kernel module, assuming its dynamically loaded

Not sure what to do with this one, or if it's an issue

 

2021-04-14 14:08:42,185 DEBG 'start-script' stdout output:
[warn] Unable to download PIA json to generate token, exiting script...
[info] Port forwarding failure, creating file '/tmp/portfailure' to indicate failure...

Cant seem to locate that portfailure doc to further investigate this one
 

If I had to guess I'd say the lack of the PIA token is preventing the web-ui from loading, just not sure how to fix that guy as it had been working fine, and I have the RPC2_Pass and WEBUI_Pass defined as based on the Jan 15th update

 

Edited by cyriouslydylan
Link to comment

Has anyone else started seeing this error today?

 

2021-04-15 15:50:53,919 DEBG 'start-script' stdout output:
parse error: Invalid numeric literal at line 1, column 7

2021-04-15 15:50:53,919 DEBG 'start-script' stdout output:
[warn] Unable to successfully download PIA json to generate token from URL 'https://10.0.0.1/authv3/generateToken'
[info] 12 retries left
[info] Retrying in 10 secs...

 

It just keeps repeating in the logs over and over.

Link to comment
12 minutes ago, dvd.collector said:

Has anyone else started seeing this error today?

 


2021-04-15 15:50:53,919 DEBG 'start-script' stdout output:
parse error: Invalid numeric literal at line 1, column 7

2021-04-15 15:50:53,919 DEBG 'start-script' stdout output:
[warn] Unable to successfully download PIA json to generate token from URL 'https://10.0.0.1/authv3/generateToken'
[info] 12 retries left
[info] Retrying in 10 secs...

 

It just keeps repeating in the logs over and over.

issues with certain PIA endpoints, switch to another, sweden works but im sure there are others.

  • Thanks 1
Link to comment
21 hours ago, cyriouslydylan said:

Is there any sort of documentation on a list of things to troubleshoot if the webUI isn't loading? Still can't get it to load over here and not seeing any obvious flags as to why it wouldn't be doing so.

same - issues with certain PIA endpoints, switch to another, sweden works but im sure there are others.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.