[ARCHIVE] binhex docker repository


Recommended Posts

Thank you binhex. All of us here know that this work is completely voluntary. Thank you for spending time and helping this community immensely. If you have not already please consider opening a PayPal donation account. I and expect many others here would be happy to pay for a coffee or a beer to appreciate your time and effort.

 

i appreciate that, and thankyou all for showing your support in the thread, i may at some point get a donate link added to the OP, probably when i get a few mins away from coding :-).

 

ok so onto sabnzbdvpn, ive given this a quick spin and it looks like its starting up ok now, please can you give it a go (make sure you update) and let me know how you get on, i havent been able to fully test it as i dont currently have a usenet subscription so i will rely on you guys to tell me if its working or not.

Link to comment

Were the DelugeVpn API ports ever opened up?  I'm hoping to interface it with flexget, and switch out of having to use a VM, but I can't do that until those API ports open up.

 

hi bmfrosty, i have had 3 swings at this so far and none of them have been successful, im going to have to start getting low level on this problem and crack open wireshark to see where the issue is as i just cannot punch a hole through iptables yet :-(. i will have a look at lunchtime tomorrow and see how far i get, i do want to get to the bottom of this.

Link to comment

Binhex, delugevpn working now. I am getting errors on sabnzbvpn docker. It seemed to be related to sabnzb.ini permission issues and other related python errors. I can get the logs for you if needed, I am traveling today-tomorrow and was trying this while waiting at the airport.

Were the DelugeVpn API ports ever opened up?  I'm hoping to interface it with flexget, and switch out of having to use a VM, but I can't do that until those API ports open up.

 

hi bmfrosty, i have had 3 swings at this so far and none of them have been successful, im going to have to start getting low level on this problem and crack open wireshark to see where the issue is as i just cannot punch a hole through iptables yet :-(. i will have a look at lunchtime tomorrow and see how far i get, i do want to get to the bottom of this.

 

Link to comment

Just installed the binhex version of nzbget.  Seeing this:

 

Kind Time Text

ERROR Sat Mar 07 2015 21:05:01 Unpack for The 100 S02E15 HDTV x264-KILLERS failed

ERROR Sat Mar 07 2015 21:05:01 Unrar: Could not start unrar: No such file or directory

ERROR Sat Mar 07 2015 21:04:56 Unpack for Vikings.S03E03.REPACK.HDTV.x264-2HD failed

ERROR Sat Mar 07 2015 21:04:56 Unrar: Could not start unrar: No such file or directory

 

I copied in some older config.  Double-checking that I didn't mess anything up.

 

EDIT:  Nope.  no unrar or rar executable.  Or 7z for that matter:

 

[root@fba08df134e4 /]# find . -executable -name rar

[root@fba08df134e4 /]# find . -executable -name unrar

[root@fba08df134e4 /]#

 

thanks for the info bmfrosty, as you might be able to tell this is one of the few docker images i have created which i dont actually use :-). ive now included both unzip and unrar to the image, plsu 14.2 has just been released on the official arch repo, so this is also now included, go grab it :-).

@binhex

Phenomenal work keeping these docker apps up to date.  Your contributions to the community are greatly appreciated!

 

I recently installed your nzbget docker app and it is working quite well with the exception of a few popular addon scripts.  It seems all of the nzbget scripts are python2 compatible but many are not compatible with python3.  I've executed "ln -sf /usr/bin/python2 /usr/bin/python" within the docker app so python2 is used by default.  This has corrected all of the nzbget plugin errors I was receiving.  I'm sure others have experienced issues with addons so this might be worth a global add.

root@unRAID:~# docker exec -it binhex-nzbget /bin/bash
[root@1c6358a5a5ca /]# ls -l /usr/bin/python
lrwxrwxrwx 1 root root 7 Feb 26 10:25 python -> python3
[root@1c6358a5a5ca /]# ls -l /usr/bin/python2
lrwxrwxrwx 1 root root 9 Dec 10 23:51 python2 -> python2.7
[root@1c6358a5a5ca /]# ln -sf /usr/bin/python2 /usr/bin/python
[root@1c6358a5a5ca /]# ls -l /usr/bin/python
lrwxrwxrwx 1 root root 7 May  7 11:50 python -> python2

Link to comment

Thank you for these amazing dockers! Using Plex and DelugeVNP on the latest 6.0 B15 (updated both dockers this morning without any issue!).

 

I have been struggling with getting a FileBot script to to run using the native DelugeVPN execute plugin. I can run the FB script manually OK, but the execute plugin does not seem to fire after the download is complete. I have triple checked my paths and permissions.

 

Any suggestions?

 

Cheers,

 

BR

 

Doh! I'm such a noob....

It just dawned on me that any external UnRaid plugin like FileBot, could never inter-operate with DelugeVPN INSIDE a docker container! -or vise-versa.

The FileBot scripts and code would need to be inside the container with Deluge....

 

So now I'll be checking out the Deluge plugin + Open VPN plugin + FileBot plugin....

 

Cheers,

 

BR

 

 

 

 

Link to comment

binhex - still having problems with sabnzbdvpn. I have copied the logs below, can you please see whether this could be fixed?

 

2015-05-08 01:01:13,264 CRIT Set uid to user 0
2015-05-08 01:01:13,283 WARN Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2015-05-08 01:01:13,285 INFO supervisord started with pid 1
2015-05-08 01:01:14,286 INFO spawned: 'start' with pid 7
2015-05-08 01:01:14,287 INFO spawned: 'sabnzbd' with pid 8
2015-05-08 01:01:14,296 DEBG 'start' stdout output:
[info] VPN provider defined as pia

2015-05-08 01:01:14,296 INFO success: start entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2015-05-08 01:01:14,311 DEBG 'start' stdout output:
[info] VPN provider remote and port defined as nl.privateinternetaccess.com 1195

2015-05-08 01:01:14,441 DEBG 'start' stderr output:
RTNETLINK answers: File exists

2015-05-08 01:01:14,446 DEBG 'start' stderr output:
RTNETLINK answers: File exists

2015-05-08 01:01:14,448 DEBG 'start' stdout output:
[info] ip route

2015-05-08 01:01:14,448 DEBG 'start' stdout output:
default via 172.17.42.1 dev eth0 
8.8.4.4 via 172.17.42.1 dev eth0 
8.8.8.8 via 172.17.42.1 dev eth0 
46.166.0.0/16 via 172.17.42.1 dev eth0 
109.201.0.0/16 via 172.17.42.1 dev eth0 

2015-05-08 01:01:14,448 DEBG 'start' stdout output:
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.25 

2015-05-08 01:01:14,448 DEBG 'start' stdout output:
--------------------

2015-05-08 01:01:14,472 DEBG 'start' stdout output:
[info] iptables

2015-05-08 01:01:14,473 DEBG 'start' stdout output:
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1195 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8090 -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 -o eth0 -p udp -m udp --dport 1195 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -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

2015-05-08 01:01:14,473 DEBG 'start' stdout output:
--------------------

2015-05-08 01:01:14,473 DEBG 'start' stdout output:
[info] nameservers

2015-05-08 01:01:14,473 DEBG 'start' stdout output:
nameserver 8.8.8.8
nameserver 8.8.4.4

2015-05-08 01:01:14,473 DEBG 'start' stdout output:
--------------------

2015-05-08 01:01:14,473 DEBG 'start' stdout output:
[info] Starting OpenVPN...

2015-05-08 01:01:14,489 DEBG 'start' stdout output:
Fri May 8 01:01:14 2015 OpenVPN 2.3.6 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on Dec 2 2014
Fri May 8 01:01:14 2015 library versions: OpenSSL 1.0.2 22 Jan 2015, LZO 2.09
Fri May 8 01:01:14 2015 WARNING: file 'credentials.conf' is group or others accessible

2015-05-08 01:01:14,544 DEBG 'start' stdout output:
Fri May 8 01:01:14 2015 UDPv4 link local: [undef]
Fri May 8 01:01:14 2015 UDPv4 link remote: [AF_INET]109.201.154.148:1195

2015-05-08 01:01:14,652 DEBG 'start' stdout output:
Fri May 8 01:01:14 2015 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this

2015-05-08 01:01:15,653 INFO success: sabnzbd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-05-08 01:01:15,742 DEBG 'start' stdout output:
Fri May 8 01:01:15 2015 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1542', remote='link-mtu 1506'
Fri May 8 01:01:15 2015 WARNING: 'cipher' is used inconsistently, local='cipher BF-CBC', remote='cipher [null-cipher]'
Fri May 8 01:01:15 2015 WARNING: 'auth' is used inconsistently, local='auth SHA1', remote='auth [null-digest]'
Fri May 8 01:01:15 2015 WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 0'

2015-05-08 01:01:15,742 DEBG 'start' stdout output:
Fri May 8 01:01:15 2015 [Private Internet Access] Peer Connection Initiated with [AF_INET]109.201.154.148:1195

2015-05-08 01:01:18,323 DEBG 'start' stdout output:
Fri May 8 01:01:18 2015 TUN/TAP device tun0 opened
Fri May 8 01:01:18 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Fri May 8 01:01:18 2015 /usr/bin/ip link set dev tun0 up mtu 1500

2015-05-08 01:01:18,324 DEBG 'start' stdout output:
Fri May 8 01:01:18 2015 /usr/bin/ip addr add dev tun0 local 10.100.3.6 peer 10.100.3.5

2015-05-08 01:01:18,326 DEBG 'start' stdout output:
Fri May 8 01:01:18 2015 Initialization Sequence Completed

2015-05-08 01:01:18,341 DEBG 'sabnzbd' stdout output:
[info] Starting SABnzbd...

2015-05-08 01:01:19,045 DEBG 'sabnzbd' stderr output:
Traceback (most recent call last):
File "/opt/sabnzbd/SABnzbd.py", line 1885, in 

2015-05-08 01:01:19,045 DEBG 'sabnzbd' stderr output:
main()
File "/opt/sabnzbd/SABnzbd.py", line 1090, in main

2015-05-08 01:01:19,045 DEBG 'sabnzbd' stderr output:
res, msg = config.read_config(inifile)
File "/opt/sabnzbd/sabnzbd/decorators.py", line 31, in newFunction
return f(*args, **kw)
File "/opt/sabnzbd/sabnzbd/config.py", line 655, in read_config
return _read_config(path)
File "/opt/sabnzbd/sabnzbd/config.py", line 686, in _read_config

2015-05-08 01:01:19,045 DEBG 'sabnzbd' stderr output:
CFG = configobj.ConfigObj(path)
File "/opt/sabnzbd/sabnzbd/utils/configobj.py", line 1242, in __init__

2015-05-08 01:01:19,046 DEBG 'sabnzbd' stderr output:
self._load(infile, configspec)
File "/opt/sabnzbd/sabnzbd/utils/configobj.py", line 1249, in _load

2015-05-08 01:01:19,046 DEBG 'sabnzbd' stderr output:
h = open(infile, 'rb')
IOError: [Errno 13] Permission denied: '/config/sabnzbd.ini'

2015-05-08 01:01:19,071 DEBG fd 9 closed, stopped monitoring (stdout)>
2015-05-08 01:01:19,071 DEBG fd 14 closed, stopped monitoring (stderr)>
2015-05-08 01:01:19,072 INFO exited: sabnzbd (exit status 1; not expected)
2015-05-08 01:01:19,072 DEBG received SIGCLD indicating a child quit
2015-05-08 01:01:20,073 INFO spawned: 'sabnzbd' with pid 362
2015-05-08 01:01:20,189 DEBG 'sabnzbd' stdout output:
[info] Starting SABnzbd...

2015-05-08 01:01:20,685 DEBG 'sabnzbd' stderr output:
Traceback (most recent call last):
File "/opt/sabnzbd/SABnzbd.py", line 1885, in 

2015-05-08 01:01:20,685 DEBG 'sabnzbd' stderr output:
main()
File "/opt/sabnzbd/SABnzbd.py", line 1090, in main

2015-05-08 01:01:20,685 DEBG 'sabnzbd' stderr output:
res, msg = config.read_config(inifile)
File "/opt/sabnzbd/sabnzbd/decorators.py", line 31, in newFunction
return f(*args, **kw)
File "/opt/sabnzbd/sabnzbd/config.py", line 655, in read_config

2015-05-08 01:01:20,685 DEBG 'sabnzbd' stderr output:
return _read_config(path)
File "/opt/sabnzbd/sabnzbd/config.py", line 686, in _read_config

2015-05-08 01:01:20,686 DEBG 'sabnzbd' stderr output:
CFG = configobj.ConfigObj(path)
File "/opt/sabnzbd/sabnzbd/utils/configobj.py", line 1242, in __init__

2015-05-08 01:01:20,686 DEBG 'sabnzbd' stderr output:
self._load(infile, configspec)
File "/opt/sabnzbd/sabnzbd/utils/configobj.py", line 1249, in _load

2015-05-08 01:01:20,686 DEBG 'sabnzbd' stderr output:
h = open(infile, 'rb')

2015-05-08 01:01:20,686 DEBG 'sabnzbd' stderr output:
IOError: [Errno 13] Permission denied: '/config/sabnzbd.ini'

2015-05-08 01:01:20,708 DEBG fd 9 closed, stopped monitoring (stdout)>
2015-05-08 01:01:20,708 DEBG fd 14 closed, stopped monitoring (stderr)>
2015-05-08 01:01:20,708 INFO exited: sabnzbd (exit status 1; not expected)
2015-05-08 01:01:20,708 DEBG received SIGCLD indicating a child quit
2015-05-08 01:01:21,710 INFO spawned: 'sabnzbd' with pid 378
2015-05-08 01:01:21,826 DEBG 'sabnzbd' stdout output:
[info] Starting SABnzbd...

2015-05-08 01:01:22,307 DEBG 'sabnzbd' stderr output:
Traceback (most recent call last):
File "/opt/sabnzbd/SABnzbd.py", line 1885, in 

2015-05-08 01:01:22,307 DEBG 'sabnzbd' stderr output:
main()
File "/opt/sabnzbd/SABnzbd.py", line 1090, in main

2015-05-08 01:01:22,307 DEBG 'sabnzbd' stderr output:
res, msg = config.read_config(inifile)
File "/opt/sabnzbd/sabnzbd/decorators.py", line 31, in newFunction
return f(*args, **kw)
File "/opt/sabnzbd/sabnzbd/config.py", line 655, in read_config

2015-05-08 01:01:22,307 DEBG 'sabnzbd' stderr output:
return _read_config(path)
File "/opt/sabnzbd/sabnzbd/config.py", line 686, in _read_config

2015-05-08 01:01:22,307 DEBG 'sabnzbd' stderr output:
CFG = configobj.ConfigObj(path)
File "/opt/sabnzbd/sabnzbd/utils/configobj.py", line 1242, in __init__

2015-05-08 01:01:22,308 DEBG 'sabnzbd' stderr output:
self._load(infile, configspec)
File "/opt/sabnzbd/sabnzbd/utils/configobj.py", line 1249, in _load

2015-05-08 01:01:22,308 DEBG 'sabnzbd' stderr output:
h = open(infile, 'rb')

2015-05-08 01:01:22,308 DEBG 'sabnzbd' stderr output:
IOError: [Errno 13] Permission denied: '/config/sabnzbd.ini'

2015-05-08 01:01:22,330 DEBG fd 9 closed, stopped monitoring (stdout)>
2015-05-08 01:01:22,330 DEBG fd 14 closed, stopped monitoring (stderr)>
2015-05-08 01:01:22,330 INFO exited: sabnzbd (exit status 1; not expected)
2015-05-08 01:01:22,330 DEBG received SIGCLD indicating a child quit
2015-05-08 01:01:24,333 INFO spawned: 'sabnzbd' with pid 394
2015-05-08 01:01:24,448 DEBG 'sabnzbd' stdout output:
[info] Starting SABnzbd...

2015-05-08 01:01:24,952 DEBG 'sabnzbd' stderr output:
Traceback (most recent call last):
File "/opt/sabnzbd/SABnzbd.py", line 1885, in 

2015-05-08 01:01:24,952 DEBG 'sabnzbd' stderr output:
main()
File "/opt/sabnzbd/SABnzbd.py", line 1090, in main

2015-05-08 01:01:24,952 DEBG 'sabnzbd' stderr output:
res, msg = config.read_config(inifile)
File "/opt/sabnzbd/sabnzbd/decorators.py", line 31, in newFunction
return f(*args, **kw)
File "/opt/sabnzbd/sabnzbd/config.py", line 655, in read_config

2015-05-08 01:01:24,952 DEBG 'sabnzbd' stderr output:
return _read_config(path)
File "/opt/sabnzbd/sabnzbd/config.py", line 686, in _read_config

2015-05-08 01:01:24,952 DEBG 'sabnzbd' stderr output:
CFG = configobj.ConfigObj(path)
File "/opt/sabnzbd/sabnzbd/utils/configobj.py", line 1242, in __init__

2015-05-08 01:01:24,952 DEBG 'sabnzbd' stderr output:
self._load(infile, configspec)
File "/opt/sabnzbd/sabnzbd/utils/configobj.py", line 1249, in _load

2015-05-08 01:01:24,952 DEBG 'sabnzbd' stderr output:
h = open(infile, 'rb')
IOError: [Errno 13] Permission denied: '/config/sabnzbd.ini'

2015-05-08 01:01:24,975 DEBG fd 9 closed, stopped monitoring (stdout)>
2015-05-08 01:01:24,975 DEBG fd 14 closed, stopped monitoring (stderr)>
2015-05-08 01:01:24,975 INFO exited: sabnzbd (exit status 1; not expected)
2015-05-08 01:01:24,975 DEBG received SIGCLD indicating a child quit
2015-05-08 01:01:27,979 INFO spawned: 'sabnzbd' with pid 410
2015-05-08 01:01:28,095 DEBG 'sabnzbd' stdout output:
[info] Starting SABnzbd...

2015-05-08 01:01:28,314 DEBG 'start' stdout output:
Fri May 8 01:01:28 2015 Authenticate/Decrypt packet error: packet HMAC authentication failed

2015-05-08 01:01:28,594 DEBG 'sabnzbd' stderr output:
Traceback (most recent call last):
File "/opt/sabnzbd/SABnzbd.py", line 1885, in 

2015-05-08 01:01:28,594 DEBG 'sabnzbd' stderr output:
main()
File "/opt/sabnzbd/SABnzbd.py", line 1090, in main

2015-05-08 01:01:28,594 DEBG 'sabnzbd' stderr output:
res, msg = config.read_config(inifile)
File "/opt/sabnzbd/sabnzbd/decorators.py", line 31, in newFunction

2015-05-08 01:01:28,595 DEBG 'sabnzbd' stderr output:
return f(*args, **kw)
File "/opt/sabnzbd/sabnzbd/config.py", line 655, in read_config
return _read_config(path)
File "/opt/sabnzbd/sabnzbd/config.py", line 686, in _read_config

2015-05-08 01:01:28,595 DEBG 'sabnzbd' stderr output:
CFG = configobj.ConfigObj(path)
File "/opt/sabnzbd/sabnzbd/utils/configobj.py", line 1242, in __init__

2015-05-08 01:01:28,595 DEBG 'sabnzbd' stderr output:
self._load(infile, configspec)
File "/opt/sabnzbd/sabnzbd/utils/configobj.py", line 1249, in _load

2015-05-08 01:01:28,595 DEBG 'sabnzbd' stderr output:
h = open(infile, 'rb')

2015-05-08 01:01:28,595 DEBG 'sabnzbd' stderr output:
IOError: [Errno 13] Permission denied: '/config/sabnzbd.ini'

2015-05-08 01:01:28,618 DEBG fd 9 closed, stopped monitoring (stdout)>
2015-05-08 01:01:28,618 DEBG fd 14 closed, stopped monitoring (stderr)>
2015-05-08 01:01:28,618 INFO exited: sabnzbd (exit status 1; not expected)
2015-05-08 01:01:28,618 DEBG received SIGCLD indicating a child quit
2015-05-08 01:01:29,619 INFO gave up: sabnzbd entered FATAL state, too many start retries too quickly
2015-05-08 01:01:38,314 DEBG 'start' stdout output:
Fri May 8 01:01:38 2015 Authenticate/Decrypt packet error: packet HMAC authentication failed

2015-05-08 01:01:48,332 DEBG 'start' stdout output:

 

Thank you binhex. All of us here know that this work is completely voluntary. Thank you for spending time and helping this community immensely. If you have not already please consider opening a PayPal donation account. I and expect many others here would be happy to pay for a coffee or a beer to appreciate your time and effort.

 

i appreciate that, and thankyou all for showing your support in the thread, i may at some point get a donate link added to the OP, probably when i get a few mins away from coding :-).

 

ok so onto sabnzbdvpn, ive given this a quick spin and it looks like its starting up ok now, please can you give it a go (make sure you update) and let me know how you get on, i havent been able to fully test it as i dont currently have a usenet subscription so i will rely on you guys to tell me if its working or not.

Link to comment

Hi htpcnewbie, this is your issue in a nutshell:-

 

2015-05-08 01:01:19,046 DEBG 'sabnzbd' stderr output:
h = open(infile, 'rb')
IOError: [Errno 13] Permission denied: '/config/sabnzbd.ini'

 

so basically the volume mapping your using in your docker is attempting to write to a folder that doesnt have the correct permissions set, basically you need to allow user nobody read and write access to whatever /config maps to on the unraid host.

 

if you ssh into unraid and issue the commands:-

 

chown -R nobody:users <path to your config folder>
chmod -R 775 <path to your config folder>

e.g. chmod -R 775 /mnt/cache/cache-only/config/sabnzbdvpn

 

once done, restart the docker and it should start.

Link to comment

I saw the error previously and tried fixing the permissions but it appears like the file is being created on the fly and has permissions issues. This time, I copied the folder from sabnzbd (working well) to sabnzbdvpn. I did not get permission issue and the good news is the sab gui comes up and all the settings look good. However, no files are being transferred (no download) . I see HMAC authentication error but I do see an IP address obtained from the VPN. The logs show this:

 

2015-05-08 08:43:11,793 DEBG 'sabnzbd' stderr output:
2015-05-08 08:43:11,792::INFO::[downloader:381] [email protected]:563: Initiating connection

2015-05-08 08:43:12,632 DEBG 'sabnzbd' stderr output:
2015-05-08 08:43:12,632::INFO::[rss:509] Starting scheduled RSS read-out for "oznzb"

2015-05-08 08:43:18,733 DEBG 'start' stdout output:
Fri May 8 08:43:18 2015 Authenticate/Decrypt packet error: packet HMAC authentication failed

2015-05-08 08:43:28,948 DEBG 'start' stdout output:
Fri May 8 08:43:28 2015 Authenticate/Decrypt packet error: packet HMAC authentication failed

2015-05-08 08:43:38,778 DEBG 'start' stdout output:
Fri May 8 08:43:38 2015 Authenticate/Decrypt packet error: packet HMAC authentication failed

2015-05-08 08:43:49,110 DEBG 'start' stdout output:
Fri May 8 08:43:49 2015 Authenticate/Decrypt packet error: packet HMAC authentication failed

2015-05-08 08:43:52,343 DEBG 'sabnzbd' stderr output:
2015-05-08 08:43:52,343::INFO::[__init__:1060] Restarting crashed scheduler

 

Within the docker:

root@Tower:/mnt/cache/apps/sabnzbdvpn_docker# docker exec -it binhex-sabnzbdvpn /bin/bash
[root@eb41ceb0488f /]# ls -lrt
total 20
drwxr-xr-x   1 root   root    14 Jul  4  2014 srv
drwxr-xr-x   1 root   root     0 Jul  4  2014 mnt
drwxr-xr-x   1 root   root     0 Jul  4  2014 boot
lrwxrwxrwx   1 root   root     7 Jul  4  2014 sbin -> usr/bin
lrwxrwxrwx   1 root   root     7 Jul  4  2014 lib64 -> usr/lib
lrwxrwxrwx   1 root   root     7 Jul  4  2014 lib -> usr/lib
lrwxrwxrwx   1 root   root     7 Jul  4  2014 bin -> usr/bin
drwxr-xr-x   1 root   root    70 Jul 20  2014 usr
drwxr-xr-x   1 root   root   100 Jul 20  2014 var
drwxr-x---   1 root   root    74 May  6 12:34 root
drwxr-xr-x   1 root   root    18 May  6 12:39 run
drwxr-xr-x   1 root   root    14 May  6 12:42 opt
drwxr-xr-x   1 root   root    12 May  6 12:44 home
drwxrwxrwx   1 nobody users    6 May  8 03:46 data_MOVIES
drwxr-xr-x   1 root   root  1530 May  8 07:49 etc
dr-xr-xr-x 386 root   root     0 May  8 07:59 proc
drwxr-xr-x  12 root   root  4820 May  8 07:59 dev
drwxrwxrwt   1 root   root   296 May  8 07:59 tmp
-rw-r--r--   1 root   root     2 May  8 07:59 supervisord.pid
drwxrwxrwx   1 nobody users  168 May  8 07:59 config
dr-xr-xr-x  13 root   root     0 May  8 08:37 sys
drwxrwxrwx   1 nobody users 2424 May  8 08:43 data_watchnzb
drwxrwxrwx   1 nobody users 2424 May  8 08:43 data

[root@eb41ceb0488f /]# top
  PID USER      PR  NI    VIRT    RES  %CPU %MEM     TIME+ S COMMAND
    1 root      20   0   95.1m  15.7m   0.0  0.1   0:00.44 S supervisord
    7 root      20   0   15.3m   3.2m   0.0  0.0   0:00.01 S  `- start.sh
  106 root      20   0   42.1m   6.0m   0.0  0.0   0:00.08 S      `- openvpn
    8 nobody    20   0   15.3m   3.3m   0.0  0.0   0:00.01 S  `- sabnzbd.sh
  381 nobody    20   0 4361.6m  55.2m   0.7  0.2   0:03.45 S      `- python2
  553 root      20   0   15.4m   3.7m   0.0  0.0   0:00.01 S bash
  558 root      20   0   34.5m   3.3m   0.0  0.0   0:00.00 R  `- top


 

Hi htpcnewbie, this is your issue in a nutshell:-

 

2015-05-08 01:01:19,046 DEBG 'sabnzbd' stderr output:
h = open(infile, 'rb')
IOError: [Errno 13] Permission denied: '/config/sabnzbd.ini'

 

so basically the volume mapping your using in your docker is attempting to write to a folder that doesnt have the correct permissions set, basically you need to allow user nobody read and write access to whatever /config maps to on the unraid host.

 

if you ssh into unraid and issue the commands:-

 

chown -R nobody:users <path to your config folder>
chmod -R 775 <path to your config folder>

e.g. chmod -R 775 /mnt/cache/cache-only/config/sabnzbdvpn

 

once done, restart the docker and it should start.

 

Link to comment

Hi,

 

after reading above posts I was keen to give deluge-vpn a go.

Unfortunately I got this over and over in the supervisord.log file

 

2015-05-11 21:23:38,858 DEBG 'setport' stderr output:
/home/nobody/setport.sh: line 4: netstat: command not found

2015-05-11 21:23:38,864 DEBG 'setip' stderr output:
/home/nobody/setip.sh: line 4: netstat: command not found

2015-05-11 21:23:38,919 DEBG 'webui' stderr output:
/home/nobody/webui.sh: line 4: netstat: command not found

2015-05-11 21:23:38,961 DEBG 'setport' stderr output:
/home/nobody/setport.sh: line 4: netstat: command not found

2015-05-11 21:23:38,967 DEBG 'setip' stderr output:
/home/nobody/setip.sh: line 4: netstat: command not found

2015-05-11 21:23:39,022 DEBG 'webui' stderr output:
/home/nobody/webui.sh: line 4: netstat: command not found

2015-05-11 21:23:39,064 DEBG 'setport' stderr output:
/home/nobody/setport.sh: line 4: netstat: command not found
....

 

is that still the problem mentioned above or did I do anything wrong?

 

EDIT: I logged into the docker and got:

which: no netstat in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)

 

Thanks!

Link to comment

Binhex - When you get a chance, can you please look into the sabnzbdvpn docker which has the HMAC authentication issues? I have copied the logs few posts above this one. The docker is up and running but there is no traffic and from what I suspect, the docker freezes the traffic due to VPN authentication. I have triple checked the VPN user/pass and they are correct.

 

Hi htpcnewbie, this is your issue in a nutshell:-

 

2015-05-08 01:01:19,046 DEBG 'sabnzbd' stderr output:
h = open(infile, 'rb')
IOError: [Errno 13] Permission denied: '/config/sabnzbd.ini'

 

so basically the volume mapping your using in your docker is attempting to write to a folder that doesnt have the correct permissions set, basically you need to allow user nobody read and write access to whatever /config maps to on the unraid host.

 

if you ssh into unraid and issue the commands:-

 

chown -R nobody:users <path to your config folder>
chmod -R 775 <path to your config folder>

e.g. chmod -R 775 /mnt/cache/cache-only/config/sabnzbdvpn

 

once done, restart the docker and it should start.

Link to comment

quick heads up, im having issues with the base image, basically some pgp keys have changed which is causing update issue which then is causing issues with anything using the base image, for now PLEASE DO NOT UPDATE YOUR DOCKER CONTAINERS until i give the ok.

 

cheers guys.

 

 

Link to comment

On Friday I upgraded from Unraid 5 to 6. Everything went pretty smoothly and I was happy to find the delugevpn docker. Thanks!

 

I've got it working with Sonarr, which is great, but is there a way to actually check what IP the VPN is actually reporting? I have the proxy going and checking that was easy and it's working fine.

 

I understand from other posts that Couchpotato doesn't work with delugevpn yet because of IP leaks? I can't get it to connect at all, I assume this is intentional?

 

Also, I haven't been able to get delugevpn to reseed anything I had seeding previously when I had unraid 5.

My movies are in a /mnt/user/Movies/MovieTitle (Year) structure. I have done a volume mapping of /films to /mnt/user/Movies/ so that I can just add the old torrents, as not downloading and paused, with a /films/MovieTitle (Year) path. Deluge turns the icon blue, says Seeding 100%, but the size doesn't report and I've had no upload activity on those re-added torrents at all. I've tried Move Storage in various ways with no success and Force Recheck doesn't seem to do anything at all. If I go to the Files tab (at the bottom) and change the priority to Normal from Do Not Download, it starts downloading, so I know delugevpn isn't seeing that the file is actually there.

 

The logs don't seem to show anything obvious, but I'm hardly an expert with unraid and I could be missing something. It might be a path issue as I have just been guessing how it might be. I've tried it as many ways as I could think of. Any clues as to what I'm doing wrong?

 

 

 

 

Link to comment

any one getting this error on sickrage?

2015-05-12 22:09:26 SEARCHQUEUE-BACKLOG-267777 :: Check scene exceptions update failed. Unable to get URL: http://midgetspy.github.io/sb_tvdb_scene_exceptions/exceptions.txt
2015-05-12 22:09:26 SEARCHQUEUE-BACKLOG-267777 :: Check scene exceptions update failed. Unable to get URL: https://raw.githubusercontent.com/SiCKRAGETV/sr_tvrage_scene_exceptions/master/exceptions.txt

 

I have this over and over.

Link to comment

This could be a sign of lost communications within docker. See my thread here: http://lime-technology.com/forum/index.php?topic=39597.0

 

Yes it was that issue, what i did was stop the dockers and clicked on save and some downloaded new images and some nothing but they started to work.

 

This week i did a few things, i change the primary dns setting for unraid from quad 8's to my internal network, replaced the parity drive and added two new disks.  I notice that my kvm vm would not get to the internet. So i stopped the vm manger and restarted it like you said it connected right up.

 

Funny how a little change can have a big impact.

Link to comment

quick heads up, im having issues with the base image, basically some pgp keys have changed which is causing update issue which then is causing issues with anything using the base image, for now PLEASE DO NOT UPDATE YOUR DOCKER CONTAINERS until i give the ok.

 

cheers guys.

 

Since my container did not work anyway I tried it again today and still am getting this :

 

IMAGE ID [0bdba368da24]: Pulling image (latest) from binhex/arch-delugevpn. Pulling image (latest) from binhex/arch-delugevpn, endpoint: https://registry-1.docker.io/v1/. Pulling dependent layers.
IMAGE ID [511136ea3c5a]: Download complete.
IMAGE ID [b7d6e7c1e21a]: Download complete.
IMAGE ID [ea234cde99e6]: Download complete.
IMAGE ID [4b26b9ca9984]: Pulling metadata. Pulling fs layer. Downloading -3200% of -0MB. Download complete.
.....
IMAGE ID [0bdba368da24]: Pulling metadata. Pulling fs layer. Downloading -3200% of -0MB. Download complete. Status: Downloaded newer image for binhex/arch-delugevpn:latest.

TOTAL DATA PULLED: -0 MB

 

I know, it is a dockerhub problem, back to waiting patiently ..... :-)

 

Link to comment

Did anyone have any luck in setting umask setting for deluge?

 

With the current deluge settings i am able to delete mover single filed torrents, but if the torrent contains a folder structure i do not have the necessary permissions.

 

hi i did set the umask for supervisor, which i thought should in turn set the umask for all child processes, however this might not be the case, thus i have made a tweak to the delugevpn and deluge dockers to force a umask directly on the child process in the supervisor file, please try an update (or if dockerhub is still playing silly buggers which it currently is) then delete the container and image and then add again, please let me know the outcome, im not able to test the issue your having with permissions as it "just works" for me :-), if i remember rightly this bug only occurs for people accessing the share using a mac, im assuming this is the case for you?

Link to comment

Anyone else using binhex sickrage container?

I am having a problem with my container.

What happen recently. I change dns on my unraid box which cause my kvm and Dockers from getting internet access. I have fixed that and my sab and couch are working.

What is happening now is that I can add a show and it pulls the metadata but it never snatches shows. So I manually added shows to sab and it downloaded them but sick does not process them.

 

However any shows prior to all this get snatched process and put in the correct folders.

 

Any thoughts.

Link to comment

Binhex - the issue of no data communication still exists for sabnzbvpn. Did you get a chance to look at it? My previous post had detailed logs on it and I have copied below a snippet when I tried again this morning...

 

From log:

2015-05-14 10:19:20,280 DEBG 'start' stdout output:

Thu May 14 10:19:20 2015 Authenticate/Decrypt packet error: packet HMAC authentication failed

Did anyone have any luck in setting umask setting for deluge?

 

With the current deluge settings i am able to delete mover single filed torrents, but if the torrent contains a folder structure i do not have the necessary permissions.

 

hi i did set the umask for supervisor, which i thought should in turn set the umask for all child processes, however this might not be the case, thus i have made a tweak to the delugevpn and deluge dockers to force a umask directly on the child process in the supervisor file, please try an update (or if dockerhub is still playing silly buggers which it currently is) then delete the container and image and then add again, please let me know the outcome, im not able to test the issue your having with permissions as it "just works" for me :-), if i remember rightly this bug only occurs for people accessing the share using a mac, im assuming this is the case for you?

 

Link to comment

Binhex - the issue of no data communication still exists for sabnzbvpn. Did you get a chance to look at it? My previous post had detailed logs on it and I have copied below a snippet when I tried again this morning...

 

From log:

2015-05-14 10:19:20,280 DEBG 'start' stdout output:

Thu May 14 10:19:20 2015 Authenticate/Decrypt packet error: packet HMAC authentication failed

Did anyone have any luck in setting umask setting for deluge?

 

With the current deluge settings i am able to delete mover single filed torrents, but if the torrent contains a folder structure i do not have the necessary permissions.

 

hi i did set the umask for supervisor, which i thought should in turn set the umask for all child processes, however this might not be the case, thus i have made a tweak to the delugevpn and deluge dockers to force a umask directly on the child process in the supervisor file, please try an update (or if dockerhub is still playing silly buggers which it currently is) then delete the container and image and then add again, please let me know the outcome, im not able to test the issue your having with permissions as it "just works" for me :-), if i remember rightly this bug only occurs for people accessing the share using a mac, im assuming this is the case for you?

 

yes i did take a look actually, in the last hour i thought i would take the plunge and signup with a usenet provider and test it out, and it works yay, so i can successfully download via sabnzbd using a vpn tunnel, i made sure this was the case by exec-ing into the running docker and killing the openvpn process, which caused the traffic to drop to 0, so its def using the tunnel and looks like no ip leakage, so im happy its working as expected.

 

so back to your issue, i think its got to be a misconfiguration of either openvpn and/or sabnazbd that is causing that "HMAC authentication failed" message, my money is on vpn provider, can you pm me your ovpn file minus your login and password and i will take a look.

Link to comment

That's positive news! I am curious why do we need the ovpn file when defining the VPN user and pass in the docker definition? I have the delugevpn docker running successfully without issues over the last few days. This HMAC authentication error seems to be only for sabnzbvpn docker.

 

If you still need the ovpn file, I can send it to you when I get back from work. I have one defined when I used the VPN plugin. Is one created with the docker as well? If yes, can you point me to its location? Thanks.

Binhex - the issue of no data communication still exists for sabnzbvpn. Did you get a chance to look at it? My previous post had detailed logs on it and I have copied below a snippet when I tried again this morning...

 

From log:

2015-05-14 10:19:20,280 DEBG 'start' stdout output:

Thu May 14 10:19:20 2015 Authenticate/Decrypt packet error: packet HMAC authentication failed

Did anyone have any luck in setting umask setting for deluge?

 

With the current deluge settings i am able to delete mover single filed torrents, but if the torrent contains a folder structure i do not have the necessary permissions.

 

hi i did set the umask for supervisor, which i thought should in turn set the umask for all child processes, however this might not be the case, thus i have made a tweak to the delugevpn and deluge dockers to force a umask directly on the child process in the supervisor file, please try an update (or if dockerhub is still playing silly buggers which it currently is) then delete the container and image and then add again, please let me know the outcome, im not able to test the issue your having with permissions as it "just works" for me :-), if i remember rightly this bug only occurs for people accessing the share using a mac, im assuming this is the case for you?

 

yes i did take a look actually, in the last hour i thought i would take the plunge and signup with a usenet provider and test it out, and it works yay, so i can successfully download via sabnzbd using a vpn tunnel, i made sure this was the case by exec-ing into the running docker and killing the openvpn process, which caused the traffic to drop to 0, so its def using the tunnel and looks like no ip leakage, so im happy its working as expected.

 

so back to your issue, i think its got to be a misconfiguration of either openvpn and/or sabnazbd that is causing that "HMAC authentication failed" message, my money is on vpn provider, can you pm me your ovpn file minus your login and password and i will take a look.

 

Link to comment

I am curious why do we need the ovpn file when defining the VPN user and pass in the docker definition?

 

this depends on your vpn provider, if your using pia then yes its as simple as supplying username and password, if your using airvpn then you need to use the custom ovpn file that is generated for your account, and if your using custom then you need to supply ovpn file and sort out what method they are using for authentication as well, so question is what vpn provider are you using?

Link to comment

I am using PIA with all default settings you have in there. The thing that puzzling to me is delugevpn works while sabnzbvpn doesn't. As a simple test, if I start with a clean and no existing directory for sabnzbvpn, it complains of permissions while delugevpn just works!

I am curious why do we need the ovpn file when defining the VPN user and pass in the docker definition?

 

this depends on your vpn provider, if your using pia then yes its as simple as supplying username and password, if your using airvpn then you need to use the custom ovpn file that is generated for your account, and if your using custom then you need to supply ovpn file and sort out what method they are using for authentication as well, so question is what vpn provider are you using?

 

Link to comment
Guest
This topic is now closed to further replies.