htpcnewbie

Members
  • Posts

    295
  • Joined

  • Last visited

Everything posted by htpcnewbie

  1. I have a strange issue and help fixing this. I changed the delugevpn connection mode from bridge to host and my entire emhttp is down. I am unable to find a way to change this auto-start docker setting to bridge mode again. Is there a config file for the docker configuration I can change while booting into safe mode which will enable me to change this particular auto-start docker config from 'host' to 'bridge'? P.S. Posting this in general help hoping someone can get back quickly on this.
  2. binhex - I deleted the entire sabnzbdvpn config folder and started from scratch (since it was working for you when you tested). Surprisingly it is working now!!! I do not know why but the issue just went away. I also changed the permissions to 777 and it didn't help either. Anyways, thank you for testing at your end and that's what prompted me to try again on a clean slate. 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.
  3. I am running into this problem as well. For security, I have the shares being accessed through a local username and password. Althought the nobody:users is readable, ym htpc cannot make changes to these shares. For now, I run a permissions script to change nobody to localuser. I am considering creating a nobody user and adding it to my win 8.1 credential manager. ahh that would explain the issue then, as deluge is running as user nobody, which just works if you set your shares as public on unraid and dont use a named account. hmm i will have to have a think about this, as it would mean allowing you to change the account that deluge is running as, as well as maybe some jiggery pokery for the user id's to line up.
  4. binhex - Thank you for the suggestion but unfortunately I think there is something at play here other than the permissions. I tried changing the permissions to the root sabnzbdvpn docker location directory to nobody:users and nobody:nogroup (saw some permissions like this in the delugevpn docker). Both of them give the same error as below. Could there be any conflicts with the sabnzbd port? Please see the code below .. there is a panic:247 after which the HMAC authentication errors begin. 2015-05-15 08:51:43,593 DEBG 'sabnzbd' stderr output: 2015-05-15 08:51:43,593::INFO::[_cplogging:55] [15/May/2015:08:51:43] ENGINE Bus STARTED 2015-05-15 08:51:43,593 DEBG 'sabnzbd' stderr output: 2015-05-15 08:51:43,593::INFO::[panic:247] Lauching browser with https://localhost:8090/sabnzbd 2015-05-15 08:51:52,688 DEBG 'start' stdout output: Fri May 15 08:51:52 2015 Authenticate/Decrypt packet error: packet HMAC authentication failed 2015-05-15 08:52:02,723 DEBG 'start' stdout output: Fri May 15 08:52:02 2015 Authenticate/Decrypt packet error: packet HMAC authentication failed 2015-05-15 08:52:12,303 DEBG 'start' stdout output: Fri May 15 08:52:12 2015 Authenticate/Decrypt packet error: packet HMAC authentication failed 2015-05-15 08:52:22,796 DEBG 'start' stdout output: Fri May 15 08:52:22 2015 Authenticate/Decrypt packet error: packet HMAC authentication failed 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? ok i left my sabnzbdvpn docker running overnight to make sure its can actually download and it downloaded a heap of stuff, all via the vpn tunnel, i also even saw the reconnect work for the tunnel, so thats also working well. so i THINK i know what is going on with your setup, i just stopped the docker and blew away my existing config folder for sabnzbd, i then started the docker and bam!, it stopped straight away, unable to start, if i look in the root of my config folder on my cache drive i can see it created a folder caleld sabnzbd, but if i try to create a folder/file using a windows client then i get permissions denied, diving into ssh i can clearly see the permissions are set to user root group root, so it looks like a bug in unraid, it should be creating the folder as user nobody group users to my thinking so i will be raising this to jonp. for now if you stop the docker, then ssh in and do the following:- chown -R nobody:users /mnt/cache/<path to the sabnzbd folder> chmod -R 775 /mnt/cache/<path to the sabnzbd folder> then start sabnzbdvpn you should be good :-), the reason why you havent had this issue with delugevpn, is either cos you created the delugevpn config folder manually using a client, in which case it gets set as user nobody group users, or the bug didnt exist in previous versions of unraid and you created the docker in a previous version. please let me know the outcome, if all goes well you should be set for the weekend, yay :-)
  5. 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! 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?
  6. 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. 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.
  7. 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 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?
  8. This week, next week or later. Definitely soon soon .......... ? Yes, soon... soonish* *swoons*
  9. 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.
  10. 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
  11. 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: 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.
  12. Sound good, thanks for the update. I will wait for the new release. Soon. ^^^^^ TRUTH. Putting it through its paces along with a number of other fixes before we release. I wouldn't expect it to be more than a week or so, but crazy things can and do happen.
  13. John, I have removed all plugins (moved them to docker) except snap and my unraid b15 still crashes in about two days. I think this is docker or kvm related. I am eager to move back to b12 for sake of stability. If I can expect b15 within the next week or so, I would like to give that a try before going back. Soon. ^^^^^ TRUTH. Putting it through its paces along with a number of other fixes before we release.
  14. 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. 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.
  15. 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. thanks for that, i noticed the latest build i triggered looks to be ok now for delugevpn, so please go ahead and update, im still taking a look at sabnzbdvpn so hold off on that one for now
  16. For an update for delugevpn this morning and was greedy to update. Now the delugevpn which was working yesterday is also broken Would be nice to go back to a previous working build for delugevpn and sabnzbvpn if possible.
  17. I pulled in deluguvpn around the same time as sabnzbvpn. The deluge docker seems to be working well while the sab isn't. Looks like it is an intermittent problem based on when you last compiled the individual dockers. Can you update when you are able to compile a clean version of sab? Thanks!
  18. binhex, having trouble with the sabnzbdvpn docker. Looks like the sed, grep and egrep packages are unavailable. I have copied the first few lines of supervisord.log where the error starts ... I have sabnzbd docker installed and that works well. 2015-05-05 20:12:25,943 CRIT Set uid to user 0 2015-05-05 20:12:25,943 WARN Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing 2015-05-05 20:12:25,945 INFO supervisord started with pid 1 2015-05-05 20:12:26,947 INFO spawned: 'start' with pid 7 2015-05-05 20:12:26,947 INFO spawned: 'sabnzbd' with pid 8 2015-05-05 20:12:26,952 DEBG 'sabnzbd' stderr output: /home/nobody/checkip.sh: line 9: egrep: command not found 2015-05-05 20:12:26,952 INFO success: start entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2015-05-05 20:12:26,954 DEBG 'start' stdout output: [info] VPN provider defined as pia 2015-05-05 20:12:26,956 DEBG 'start' stdout output: [info] VPN provider remote and port defined as nl.privateinternetaccess.com 1195 2015-05-05 20:12:26,956 DEBG 'start' stderr output: /root/start.sh: line 44: sed: command not found 2015-05-05 20:12:26,956 DEBG 'start' stderr output: /root/start.sh: line 48: grep: command not found 2015-05-05 20:12:26,956 DEBG 'start' stderr output: /root/start.sh: line 49: sed: command not found 2015-05-05 20:12:26,957 DEBG 'start' stderr output: /root/start.sh: line 72: grep: command not found 2015-05-05 20:12:26,957 DEBG 'start' stderr output: /root/start.sh: line 73: sed: command not found 1. Click the "Advanced View" toggle on the top right and fill in required fields e.g. volume data, environment variables etc 2. im using very tight iptables rules to prevent any ip leakage, if you wish to test this then follow this post:- add a nzb to sabnzbd, then:- # enter running container docker exec -it binhex-sabnzbdvpn /bin/bash # run top and kill openvpn process via PID top kill <pid number of process openvpn> You should see all traffic slows and then stops in the sabnzbd webui, there should be NO outbound traffic, if there is then please let me know, this is the same methodology as im using for the delugevpn with great results.
  19. Sounds perfect, thanks again! If this works, I owe you a beer. I will try when I get access to my Workstation. Setting this up through my phone is a pain. 1. Click the "Advanced View" toggle on the top right and fill in required fields e.g. volume data, environment variables etc 2. im using very tight iptables rules to prevent any ip leakage, if you wish to test this then follow this post:- add a nzb to sabnzbd, then:- # enter running container docker exec -it binhex-sabnzbdvpn /bin/bash # run top and kill openvpn process via PID top kill <pid number of process openvpn> You should see all traffic slows and then stops in the sabnzbd webui, there should be NO outbound traffic, if there is then please let me know, this is the same methodology as im using for the delugevpn with great results.
  20. I had to do a check for updates and I can see the container sabnzbvpn now. Couple of questions: 1. where do I input VPN_USER and VPN_PASS details? 2. Is there a killswitch which will not route traffic if the VPN is disconnected? got bored at lunchtime, so created sabnzbdvpn for you, its completely untested at this point, but i think it should work as expected, please let me know how you get on with it, you should be able to see it as an available docker image now in my docker repo. i dont have remote access to my unraid box right now, but i think there is a refresh or update button somewhere on the docker page in the unraid webui, it used to be called "reload info" in b12 cant quite remember what its called in b15, hit the button and you should then see it appear in the list
  21. Binhex, I so not see the sabnzbvpn option in the container template. Do I need to refresh the docker template? If yes, how do I do it? got bored at lunchtime, so created sabnzbdvpn for you, its completely untested at this point, but i think it should work as expected, please let me know how you get on with it, you should be able to see it as an available docker image now in my docker repo.
  22. Yes, you will need a VPN account (I have a PIA account) to route the traffic of this container. got bored at lunchtime, so created sabnzbdvpn for you, its completely untested at this point, but i think it should work as expected, please let me know how you get on with it, you should be able to see it as an available docker image now in my docker repo. i'm going to ask a really silly question, i'm intrigued by the sabnzdvpn image, but do i need a vpn account somewhere ?
  23. Binhex, that's awesome. I will check later today when I get home. Thank you, got bored at lunchtime, so created sabnzbdvpn for you, its completely untested at this point, but i think it should work as expected, please let me know how you get on with it, you should be able to see it as an available docker image now in my docker repo.
  24. binhex - Great compilation of dockers, thank you for your hard work. I remember starting with the madsonic The following discussion is regarding having a docker for sabnzbdVPN similar to delugevpn. I am converting my transmission, sickbeard and sabnzbd plugins to dockers. Having a VPN built in for deluge sounds like a neat idea and I am eager to try it out. Is there a similar option of having VPN with SABnzbd? If there is a way you could do that, it would be awesome. I currently use openvpn client plugin and it routes all the traffic in the server through the vpn. If we have specific applications that could route through vpn, it would be perfect. I know of many users who have pinged on that forum to see how to bypass the over arching vpn for all applications in the server, specifically for accessing Plex and Madsonic through WAN.
  25. I have been struggling to keep my b15 upgrade stable for more than 24 hrs at a stretch and I am unable to pinpoint the reason. The machine becomes unresponsive while the KVM works and I also had couple of times the KVM crashing as well. I have done a cold reboot few times over the last week. I am almost tempted to go back to the most stable b12 and let things be. I have two toddlers and a busy work, finding it hard to spend time and debug the issue. The syslog doesn't seem to show anything out of ordinary. I am posting my syslog, go file, attachments of docker and plugins. I would really appreciate if someone can help me identify the mystery source of the crashing. I have attached the syslog file in zip format (had to zip, forum was complaining of large attachment). I was up till about 2 am, so I knew it was working at "Apr 30 02:00:09 Tower kernel: mdcmd (75): spindown 0". By evening unraid was down, I think the first sign of "Unable to connect to "smtp.gmail.com" port 587" is an indicator of emhttp going down. my syslinux.cfg file: root@Tower:/boot/syslinux# cat syslinux.cfg default /syslinux/menu.c32 menu title Lime Technology prompt 0 timeout 50 label unRAID OS with KVM menu default kernel /bzimage append intel_iommu=on vfio_iommu_type1.allow_unsafe_interrupts=1 pcie_acs_override=downstream initrd=/bzroot label unRAID OS Safe Mode (no plugins) kernel /bzimage append initrd=/bzroot unraidsafemode label Memtest86+ kernel /memtest label Xen/unRAID OS kernel /syslinux/mboot.c32 append /xen --- /bzimage --- /bzroot label Xen/unRAID OS Safe Mode (no plugins) kernel /syslinux/mboot.c32 append /xen --- /bzimage --- /bzroot unraidsafemode my go file: root@Tower:/boot/config# cat go #!/bin/bash #For KVM videocard video & hdmi audio pass thru /usr/local/sbin/vfio-bind 0000:01:00.0 0000:01:00.1 0000:00:14.0 # Start the Management Utility /usr/local/sbin/emhttp & /boot/unmenu/uu cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c # SNAP automounts /boot/config/plugins/snap/snap.sh -b /boot/config/plugins/snap/snap.sh -ms SSD1 /boot/config/plugins/snap/snap.sh -ms SSD2 #/boot/config/plugins/snap/snap.sh -ms HITACHI1 #/boot/config/plugins/snap/snap.sh -ms HITACHI2 #mount SAB and transmission temp drive /boot/config/plugins/snap/snap.sh -ms WD15T #CTRLALTDEL=YES LOGSAVE=30 installpkg /boot/packages/powerdown-1.02-noarch-unRAID.tgz #sysctl -w kernel.poweroff_cmd="/sbin/powerdown" #Custom mover script for moving completed transmission files crontab -l >/tmp/crontab echo "# run mymover script at 1 am every day:" >>/tmp/crontab echo "0 01,04,07,10,13,16,19,21,23 * * * /boot/bin/mymover > /dev/null" >>/tmp/crontab crontab /tmp/crontab cp /boot/INSTALL/.screenrc /root/ cp /boot/INSTALL/.htoprc /root/ cp -ar /boot/INSTALL/.ssh /root/ ; chmod -R 600 /root/.ssh echo "export TERM=xterm" >> /root/.bash_profile #update custom script for madsonic+pia vpn checking echo "25 * * * * /boot/bin/fixmadsonic_port.sh" >> /var/spool/cron/crontabs/root That is incredibly odd. Please share your syslinux.cfg file here and do you have any plugins installed? Have you tried removing them? syslog1.zip