Jump to content

[Support] binhex - DelugeVPN


Recommended Posts

Posted

I recently switched from the transmissionvpn docker to this delugevpn in hopes of getting a running torrent container. Sadly I have had no luck with either. I just do not understand why every container is broken now. I'd happily download an older build if I could figure that out.

 

Either way, I've attached a log. If someone can find something in there and help out I'd be grateful. Thanks.

OK firstly your in the wrong thread, this is for delugevpn not rtorrentvpn, so any replies in there please. So taking a look at your logs that is a successful start, there is nothing wrong there, are you attempting to connect to the webui from inside your lan yes? You would need to connect using http://<your unraid servers IP>:<host port mapped to 9080> I can assure you the VPN dockers I have authored are not "broken".

 

Sent from my SM-G900F using Tapatalk

 

Well I'm using the delugevpn so I figured I'd post in the delugevpn support thread. My mistake.

 

Anyway neither 9080 or 8112 work for the webui. 8112 being the port used in the webui shortcut.

 

edit: Starting it without the VPN enabled works. I can access the ui perfectly.

edit2: Got it working.

 

Did your solution have to do with enabling then disabling VM's ?

Posted

I recently switched from the transmissionvpn docker to this delugevpn in hopes of getting a running torrent container. Sadly I have had no luck with either. I just do not understand why every container is broken now. I'd happily download an older build if I could figure that out.

 

Either way, I've attached a log. If someone can find something in there and help out I'd be grateful. Thanks.

OK firstly your in the wrong thread, this is for delugevpn not rtorrentvpn, so any replies in there please. So taking a look at your logs that is a successful start, there is nothing wrong there, are you attempting to connect to the webui from inside your lan yes? You would need to connect using http://<your unraid servers IP>:<host port mapped to 9080> I can assure you the VPN dockers I have authored are not "broken".

 

Sent from my SM-G900F using Tapatalk

 

Well I'm using the delugevpn so I figured I'd post in the delugevpn support thread. My mistake.

 

Anyway neither 9080 or 8112 work for the webui. 8112 being the port used in the webui shortcut.

 

edit: Starting it without the VPN enabled works. I can access the ui perfectly.

edit2: Got it working.

 

hmm ok tapaatalk is screwing me over again with the wrong supervisord.log file, apologise for that that one linked to was again the wrong  log :-(. in any case i see you sorted it, i spotted your issue, you had VPN_REMOTE defined as the name of the ovpn file, not the remote value inside the ovpn file, im assuming this was the resolution right?, if not then please detail as it could be useful for somebody else using the same provider.

 

@mr-hexen, im not sure if your aware of this but i now have a much slicker way of getting the iptable mangle support working than start-stop of vm, see my VPN FAQ link below in my sig, it works a treat!.

Posted

@mr-hexen, im not sure if your aware of this but i now have a much slicker way of getting the iptable mangle support working than start-stop of vm, see my VPN FAQ link below in my sig, it works a treat!.

 

Didnt know you had that in the FAQ, FYI, the "code" is missing a quotation at the start of the second echo command.

Posted

Hi, I'm wondering if someone could help me. I installed delugevpn but when I try to access the Web UI deluge won't work and my brower says "This site can’t be reached". However, when I change the VPN setting to no, it then works fine.

 

These are some of the things I have done to try and fix it:

- I've checked my username and password, and I'm using pia, but it still won't work.

- The username is definitely the username I use to Log in PIA account

- I've changed the location for pia server to see if it might be that

- Tried reinstalling it a quite a few times.

- Changed my pia password so that it doesn't have characters such as !@£$%

 

I've uploaded my supervisord file to this if that is any help. (Omitting the username and password for obvious reasons.)

 

Thanks :)

supervisord.txt

Posted

Are you sure you've set the subnet access correctly?

 

what is the IP address of your unRAID server?

 

run this command from a command line prompt:

ifconfig 

 

Either 'br0' or 'eth0' will have your unRAID ip address.

Posted

Are you sure you've set the subnet access correctly?

 

what is the IP address of your unRAID server?

 

run this command from a command line prompt:

ifconfig 

 

Either 'br0' or 'eth0' will have your unRAID ip address.

 

The IP address is 192.168.0.2, and it says the same under eth0 when I run that command.

 

There is this warning in the log, I'm not sure if this is the issue, what it is or how to fix it:

 

[warn] iptable_mangle module not supported, you will not be able to connect to ruTorrent or Privoxy outside of your LAN

[info] Please attempt to load the module by executing the following on your host:- '/sbin/modprobe iptable_mangle'

Posted

Are you sure you've set the subnet access correctly?

 

what is the IP address of your unRAID server?

 

run this command from a command line prompt:

ifconfig 

 

Either 'br0' or 'eth0' will have your unRAID ip address.

 

The IP address is 192.168.0.2, and it says the same under eth0 when I run that command.

 

There is this warning in the log, I'm not sure if this is the issue, what it is or how to fix it:

 

[warn] iptable_mangle module not supported, you will not be able to connect to ruTorrent or Privoxy outside of your LAN

[info] Please attempt to load the module by executing the following on your host:- '/sbin/modprobe iptable_mangle'

 

You can try, but I've assumed these attempts to connect are from within the same network?

Posted

Are you sure you've set the subnet access correctly?

 

what is the IP address of your unRAID server?

 

run this command from a command line prompt:

ifconfig 

 

Either 'br0' or 'eth0' will have your unRAID ip address.

 

The IP address is 192.168.0.2, and it says the same under eth0 when I run that command.

 

There is this warning in the log, I'm not sure if this is the issue, what it is or how to fix it:

 

[warn] iptable_mangle module not supported, you will not be able to connect to ruTorrent or Privoxy outside of your LAN

[info] Please attempt to load the module by executing the following on your host:- '/sbin/modprobe iptable_mangle'

 

OK, so the LAN_NETWORK entry is your problem.

 

From your supervisor log

2017-02-04 23:30:00.921672 [info] LAN_NETWORK defined as '192.168.1.0/24'

 

This should be 192.168.0.0/24

Posted
OK, so the LAN_NETWORK entry is your problem.

 

From your supervisor log

2017-02-04 23:30:00.921672 [info] LAN_NETWORK defined as '192.168.1.0/24'

 

This should be 192.168.0.0/24

 

Thank you guys very much! That's fixed it. I owe you :)

Posted

Odd problem here, Deluge is running, OpenVPN is running.

 

The docker image is happily connected to the VPN provider and I can ping and curl etc... no problem and it shows the correct VPN IP address.

 

Deluge however cannot connect to any trackers, but can connect to peers no problem and is downloading torrents ok (sans trackers.)

 

Seeing as the docker container can connect online no problem via the VPN I have no idea what is wrong.

 

Ideas?

 

Edit: I suspect the provider is blocking trackers...

Posted

Odd problem here, Deluge is running, OpenVPN is running.

 

The docker image is happily connected to the VPN provider and I can ping and curl etc... no problem and it shows the correct VPN IP address.

 

Deluge however cannot connect to any trackers, but can connect to peers no problem and is downloading torrents ok (sans trackers.)

 

Seeing as the docker container can connect online no problem via the VPN I have no idea what is wrong.

 

Ideas?

 

Edit: I suspect the provider is blocking trackers...

 

if the trackers are private it is also possible that they block known ip blocks from vpn providers, ive heard of that happening before. If you want to go with a known working provider that doesn't block then PIA or airvpn are the recommended right now.

Posted

I apologize if this isn't the right place to ask, but does anyone have filebot AMC working with this?

If so would you mind telling me how you did it?

 

I'm looking to use my server for my downloading and reanaming... Currently I'm using a seperate pc running Utorrent with a really specific set up for Filebot AMC that I love (I am aware there are other renames on Unraid, but I'd prefer to stick with Filebot if possible). On Windows filebot amc is  integrated right into the torrent program that's why I'm posting here since I'd imagine it would be on Unraid too.

Posted

I'm having a similar problem to some other people I've read, but scanning through 20-30 pages of this thread I haven't been able to find a solution that works for me.

 

I can't access the WebUI from my LAN (haven't tested from outside the network yet). When I have VPN set to disabled, everything works fine. Once I enable it though I can't get in to the WebUI. I'm positive my user name and password is correct. I use NordVPN for my provider.

 

Note: I am VERY new to this, all I've done is configure unRAID, install and configure PLEX, install and configure OpenVPN (for remote access to the server), and now installed Deluge. I tried turning off the OpenVPN docker just to be sure something wasn't interfering, no change though.

 

I tried port 1198 default, and 1194 which I found in a NordVPN DD-WRT setup guide on their website. Not sure what else to do. I just followed a YouTube video from "Spaceinvader One" and it just all works first try in the video, so I'm not sure what I'm doing wrong. I haven't done anything else, just loaded the docker from the Community Applications, then did the basic configuration following the video, very simple stuff.

 

This is from the supervisord.log, but I'm not even sure if I'm pulling the right thing. Hopefully this is what is needed, I'd really appreciate some help, thanks!

 

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

2017-02-08 20:35:47.218690 [info] Host is running unRAID
2017-02-08 20:35:47.265224 [info] System information Linux e44db2804ff2 4.9.7-unRAID #1 SMP PREEMPT Thu Feb 2 12:39:28 PST 2017 x86_64 GNU/Linux
2017-02-08 20:35:47.329423 [info] PUID defined as '99'
2017-02-08 20:35:47.399671 [info] PGID defined as '100'
2017-02-08 20:35:47.497477 [info] Permissions already set for volume mappings
2017-02-08 20:35:47.563487 [info] VPN_ENABLED defined as 'yes'
2017-02-08 20:35:47.614226 [info] VPN_PROV defined as 'custom'
2017-02-08 20:35:47.683430 [info] VPN_REMOTE defined as 'us13.nordvpn.com'
2017-02-08 20:35:47.734997 [info] VPN_PORT defined as '1194'
2017-02-08 20:35:47.797310 [info] VPN_PROTOCOL defined as 'udp'
2017-02-08 20:35:47.862865 [info] LAN_NETWORK defined as '192.168.1.0/24'
2017-02-08 20:35:47.925264 [info] NAME_SERVERS defined as '8.8.8.8,37.235.1.174,8.8.4.4,37.235.1.177'
2017-02-08 20:35:47.991464 [info] VPN_USER defined as 'xxxxx'
2017-02-08 20:35:48.058654 [info] VPN_PASS defined as 'yyyyy'
2017-02-08 20:35:48.112868 [info] VPN_DEVICE_TYPE defined as 'tun'
2017-02-08 20:35:48.183210 [info] STRONG_CERTS defined as 'no'
2017-02-08 20:35:48.242644 [info] ENABLE_PRIVOXY defined as 'no'
2017-02-08 20:35:48.306195 [info] Setting permissions on files/folders inside container...
2017-02-08 20:35:48,854 CRIT Set uid to user 0
2017-02-08 20:35:48,854 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2017-02-08 20:35:48,860 INFO supervisord started with pid 7
2017-02-08 20:35:49,863 INFO spawned: 'checkproc-script' with pid 104
2017-02-08 20:35:49,867 INFO spawned: 'start-script' with pid 105
2017-02-08 20:35:49,870 INFO spawned: 'deluge-script' with pid 106
2017-02-08 20:35:49,872 INFO spawned: 'deluge-web-script' with pid 107
2017-02-08 20:35:49,875 INFO spawned: 'privoxy-script' with pid 108
2017-02-08 20:35:49,884 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2017-02-08 20:35:49,884 INFO success: checkproc-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-08 20:35:49,884 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-08 20:35:49,885 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-08 20:35:49,885 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-08 20:35:49,885 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-08 20:35:49,886 DEBG 'deluge-script' stdout output:
[info] Deluge config file already exists, skipping copy
[info] VPN is enabled, checking VPN tunnel local ip is valid

2017-02-08 20:35:49,889 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2017-02-08 20:35:49,890 DEBG fd 27 closed, stopped monitoring <POutputDispatcher at 47835709196408 for <Subprocess at 47835709959488 with name privoxy-script in state RUNNING> (stdout)>
2017-02-08 20:35:49,890 DEBG fd 31 closed, stopped monitoring <POutputDispatcher at 47835709196264 for <Subprocess at 47835709959488 with name privoxy-script in state RUNNING> (stderr)>
2017-02-08 20:35:49,890 INFO exited: privoxy-script (exit status 0; expected)
2017-02-08 20:35:49,891 DEBG received SIGCLD indicating a child quit
2017-02-08 20:35:49,898 DEBG 'start-script' stdout output:
[crit] Missing OpenVPN configuration file in /config/openvpn/ (no files with an ovpn extension exist) please create and restart delugevpn

2017-02-08 20:35:49,898 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 47835709959920 for <Subprocess at 47835709958408 with name start-script in state RUNNING> (stderr)>
2017-02-08 20:35:49,898 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 47835709959848 for <Subprocess at 47835709958408 with name start-script in state RUNNING> (stdout)>
2017-02-08 20:35:49,899 INFO exited: start-script (exit status 1; not expected)
2017-02-08 20:35:49,899 DEBG received SIGCLD indicating a child quit

Posted

I apologize if this isn't the right place to ask, but does anyone have filebot AMC working with this?

If so would you mind telling me how you did it?

 

I'm looking to use my server for my downloading and reanaming... Currently I'm using a seperate pc running Utorrent with a really specific set up for Filebot AMC that I love (I am aware there are other renames on Unraid, but I'd prefer to stick with Filebot if possible). On Windows filebot amc is  integrated right into the torrent program that's why I'm posting here since I'd imagine it would be on Unraid too.

I came from windows + utorrent with some customised scripts that worked very well to do my renaming and sorting.

Nearly just created a windows VM and recreated my setup.

 

However when I moved to unraid I swallowed a bitter pill and started from scratch using Couchpotato (for movies) + Sickrage (for TV) + Jackett + DelugeVPN.

Was worth it in the end, particularly for easily searching + adding new content.

 

Posted

I'm having a similar problem to some other people I've read, but scanning through 20-30 pages of this thread I haven't been able to find a solution that works for me.

 

I can't access the WebUI from my LAN (haven't tested from outside the network yet). When I have VPN set to disabled, everything works fine. Once I enable it though I can't get in to the WebUI. I'm positive my user name and password is correct. I use NordVPN for my provider.

 

Note: I am VERY new to this, all I've done is configure unRAID, install and configure PLEX, install and configure OpenVPN (for remote access to the server), and now installed Deluge. I tried turning off the OpenVPN docker just to be sure something wasn't interfering, no change though.

 

I tried port 1198 default, and 1194 which I found in a NordVPN DD-WRT setup guide on their website. Not sure what else to do. I just followed a YouTube video from "Spaceinvader One" and it just all works first try in the video, so I'm not sure what I'm doing wrong. I haven't done anything else, just loaded the docker from the Community Applications, then did the basic configuration following the video, very simple stuff.

 

This is from the supervisord.log, but I'm not even sure if I'm pulling the right thing. Hopefully this is what is needed, I'd really appreciate some help, thanks!

 

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

2017-02-08 20:35:47.218690 [info] Host is running unRAID
2017-02-08 20:35:47.265224 [info] System information Linux e44db2804ff2 4.9.7-unRAID #1 SMP PREEMPT Thu Feb 2 12:39:28 PST 2017 x86_64 GNU/Linux
2017-02-08 20:35:47.329423 [info] PUID defined as '99'
2017-02-08 20:35:47.399671 [info] PGID defined as '100'
2017-02-08 20:35:47.497477 [info] Permissions already set for volume mappings
2017-02-08 20:35:47.563487 [info] VPN_ENABLED defined as 'yes'
2017-02-08 20:35:47.614226 [info] VPN_PROV defined as 'custom'
2017-02-08 20:35:47.683430 [info] VPN_REMOTE defined as 'us13.nordvpn.com'
2017-02-08 20:35:47.734997 [info] VPN_PORT defined as '1194'
2017-02-08 20:35:47.797310 [info] VPN_PROTOCOL defined as 'udp'
2017-02-08 20:35:47.862865 [info] LAN_NETWORK defined as '192.168.1.0/24'
2017-02-08 20:35:47.925264 [info] NAME_SERVERS defined as '8.8.8.8,37.235.1.174,8.8.4.4,37.235.1.177'
2017-02-08 20:35:47.991464 [info] VPN_USER defined as 'xxxxx'
2017-02-08 20:35:48.058654 [info] VPN_PASS defined as 'yyyyy'
2017-02-08 20:35:48.112868 [info] VPN_DEVICE_TYPE defined as 'tun'
2017-02-08 20:35:48.183210 [info] STRONG_CERTS defined as 'no'
2017-02-08 20:35:48.242644 [info] ENABLE_PRIVOXY defined as 'no'
2017-02-08 20:35:48.306195 [info] Setting permissions on files/folders inside container...
2017-02-08 20:35:48,854 CRIT Set uid to user 0
2017-02-08 20:35:48,854 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2017-02-08 20:35:48,860 INFO supervisord started with pid 7
2017-02-08 20:35:49,863 INFO spawned: 'checkproc-script' with pid 104
2017-02-08 20:35:49,867 INFO spawned: 'start-script' with pid 105
2017-02-08 20:35:49,870 INFO spawned: 'deluge-script' with pid 106
2017-02-08 20:35:49,872 INFO spawned: 'deluge-web-script' with pid 107
2017-02-08 20:35:49,875 INFO spawned: 'privoxy-script' with pid 108
2017-02-08 20:35:49,884 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2017-02-08 20:35:49,884 INFO success: checkproc-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-08 20:35:49,884 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-08 20:35:49,885 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-08 20:35:49,885 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-08 20:35:49,885 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-08 20:35:49,886 DEBG 'deluge-script' stdout output:
[info] Deluge config file already exists, skipping copy
[info] VPN is enabled, checking VPN tunnel local ip is valid

2017-02-08 20:35:49,889 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2017-02-08 20:35:49,890 DEBG fd 27 closed, stopped monitoring <POutputDispatcher at 47835709196408 for <Subprocess at 47835709959488 with name privoxy-script in state RUNNING> (stdout)>
2017-02-08 20:35:49,890 DEBG fd 31 closed, stopped monitoring <POutputDispatcher at 47835709196264 for <Subprocess at 47835709959488 with name privoxy-script in state RUNNING> (stderr)>
2017-02-08 20:35:49,890 INFO exited: privoxy-script (exit status 0; expected)
2017-02-08 20:35:49,891 DEBG received SIGCLD indicating a child quit
2017-02-08 20:35:49,898 DEBG 'start-script' stdout output:
[crit] Missing OpenVPN configuration file in /config/openvpn/ (no files with an ovpn extension exist) please create and restart delugevpn

2017-02-08 20:35:49,898 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 47835709959920 for <Subprocess at 47835709958408 with name start-script in state RUNNING> (stderr)>
2017-02-08 20:35:49,898 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 47835709959848 for <Subprocess at 47835709958408 with name start-script in state RUNNING> (stdout)>
2017-02-08 20:35:49,899 INFO exited: start-script (exit status 1; not expected)
2017-02-08 20:35:49,899 DEBG received SIGCLD indicating a child quit

Read the log, pay attention to the line starting with [crit]

 

Sent from my SM-G900F using Tapatalk

 

 

Posted

I'm having a similar problem to some other people I've read, but scanning through 20-30 pages of this thread I haven't been able to find a solution that works for me.

 

I can't access the WebUI from my LAN (haven't tested from outside the network yet). When I have VPN set to disabled, everything works fine. Once I enable it though I can't get in to the WebUI. I'm positive my user name and password is correct. I use NordVPN for my provider.

 

Note: I am VERY new to this, all I've done is configure unRAID, install and configure PLEX, install and configure OpenVPN (for remote access to the server), and now installed Deluge. I tried turning off the OpenVPN docker just to be sure something wasn't interfering, no change though.

 

I tried port 1198 default, and 1194 which I found in a NordVPN DD-WRT setup guide on their website. Not sure what else to do. I just followed a YouTube video from "Spaceinvader One" and it just all works first try in the video, so I'm not sure what I'm doing wrong. I haven't done anything else, just loaded the docker from the Community Applications, then did the basic configuration following the video, very simple stuff.

 

This is from the supervisord.log, but I'm not even sure if I'm pulling the right thing. Hopefully this is what is needed, I'd really appreciate some help, thanks!

 

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

2017-02-08 20:35:47.218690 [info] Host is running unRAID
2017-02-08 20:35:47.265224 [info] System information Linux e44db2804ff2 4.9.7-unRAID #1 SMP PREEMPT Thu Feb 2 12:39:28 PST 2017 x86_64 GNU/Linux
2017-02-08 20:35:47.329423 [info] PUID defined as '99'
2017-02-08 20:35:47.399671 [info] PGID defined as '100'
2017-02-08 20:35:47.497477 [info] Permissions already set for volume mappings
2017-02-08 20:35:47.563487 [info] VPN_ENABLED defined as 'yes'
2017-02-08 20:35:47.614226 [info] VPN_PROV defined as 'custom'
2017-02-08 20:35:47.683430 [info] VPN_REMOTE defined as 'us13.nordvpn.com'
2017-02-08 20:35:47.734997 [info] VPN_PORT defined as '1194'
2017-02-08 20:35:47.797310 [info] VPN_PROTOCOL defined as 'udp'
2017-02-08 20:35:47.862865 [info] LAN_NETWORK defined as '192.168.1.0/24'
2017-02-08 20:35:47.925264 [info] NAME_SERVERS defined as '8.8.8.8,37.235.1.174,8.8.4.4,37.235.1.177'
2017-02-08 20:35:47.991464 [info] VPN_USER defined as 'xxxxx'
2017-02-08 20:35:48.058654 [info] VPN_PASS defined as 'yyyyy'
2017-02-08 20:35:48.112868 [info] VPN_DEVICE_TYPE defined as 'tun'
2017-02-08 20:35:48.183210 [info] STRONG_CERTS defined as 'no'
2017-02-08 20:35:48.242644 [info] ENABLE_PRIVOXY defined as 'no'
2017-02-08 20:35:48.306195 [info] Setting permissions on files/folders inside container...
2017-02-08 20:35:48,854 CRIT Set uid to user 0
2017-02-08 20:35:48,854 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2017-02-08 20:35:48,860 INFO supervisord started with pid 7
2017-02-08 20:35:49,863 INFO spawned: 'checkproc-script' with pid 104
2017-02-08 20:35:49,867 INFO spawned: 'start-script' with pid 105
2017-02-08 20:35:49,870 INFO spawned: 'deluge-script' with pid 106
2017-02-08 20:35:49,872 INFO spawned: 'deluge-web-script' with pid 107
2017-02-08 20:35:49,875 INFO spawned: 'privoxy-script' with pid 108
2017-02-08 20:35:49,884 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2017-02-08 20:35:49,884 INFO success: checkproc-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-08 20:35:49,884 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-08 20:35:49,885 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-08 20:35:49,885 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-08 20:35:49,885 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-08 20:35:49,886 DEBG 'deluge-script' stdout output:
[info] Deluge config file already exists, skipping copy
[info] VPN is enabled, checking VPN tunnel local ip is valid

2017-02-08 20:35:49,889 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2017-02-08 20:35:49,890 DEBG fd 27 closed, stopped monitoring <POutputDispatcher at 47835709196408 for <Subprocess at 47835709959488 with name privoxy-script in state RUNNING> (stdout)>
2017-02-08 20:35:49,890 DEBG fd 31 closed, stopped monitoring <POutputDispatcher at 47835709196264 for <Subprocess at 47835709959488 with name privoxy-script in state RUNNING> (stderr)>
2017-02-08 20:35:49,890 INFO exited: privoxy-script (exit status 0; expected)
2017-02-08 20:35:49,891 DEBG received SIGCLD indicating a child quit
2017-02-08 20:35:49,898 DEBG 'start-script' stdout output:
[crit] Missing OpenVPN configuration file in /config/openvpn/ (no files with an ovpn extension exist) please create and restart delugevpn

2017-02-08 20:35:49,898 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 47835709959920 for <Subprocess at 47835709958408 with name start-script in state RUNNING> (stderr)>
2017-02-08 20:35:49,898 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 47835709959848 for <Subprocess at 47835709958408 with name start-script in state RUNNING> (stdout)>
2017-02-08 20:35:49,899 INFO exited: start-script (exit status 1; not expected)
2017-02-08 20:35:49,899 DEBG received SIGCLD indicating a child quit

Read the log, pay attention to the line starting with [crit]

 

Sent from my SM-G900F using Tapatalk

 

 

[crit] Missing OpenVPN configuration file in /config/openvpn/ (no files with an ovpn extension exist) please create and restart delugevpn
Posted

Thank you for the responses, not sure how I missed that. Guess I was looking everywhere else except at the obvious error message. I found the file from NordVPN and then changed my port to 1194 and everything is working now. Thanks!

Posted

Hi all,

 

My torrents don't transfer from incomplete folder where my download go, to the completed folder where downloads go when they are done.

 

Here is the error it generates. Any help fixing this would be appreciated.

 

2017-02-09 05:41:12,328 DEBG 'deluge-script' stderr output:
Unhandled Error

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/main.py", line 238, in start_daemon
Daemon(options, args)
File "/usr/lib/python2.7/site-packages/deluge/core/daemon.py", line 177, in __init__
reactor.run()
File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 1199, in run
self.mainLoop()
File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 1208, in mainLoop
self.runUntilCurrent()
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 828, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/usr/lib/python2.7/site-packages/deluge/core/torrentmanager.py", line 949, in on_alert_torrent_finished
torrent.move_storage(torrent.options["move_completed_path"])
File "/usr/lib/python2.7/site-packages/deluge/core/torrent.py", line 913, in move_storage
self.torrent_id, dest, ex)
exceptions.NameError: global name 'ex' is not defined

Posted

I apologize if this isn't the right place to ask, but does anyone have filebot AMC working with this?

If so would you mind telling me how you did it?

 

I'm looking to use my server for my downloading and reanaming... Currently I'm using a seperate pc running Utorrent with a really specific set up for Filebot AMC that I love (I am aware there are other renames on Unraid, but I'd prefer to stick with Filebot if possible). On Windows filebot amc is  integrated right into the torrent program that's why I'm posting here since I'd imagine it would be on Unraid too.

 

I configured Deluge to run a script once I've reached a ratio of 2.0.  That script moves the files from the deluge downloaded directory to the filebot docker watch directory.  Pretty simple.  I'm not at home to post the script but it's basically one line.

Posted

I apologize if this isn't the right place to ask, but does anyone have filebot AMC working with this?

If so would you mind telling me how you did it?

 

I'm looking to use my server for my downloading and reanaming... Currently I'm using a seperate pc running Utorrent with a really specific set up for Filebot AMC that I love (I am aware there are other renames on Unraid, but I'd prefer to stick with Filebot if possible). On Windows filebot amc is  integrated right into the torrent program that's why I'm posting here since I'd imagine it would be on Unraid too.

 

I configured Deluge to run a script once I've reached a ratio of 2.0.  That script moves the files from the deluge downloaded directory to the filebot docker watch directory.  Pretty simple.  I'm not at home to post the script but it's basically one line.

 

Hey great.  If you wouldn't mind could you tell me pretty much your whole filebot set up?  Are you using the Phaze plug in or are you using a Docker?  I just tried the Phaze plugin and have no idea how to even set the watch folder let alone tell it what I want my parameters to be - I can't make heads or tails of it. 

I think I could easily make a watched folder work for my purposes on Unraid.  It'd basically be the same thing as AMC.

Posted

Hey great.  If you wouldn't mind could you tell me pretty much your whole filebot set up?  Are you using the Phaze plug in or are you using a Docker?  I just tried the Phaze plugin and have no idea how to even set the watch folder let alone tell it what I want my parameters to be - I can't make heads or tails of it. 

I think I could easily make a watched folder work for my purposes on Unraid.  It'd basically be the same thing as AMC.

 

I use showrss.info to get new TV episodes through deluge`s YaRSS2 plugin.

 

Then the execute plugin in deluge runs this script on the "torrent removed" event:

#!/bin/bash
torrentid=$1
torrentname=$2
torrentpath=$3
mv "$torrentpath/$torrentname" /removed/.
echo "`date` - $torrentpath/$torrentname" >> /config/script/move_removed.log

 

I added the mapping of "/removed" in the delugeVPN docker.  It points to my filebot watched directory.

 

I use the coppit filebot container and the /input is mapped to the same directory as /removed above.

/output is mapped to "/mnt/cache"

 

I customised my filebot.sh to sort kids and "normal" movies and TV series and deal with multilingual subtitles.  I think the log output is also modified.  Filebot doesn't truncate it's logs ever and I like to have easy access to them anyway.  Sometimes I loose files because it takes odd choices picking names

#!/bin/bash

# This script by default uses "Automated Media Center" (AMC). See the final filebot call below. For more docs on AMC,
# visit: http://www.filebot.net/forums/viewtopic.php?t=215

#-----------------------------------------------------------------------------------------------------------------------

# Specify the URLs of any scripts that you need. They will be downloaded into /config/scripts
SCRIPTS_TO_DOWNLOAD=(
# Example:
# https://raw.githubusercontent.com/filebot/scripts/devel/cleaner.groovy
)

#-----------------------------------------------------------------------------------------------------------------------

QUOTE_FIXER='replaceAll(/[\`\u00b4\u2018\u2019\u02bb]/, "'"'"'").replaceAll(/[\u201c\u201d]/, '"'"'""'"'"')'

MUSIC_FORMAT="music/{n.$QUOTE_FIXER}/{album.$QUOTE_FIXER}/{media.TrackPosition.pad(2)} - {t.$QUOTE_FIXER}"

MOVIE_FORMAT="{genres.contains('Family') ? 'kids/movies/' : 'movies/'}{n.$QUOTE_FIXER} [{y}] {' CD'+pi}"

SERIES_FORMAT="{genres.contains('Family') ? 'kids/tv/' : 'tv/'}{n}/{n} - {episode.special ? 's00e'+special.pad(2) : s00e00.lower()} - {t.${QUOTE_FIXER}.replaceAll(/[!?.]+$/).replacePart(', Part $1')}{'.'+lang}"

. /files/FileBot.conf

if [ "$SUBTITLE_LANG" == "" ];then
  SUBTITLE_OPTION=""
else
  SUBTITLE_OPTION="subtitles=$SUBTITLE_LANG"
fi

#-----------------------------------------------------------------------------------------------------------------------

# Used to detect old versions of this script
VERSION=3

# Download scripts and such.
. /files/pre-run.sh

# See http://www.filebot.net/forums/viewtopic.php?t=215 for details on amc
filebot -script fn:amc -no-xattr --def minLengthMS=0 --def minFileSize=1000 --output /output --log-file /config/amc.log --action move --conflict auto \
  -non-strict --def ut_dir=/input ut_kind=multi music=y deleteAfterExtract=y clean=y \
  excludeList=/config/amc-exclude-list.txt $SUBTITLE_OPTION \
  movieFormat="$MOVIE_FORMAT" musicFormat="$MUSIC_FORMAT" seriesFormat="$SERIES_FORMAT"

 

And finally, filebot.conf, again with bilingual subtitles:

# If we don't see any events for $SETTLE_DURATION time, assume that it's safe to run FileBot. Format is HH:MM:SS,
# with HH and MM optional.
SETTLE_DURATION=10

# However, if we see a stream of changes for longer than $MAX_WAIT_TIME with no break of $SETTLE_DURATION or more, then
# go ahead and run FileBot. Otherwise we might be waiting forever for the directory to stop changing. Format is
# HH:MM:SS, with HH and MM optional.
MAX_WAIT_TIME=01:00

# After running FileBot, wait at least this long before running it again, even if $SETTLE_DURATION time has passed
# after change. This controls the maximum frequency of FileBot.
MIN_PERIOD=01:00

# Set this to 1 to log all events, for debugging purposes. WARNING! This creates copious amounts of confusing logging!
DEBUG=0

# Create an account at http://www.opensubtitles.org/ if you want to download subtitles
OPENSUBTITLES_USER="XXXXXXXX"
OPENSUBTITLES_PASSWORD="XXXXXXXX"

# Set this to a language code if you want to download subtitles. e.g. Use "en" for english
SUBTITLE_LANG="en,fr"

 

Have fun

 

Posted

Hi all,

 

My torrents don't transfer from incomplete folder where my download go, to the completed folder where downloads go when they are done.

 

2017-02-09 05:41:12,328 DEBG 'deluge-script' stderr output:

File "/usr/lib/python2.7/site-packages/deluge/core/torrentmanager.py", line 949, in on_alert_torrent_finished
torrent.move_storage(torrent.options["move_completed_path"])
File "/usr/lib/python2.7/site-packages/deluge/core/torrent.py", line 913, in move_storage
self.torrent_id, dest, ex)
exceptions.NameError: global name 'ex' is not defined

 

It looks like the destination for the completed files is not defined.  The logs only show the variable name, not it's content, what path did you tell it to move the files to?

 

Is the completed destination path "known" inside the docker?  Do you have a mapping defined for it in the docker settings? 

Posted

 

I added the mapping of "/removed" in the delugeVPN docker.  It points to my filebot watched directory.

 

I use the coppit filebot container and the /input is mapped to the same directory as /removed above.

/output is mapped to "/mnt/cache"

 

Thanks a ton! Quick follow up, which may be silly. With your output for filebot being set to "/mnt/cache" - i imagine that means mover will move it to the array automatically for whenever you have it scheduled to run?  My download share is set to cache only and the filebot input folder will be pointed at a folder in there. But as long as my filebot is pointing to my media share (which is not cache only) and the output for filebot is to mnt/cache I imagine mover will place it on the array in the correct place each night right?

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.

×
×
  • Create New...