[Support] binhex - DelugeVPN


Recommended Posts

New problem connecting Couchpotato to DelugeVPN.

 

I get the following on the Deluged.log file

23:49:12 [INFO    ][deluge.core.rpcserver         :171 ] Deluge Client connection made from: 10.1.2.101:38714
23:49:12 [INFO    ][deluge.core.rpcserver         :197 ] Deluge client disconnected: [('SSL routines', 'tls_early_post_process_client_hello', 'unsupported protocol')]

Nothing on the Couchpotato logs.

Edited by RelayX65
Link to comment
35 minutes ago, RelayX65 said:

New problem connecting Couchpotato to DelugeVPN.

 

Have you recently updated your deluge docker container to one which includes deluge v2?

 

If so, CouchPotato does not implement the new V2 deluge interface.  You have to set CouchPotato to use the 'Black hole' protocol and use the AutoAdd plugin in Deluge.  I've been working like this for months.

Link to comment
On 11/15/2019 at 10:55 PM, RelayX65 said:

Nevermind.....I figured it out.

 

Thanks!!

 

RelayX65,

 

Can you please let me know what you did to resolve the the log errors that you posted (see portion bellow).  I am running the latest version of binhex/arch-delugevpn on Ubuntu 18.04, and I am getting this error as well.

 

2019-11-15 16:46:53,659 DEBG 'watchdog-script' stderr output: Temporarily disabling observer LegacyLogObserverWrapper(<bound method TwistedLoggingObserver.emit of <deluge.log.TwistedLoggingObserver object at 0x14b1487768e0>>) due to exception: [Failure instance: Traceback: <class 'TypeError'>: findCaller() takes from 1 to 2 positional arguments but 3 were given

/usr/lib/python3.8/site-packages/twisted/python/failure.py:386:__init__

/usr/lib/python3.8/site-packages/twisted/internet/defer.py:962:__del__

/usr/lib/python3.8/site-packages/twisted/logger/_logger.py:190:failure

/usr/lib/python3.8/site-packages/twisted/logger/_logger.py:144:emit

--- <exception caught here> ---

/usr/lib/python3.8/site-packages/twisted/logger/_observer.py:131:__call__

/usr/lib/python3.8/site-packages/twisted/logger/_legacy.py:93:__call__

/usr/lib/python3.8/site-packages/deluge/log.py:204:emit

/usr/lib/python3.8/logging/__init__.py:1481:critical

/usr/lib/python3.8/logging/__init__.py:1565:_log ]

Traceback (most recent call last):

File "/usr/lib/python3.8/site-packages/twisted/python/failure.py", line 386, in __init__ frames.append(( File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 962, in __del__ log.failure(format, File "/usr/lib/python3.8/site-packages/twisted/logger/_logger.py", line 190, in failure self.emit(level, format, log_failure=failure, **kwargs)

File "/usr/lib/python3.8/site-packages/twisted/logger/_logger.py", line 144, in emit self.observer(event) --- <exception caught here> --- File "/usr/lib/python3.8/site-packages/twisted/logger/_observer.py", line 131, in __call__ observer(event) File "/usr/lib/python3.8/site-packages/twisted/logger/_legacy.py", line 93, in __call__ self.legacyObserver(event) File "/usr/lib/python3.8/site-packages/deluge/log.py", line 204, in emit getattr(LoggingLoggerClass, event_dict['log_level'].name)( File "/usr/lib/python3.8/logging/__init__.py", line 1481, in critical self._log(CRITICAL, msg, args, **kwargs)

File "/usr/lib/python3.8/logging/__init__.py", line 1565, in _log fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel) builtins.TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given

 

Regards.

Link to comment
2 hours ago, DontWorryScro said:

I checked for updates on all my docker containers and updated all before realizing I should have confirmed I wasn’t updating deluge prematurely. Now I’m erroring out everywhere because it’s too new and not whitelisted anywhere. Can I get a step by step guide on how to roll this back?

see Q5 in the following link:-

https://github.com/binhex/documentation/blob/master/docker/faq/unraid.md

  • Thanks 1
Link to comment
20 hours ago, streetsurfer said:

Having some issues with getting files downloaded.

Seems like its having folder permissions??

its showing free allocated space on the bottom right of deluge. So it seems like its connected to the volume map properly.

PUID and PGID set to 1000 for dockuser and dockgroup

image.png.10f9cb67f1433f8d955ad02d71334028.pngimage.thumb.png.be20a718dc0a0a91360d8a0bb706858f.png

I don't know what system this is, but from your volume mapping screenshot I can see that /share/Download/Torrents is marked as read-only. I would bet that's your issue.

  • Like 1
Link to comment

This used to be working for me, but I recently had to wipe a cache drive, and now I can't set this up anymore, even though I followed the youtube tutorial exactly.

 

For some reason, when I start it up, it loads up "Connection Manager" and has some 127.0.0.1 localhost thing there.

In preferences, the download folder is set to something like "/usr/nobody/downloads" or just blank, even though it should say "data/downloads". If I try to change it to "data/Downloads", it doesn't work, torrents don't download, and the data wipes whenever I restart the docker container.

 

Log:

 

ErrorWarningSystemArrayLogin


2019-11-23 15:30:11,262 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Privoxy...

2019-11-23 15:30:11,481 DEBG 'watchdog-script' stderr output:
Unable to initialize gettext/locale!
'ngettext'
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/deluge/i18n/util.py", line 118, in setup_translation
builtins.__dict__['_n'] = builtins.__dict__['ngettext']
KeyError: 'ngettext'

2019-11-23 15:30:12,271 DEBG 'watchdog-script' stdout output:
[info] Privoxy process started
[info] Waiting for Privoxy process to start listening on port 8118...

2019-11-23 15:30:12,274 DEBG 'watchdog-script' stdout output:
[info] Privoxy process listening on port 8118

2019-11-23 15:31:02,331 WARN received SIGTERM indicating exit request
2019-11-23 15:31:02,331 DEBG killing watchdog-script (pid 162) with signal SIGTERM
2019-11-23 15:31:02,331 INFO waiting for start-script, watchdog-script to die
2019-11-23 15:31:03,333 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22522250854256 for <Subprocess at 22522250853584 with name watchdog-script in state STOPPING> (stdout)>
2019-11-23 15:31:03,333 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 22522251007648 for <Subprocess at 22522250853584 with name watchdog-script in state STOPPING> (stderr)>
2019-11-23 15:31:03,333 INFO stopped: watchdog-script (terminated by SIGTERM)
2019-11-23 15:31:03,334 DEBG received SIGCHLD indicating a child quit
2019-11-23 15:31:03,334 DEBG killing start-script (pid 161) with signal SIGTERM
2019-11-23 15:31:04,336 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 22522251236352 for <Subprocess at 22522251238992 with name start-script in state STOPPING> (stdout)>
2019-11-23 15:31:04,336 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 22522250853488 for <Subprocess at 22522251238992 with name start-script in state STOPPING> (stderr)>
2019-11-23 15:31:04,336 INFO stopped: start-script (terminated by SIGTERM)
2019-11-23 15:31:04,336 DEBG received SIGCHLD indicating a child quit
Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2019-11-23 15:31:18.484550 [info] System information Linux 45b7e6d0f1e9 4.19.56-Unraid #1 SMP Tue Jun 25 10:19:34 PDT 2019 x86_64 GNU/Linux
2019-11-23 15:31:18.519435 [info] PUID defined as '99'
2019-11-23 15:31:18.548815 [info] PGID defined as '100'
2019-11-23 15:31:18.788140 [info] UMASK defined as '000'
2019-11-23 15:31:18.813413 [info] Permissions already set for volume mappings
2019-11-23 15:31:18.842783 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'info'
2019-11-23 15:31:18.867653 [info] DELUGE_WEB_LOG_LEVEL defined as 'info'
2019-11-23 15:31:18.894592 [info] VPN_ENABLED defined as 'yes'
2019-11-23 15:31:18.931016 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/my_expressvpn_australia_-_sydney_-_3_udp.ovpn
2019-11-23 15:31:18.988657 [info] VPN remote line defined as 'remote australia-sydney-3-ca-version-2.expressnetw.com 1195'

2019-11-23 15:31:19.017208 [info] VPN_REMOTE defined as 'australia-sydney-3-ca-version-2.expressnetw.com'

2019-11-23 15:31:19.043888 [info] VPN_PORT defined as '1195'
2019-11-23 15:31:19.079938 [warn] VPN_PROTOCOL not found in /config/openvpn/my_expressvpn_australia_-_sydney_-_3_udp.ovpn, assuming udp
2019-11-23 15:31:19.105762 [info] VPN_DEVICE_TYPE defined as 'tun0'
2019-11-23 15:31:19.132935 [info] VPN_PROV defined as 'custom'
2019-11-23 15:31:19.158887 [info] LAN_NETWORK defined as '192.168.1.0/24'
2019-11-23 15:31:19.182765 [info] NAME_SERVERS defined as '209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1'
2019-11-23 15:31:19.208818 [info] VPN_USER defined as '4r4v42acfgux7xb3mbq6tdku'
2019-11-23 15:31:19.235979 [info] VPN_PASS defined as '3hlfjpgbb6yb32uxhvc5pgpj'
2019-11-23 15:31:19.261872 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2019-11-23 15:31:19.288964 [info] ENABLE_PRIVOXY defined as 'yes'
2019-11-23 15:31:19.314857 [info] Starting Supervisor...
2019-11-23 15:31:19,456 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2019-11-23 15:31:19,456 INFO Set uid to user 0 succeeded
2019-11-23 15:31:19,461 INFO supervisord started with pid 6
2019-11-23 15:31:20,463 INFO spawned: 'start-script' with pid 154
2019-11-23 15:31:20,465 INFO spawned: 'watchdog-script' with pid 155
2019-11-23 15:31:20,465 INFO reaped unknown pid 7
2019-11-23 15:31:20,471 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2019-11-23 15:31:20,471 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-11-23 15:31:20,471 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-11-23 15:31:20,532 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2019-11-23 15:31:20,535 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2019-11-23 15:31:20,540 DEBG 'start-script' stdout output:
[info] Adding 84.200.69.80 to /etc/resolv.conf

2019-11-23 15:31:20,543 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2019-11-23 15:31:20,548 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf

2019-11-23 15:31:20,552 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2019-11-23 15:31:20,557 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2019-11-23 15:31:20,562 DEBG 'start-script' stdout output:
[info] Adding 84.200.70.40 to /etc/resolv.conf

2019-11-23 15:31:20,567 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf

2019-11-23 15:31:20,867 DEBG 'start-script' stdout output:
[info] Attempting to load iptable_mangle module...

2019-11-23 15:31:20,868 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.19.56-Unraid

2019-11-23 15:31:20,869 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module using modprobe, trying insmod...

2019-11-23 15:31:20,869 DEBG 'start-script' stderr output:
insmod: ERROR: could not load module /lib/modules/iptable_mangle.ko: No such file or directory


2019-11-23 15:31:20,870 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module, you will not be able to connect to the applications Web UI or Privoxy outside of your LAN
[info] unRAID/Ubuntu users: Please attempt to load the module by executing the following on your host: '/sbin/modprobe iptable_mangle'
[info] Synology users: Please attempt to load the module by executing the following on your host: 'insmod /lib/modules/iptable_mangle.ko'

2019-11-23 15:31:20,885 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16

2019-11-23 15:31:20,889 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2019-11-23 15:31:20,890 DEBG 'start-script' stdout output:
[info] ip route defined as follows...

2019-11-23 15:31:20,891 DEBG 'start-script' stdout output:
--------------------

2019-11-23 15:31:20,892 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.3
192.168.1.0/24 via 172.17.0.1 dev eth0

2019-11-23 15:31:20,892 DEBG 'start-script' stdout output:
--------------------

2019-11-23 15:31:20,939 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2019-11-23 15:31:20,941 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1195 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i tun0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1195 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A OUTPUT -d 192.168.1.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 192.168.1.0/24 -o eth0 -p tcp -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT

2019-11-23 15:31:20,941 DEBG 'start-script' stdout output:
--------------------

2019-11-23 15:31:20,942 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2019-11-23 15:31:20,949 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:20 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6

Sat Nov 23 15:31:20 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6

Sat Nov 23 15:31:20 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6

Sat Nov 23 15:31:20 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6


2019-11-23 15:31:20,949 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:20 2019 WARNING: file 'credentials.conf' is group or others accessible

Sat Nov 23 15:31:20 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
Sat Nov 23 15:31:20 2019 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10

2019-11-23 15:31:20,949 DEBG 'start-script' stdout output:
[info] OpenVPN started
Sat Nov 23 15:31:20 2019 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.


2019-11-23 15:31:20,949 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:20 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-11-23 15:31:20,951 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:20 2019 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Sat Nov 23 15:31:20 2019 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication

2019-11-23 15:31:20,951 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:20 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]185.198.242.96:1195
Sat Nov 23 15:31:20 2019 Socket Buffers: R=[212992->1048576] S=[212992->1048576]
Sat Nov 23 15:31:20 2019 UDP link local: (not bound)
Sat Nov 23 15:31:20 2019 UDP link remote: [AF_INET]185.198.242.96:1195

2019-11-23 15:31:20,972 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:20 2019 TLS: Initial packet from [AF_INET]185.198.242.96:1195, sid=54643ec7 4b2ceca4

2019-11-23 15:31:20,994 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:20 2019 VERIFY OK: depth=1, C=VG, ST=BVI, O=ExpressVPN, OU=ExpressVPN, CN=ExpressVPN CA, [email protected]

2019-11-23 15:31:20,995 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:20 2019 VERIFY OK: nsCertType=SERVER
Sat Nov 23 15:31:20 2019 VERIFY X509NAME OK: C=VG, ST=BVI, O=ExpressVPN, OU=ExpressVPN, CN=Server-4105-2a, [email protected]
Sat Nov 23 15:31:20 2019 VERIFY OK: depth=0, C=VG, ST=BVI, O=ExpressVPN, OU=ExpressVPN, CN=Server-4105-2a, [email protected]

2019-11-23 15:31:21,020 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:21 2019 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
Sat Nov 23 15:31:21 2019 [Server-4105-2a] Peer Connection Initiated with [AF_INET]185.198.242.96:1195

2019-11-23 15:31:22,085 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:22 2019 SENT CONTROL [Server-4105-2a]: 'PUSH_REQUEST' (status=1)

2019-11-23 15:31:22,105 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:22 2019 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.154.0.1,comp-lzo no,route 10.154.0.1,topology net30,ping 10,ping-restart 60,ifconfig 10.154.0.106 10.154.0.105,peer-id 25,cipher AES-256-GCM'

2019-11-23 15:31:22,105 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:22 2019 OPTIONS IMPORT: timers and/or timeouts modified
Sat Nov 23 15:31:22 2019 OPTIONS IMPORT: compression parms modified
Sat Nov 23 15:31:22 2019 OPTIONS IMPORT: --ifconfig/up options modified
Sat Nov 23 15:31:22 2019 OPTIONS IMPORT: route options modified
Sat Nov 23 15:31:22 2019 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Sat Nov 23 15:31:22 2019 OPTIONS IMPORT: peer-id set
Sat Nov 23 15:31:22 2019 OPTIONS IMPORT: adjusting link_mtu to 1629
Sat Nov 23 15:31:22 2019 OPTIONS IMPORT: data channel crypto options modified
Sat Nov 23 15:31:22 2019 Data Channel: using negotiated cipher 'AES-256-GCM'
Sat Nov 23 15:31:22 2019 NCP: overriding user-set keysize with default
Sat Nov 23 15:31:22 2019 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Sat Nov 23 15:31:22 2019 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Sat Nov 23 15:31:22 2019 ROUTE_GATEWAY 172.17.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:11:00:03

2019-11-23 15:31:22,106 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:22 2019 TUN/TAP device tun0 opened
Sat Nov 23 15:31:22 2019 TUN/TAP TX queue length set to 100
Sat Nov 23 15:31:22 2019 /usr/bin/ip link set dev tun0 up mtu 1500

2019-11-23 15:31:22,107 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:22 2019 /usr/bin/ip addr add dev tun0 local 10.154.0.106 peer 10.154.0.105

2019-11-23 15:31:22,109 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:22 2019 /root/openvpnup.sh tun0 1500 1557 10.154.0.106 10.154.0.105 init

2019-11-23 15:31:22,231 DEBG 'start-script' stdout output:
[info] Application does not require port forwarding or VPN provider is != pia, skipping incoming port assignment

2019-11-23 15:31:22,231 DEBG 'start-script' stdout output:
[info] Checking we can resolve name 'www.google.com' to address...

2019-11-23 15:31:22,236 DEBG 'start-script' stdout output:
[debug] Having issues resolving name 'www.google.com', sleeping before retry...

2019-11-23 15:31:24,178 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:24 2019 /usr/bin/ip route add 185.198.242.96/32 via 172.17.0.1

2019-11-23 15:31:24,179 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:24 2019 /usr/bin/ip route add 0.0.0.0/1 via 10.154.0.105

2019-11-23 15:31:24,181 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:24 2019 /usr/bin/ip route add 128.0.0.0/1 via 10.154.0.105

2019-11-23 15:31:24,182 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:24 2019 /usr/bin/ip route add 10.154.0.1/32 via 10.154.0.105

2019-11-23 15:31:24,183 DEBG 'start-script' stdout output:
Sat Nov 23 15:31:24 2019 Initialization Sequence Completed

2019-11-23 15:31:27,262 DEBG 'start-script' stdout output:
[info] DNS operational, we can resolve name 'www.google.com' to address '172.217.25.132'

2019-11-23 15:31:27,264 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using Name Server 'ns1.google.com'...

2019-11-23 15:31:27,336 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 185.198.242.93

2019-11-23 15:31:27,405 DEBG 'watchdog-script' stdout output:
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.154.0.106 different, marking for reconfigure

2019-11-23 15:31:27,409 DEBG 'watchdog-script' stdout output:
[info] Deluge not running

2019-11-23 15:31:27,412 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI not running

2019-11-23 15:31:27,417 DEBG 'watchdog-script' stdout output:
[info] Privoxy not running

2019-11-23 15:31:27,417 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Deluge...
[info] Removing deluge pid file (if it exists)...

2019-11-23 15:31:27,833 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'listen_interface' currently has a value of '10.197.0.26'
[info] Deluge key 'listen_interface' will have a new value '10.154.0.106'
[info] Writing changes to Deluge config file '/config/core.conf'...

2019-11-23 15:31:28,009 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'outgoing_interface' currently has a value of 'tun0'
[info] Deluge key 'outgoing_interface' will have a new value 'tun0'
[info] Writing changes to Deluge config file '/config/core.conf'...

2019-11-23 15:31:28,161 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'default_daemon' currently has an undefined value
[info] Deluge key 'default_daemon' will have a new value ''
[info] Writing changes to Deluge config file '/config/web.conf'...

2019-11-23 15:31:28,418 DEBG 'watchdog-script' stdout output:
[info] Deluge process started
[info] Waiting for Deluge process to start listening on port 58846...

2019-11-23 15:31:28,638 DEBG 'watchdog-script' stdout output:
[info] Deluge process listening on port 58846

2019-11-23 15:31:28,865 DEBG 'watchdog-script' stderr output:
Unable to initialize gettext/locale!
'ngettext'
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/deluge/i18n/util.py", line 118, in setup_translation
builtins.__dict__['_n'] = builtins.__dict__['ngettext']
KeyError: 'ngettext'

2019-11-23 15:31:30,725 DEBG 'watchdog-script' stdout output:
[info] No torrents with state 'Error' found


2019-11-23 15:31:30,726 DEBG 'watchdog-script' stdout output:
[info] Starting Deluge Web UI...
[info] Deluge Web UI started

2019-11-23 15:31:30,732 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Privoxy...

2019-11-23 15:31:30,947 DEBG 'watchdog-script' stderr output:
Unable to initialize gettext/locale!

2019-11-23 15:31:30,947 DEBG 'watchdog-script' stderr output:
'ngettext'
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/deluge/i18n/util.py", line 118, in setup_translation
builtins.__dict__['_n'] = builtins.__dict__['ngettext']
KeyError: 'ngettext'

2019-11-23 15:31:31,740 DEBG 'watchdog-script' stdout output:
[info] Privoxy process started
[info] Waiting for Privoxy process to start listening on port 8118...

2019-11-23 15:31:31,746 DEBG 'watchdog-script' stdout output:
[info] Privoxy process listening on port 8118

 

Edited by Stubbs
Link to comment
11 hours ago, Stubbs said:

 

Also this does not look right

 

Li6Jcrv.png

I had to swap out a cache drive and when mover finished replacing the appdata, system and domain folders back onto the new cache drive, my DelugeVPN container won't start and my port mappings look exactly like yours for some reason (likely zero'd out because the container isn't running, but thought it was odd nonetheless). Was working perfectly before...

Edited by BBLV
Link to comment

For anyone that must use 2.0.3 or older.

The latest release (tagged '2.0.3_23_g5f1eada3e-1-01') shows up as '2.0.4.dev20' (at least for me, in the webGUI). If only '2.0.3' is whitelisted, you may get an error.  I had success rolling back to the November 14th release (tagged 2.0.3-2-01).

 

To do this, I went to the configuration page for the container. Switched from "basic view' to 'advanced view' in the top right corner. Then under 'Repository', I replaced "binhex/arch-delugevpn" with "binhex/arch-delugevpn:2.0.3-2-01"

 

DockerHub page

  • Like 1
Link to comment

Ever since about 2 weeks ago, I can no longer add torrents of seemingly any type to the server anymore.  Methods that had previously worked for a year no longer work.  That includes delugesiphon, adding via URL, and adding a .torrent file.  When I try to add this is the logs that seem to be correlated.

 

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/twisted/web/client.py", line 2019, in connectionLost
    self.original.connectionLost(reason)
  File "/usr/lib/python3.7/site-packages/deluge/httpdownloader.py", line 78, in connectionLost
    self.finished.callback(self.agent.filename)
  File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line 460, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line 568, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python3.7/site-packages/deluge/core/core.py", line 542, in on_download_success
    return self.add_torrent_file(filename, b64encode(data), options)
  File "/usr/lib/python3.7/site-packages/deluge/core/core.py", line 483, in add_torrent_file
    filedump=filedump, options=options, filename=filename
  File "/usr/lib/python3.7/site-packages/deluge/core/torrentmanager.py", line 532, in add
    'Unable to add torrent, decoding filedump failed: %s' % ex
deluge.error.AddTorrentError: Unable to add torrent, decoding filedump failed: unexpected end of file in bencoded string

Any thoughts?  If you need any more logs I'm happy to provide.

 

UPDATE:  It looks like torrents not from my private tracker work (just torrented archlinux as a demo).  Very strange.  Any thoughts @binhex?

Edited by jvorn
Link to comment
2 hours ago, jvorn said:

UPDATE:  It looks like torrents not from my private tracker work (just torrented archlinux as a demo).  Very strange.  Any thoughts @binhex?

If your private tracker only allows (whitelists) Deluge 2.0.3, then the latest container build probably won't work. See the most recent comment directly before your comment.

Link to comment

Hello

I've tried for hours to get this to work but being quite new to the whole docker/synology stuff and never used linux I don't know what more I can do. I've tried loads of different settings for my VPN .ovpn file cause I believe that's where the problem is. I tried 'Protocol' UDP and TCP, I tried changing the 'Certificates' from Inline to Separate and I also tried both the options at 'resolvConf'. The options I have from my provider (OVPN) are these: https://imgur.com/a/CU9XMDc

 

My log is as follows:
 

2019-11-27 13:49:09.202497 [info] System information Linux DelugeVPN 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux
2019-11-27 13:49:09.265645 [info] PUID defined as '0'
2019-11-27 13:49:09.334738 [info] PGID defined as '0'
2019-11-27 13:49:09.515605 [info] UMASK defined as '100'
2019-11-27 13:49:09.578085 [info] Permissions already set for volume mappings
2019-11-27 13:49:09.646586 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
2019-11-27 13:49:09.709641 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
2019-11-27 13:49:09.773260 [info] VPN_ENABLED defined as 'yes'
2019-11-27 13:49:09.841502 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/se.stockholm.ovpn.com.ovpn
2019-11-27 13:49:09.945712 [info] VPN remote line defined as 'remote pool-1.prd.se.sthlm.ovpn.com 1194'
2019-11-27 13:49:10.012283 [info] VPN_REMOTE defined as 'pool-1.prd.se.sthlm.ovpn.com'
2019-11-27 13:49:10.079379 [info] VPN_PORT defined as '1194'
2019-11-27 13:49:10.146311 [info] VPN_PROTOCOL defined as 'udp'
2019-11-27 13:49:10.210583 [info] VPN_DEVICE_TYPE defined as 'tun0'
2019-11-27 13:49:10.273515 [info] VPN_PROV defined as 'custom'
2019-11-27 13:49:10.335925 [info] LAN_NETWORK defined as '192.168.0/24'
2019-11-27 13:49:10.398254 [info] NAME_SERVERS defined as '46.227.67.134'
2019-11-27 13:49:10.460032 [info] VPN_USER defined as 'SECRETSTUFF'
2019-11-27 13:49:10.534833 [info] VPN_PASS defined as 'SECRETSTUFF'
2019-11-27 13:49:10.614628 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2019-11-27 13:49:10.678826 [info] ENABLE_PRIVOXY defined as 'yes'
2019-11-27 13:49:10.741624 [info] Starting Supervisor...
2019-11-27 13:49:11,178 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2019-11-27 13:49:11,179 INFO Set uid to user 0 succeeded
2019-11-27 13:49:11,186 INFO supervisord started with pid 6
2019-11-27 13:49:12,189 INFO spawned: 'start-script' with pid 150
2019-11-27 13:49:12,192 INFO spawned: 'watchdog-script' with pid 151
2019-11-27 13:49:12,193 INFO reaped unknown pid 7
2019-11-27 13:49:12,205 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
[debug] Environment variables defined as follows
APPLICATION=deluge
BASH=/bin/bash
BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=([0]="0")
BASH_SOURCE=([0]="/root/start.sh")
BASH_VERSINFO=([0]="5" [1]="0" [2]="11" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
BASH_VERSION='5.0.11(1)-release'
DEBUG=true
DELUGE_DAEMON_LOG_LEVEL=info
DELUGE_WEB_LOG_LEVEL=info
DIRSTACK=()
ENABLE_PRIVOXY=yes
EUID=0
GROUPS=()
HOME=/home/nobody
HOSTNAME=DelugeVPN
HOSTTYPE=x86_64
IFS=$' \t\n'
LANG=en_GB.UTF-8
LAN_NETWORK=192.168.0/24
MACHTYPE=x86_64-pc-linux-gnu
NAME_SERVERS=46.227.67.134
OPENVPN_OPTS='–inactive 3600 –ping 10 –ping-exit 60'
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID=0
PIPESTATUS=([0]="0")
PPID=6
PS4='+ '

2019-11-27 13:49:12,205 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-11-27 13:49:12,206 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-11-27 13:49:12,206 DEBG 'start-script' stdout output:
PUID=0
PWD=/
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
STRICT_PORT_FORWARD=yes
SUPERVISOR_ENABLED=1
SUPERVISOR_GROUP_NAME=start-script
SUPERVISOR_PROCESS_NAME=start-script
TERM=xterm
TZ=Europe/Stockholm
UID=0
UMASK=100
VPN_CONFIG=/config/openvpn/se.stockholm.ovpn.com.ovpn
VPN_DEVICE_TYPE=tun0
VPN_ENABLED=yes
VPN_OPTIONS=
VPN_PASS=SECRETSTUFF
VPN_PORT=1194
VPN_PROTOCOL=udp
VPN_PROV=custom
VPN_REMOTE=pool-1.prd.se.sthlm.ovpn.com
VPN_USER=SECRETSTUFF
_='[debug] Environment variables defined as follows'
[debug] Directory listing of files in /config/openvpn as follows

2019-11-27 13:49:12,213 DEBG 'start-script' stdout output:
total 8
drwxrwxr-x 1 root root   84 Nov 27 13:49 .
drwxrwxr-x 1 1026  100  118 Nov 27 13:48 ..
-rwxrwxr-x 1 root root   31 Nov 27 13:45 credentials.conf
-rwxrwxr-x 1 root root 2530 Nov 27 13:49 se.stockholm.ovpn.com.ovpn

2019-11-27 13:49:12,234 DEBG 'start-script' stdout output:
[warn] Password contains characters which could cause authentication issues, please consider changing this if possible

2019-11-27 13:49:12,286 DEBG 'start-script' stdout output:
[debug] Contents of ovpn file /config/openvpn/se.stockholm.ovpn.com.ovpn as follows...

2019-11-27 13:49:12,286 DEBG 'start-script' stdout output:
remote pool-1.prd.se.sthlm.ovpn.com 1194
client
dev tun
remote-cert-tls server
cipher aes-256-cbc
pull
nobind
resolv-retry infinite
verb 3
persist-key
remote-random
proto udp
mute-replay-warnings
replay-window 256

auth-user-pass credentials.conf

comp-lzo

key-direction 1
<ca>
-----BEGIN CERTIFICATE-----
MIIEfTCCA2WgAwIBAgIJAK2aIWqpLj1/MA0GCSqGSIb3DQEBBQUAMIGFMQswCQYD
VQQGEwJTRTESMBAGA1UECBMJU3RvY2tob2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0x
HDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdpYmVyZ2gxEzARBgNVBAMTCm92cG4uc2Ug
Y2ExGzAZBgkqhkiG9w0BCQEWDGluZm9Ab3Zwbi5zZTAeFw0xNDA4MTcxODIxMjla
Fw0zNDA4MTIxODIxMjlaMIGFMQswCQYDVQQGEwJTRTESMBAGA1UECBMJU3RvY2to
b2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0xHDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdp
YmVyZ2gxEzARBgNVBAMTCm92cG4uc2UgY2ExGzAZBgkqhkiG9w0BCQEWDGluZm9A
b3Zwbi5zZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMR+aP4GTuZw
urZuOA2NYzMfqKyZi/TJcLEPlGTB/b4CWA9bTd8f0pHPrDAZsXIEayxxB58BIFND
NiybnbO15JN/QwlsqmA+aZX6mCSkScs/rRwasM6LDo8iGx+KmYEqAgzziONGbCMn
lO+OaarXte7LhZ9X6Z/bryu4xq/i1v3raak13kXsrogtu4iDzxqJE/QhbNOi0yhC
dlm5RYQjmlKGdPB9pNTgcakVI4HcngRYMzBlrGin0YkvWCdpx5FrDNeld7BSWrJM
NYyvd+buaid0Fu1T9/P/Srj/8AiabKoaDyiGFbZdTnGfK+04lWRvwAmvazpqbUt5
Omw634jJDuMCAwEAAaOB7TCB6jAdBgNVHQ4EFgQUEvJcHHcTiDtu7bAyZw+xaqg+
xdIwgboGA1UdIwSBsjCBr4AUEvJcHHcTiDtu7bAyZw+xaqg+xdKhgYukgYgwgYUx
CzAJBgNVBAYTAlNFMRIwEAYDVQQIEwlTdG9ja2hvbG0xEjAQBgNVBAcTCVN0b2Nr
aG9sbTEcMBoGA1UECxMTRmlybWEgRGF2aWQgV2liZXJnaDETMBEGA1UEAxMKb3Zw
bi5zZSBjYTEbMBkGCSqGSIb3DQEJARYMaW5mb0BvdnBuLnNlggkArZohaqkuPX8w
DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAJmID6OyBJbV7ayPPgquo
jF+FICuDdOfGVKP828cyISxcbVA04VpD0QLYVb0k9pFUx0NbgX2SvRTiFhP7LcyS
1HV9s+XLCb2WItPPsrdRTwtqU2n3TlCEzWA3WOcOCtT6JSkv1eelmx1JnP0gYJrD
vDvRYBFctwWhtE0bineSQkZwN6980zkknADLAiHpeZSu/AMx7CGTwA6SmoFvpNBm
HXDcfe/9ZqbbYfUfyPNe+0JbMrcv1elKi+6wlEkHFaEBphiZwGEbOX1CjUMcQFgW
/cIp3n50Eiyx6ktuqimhyb59P4Nw8gqH452tTtE4MM/brA5y0Q0WFBRBojfZIbGW
WQ==
-----END CERTIFICATE-----
</ca>

<tls-auth>
-----BEGIN OpenVPN Static key V1-----
81782767e4d59c4464cc5d1896f1cf60
15017d53ac62e2e3b94b889e00b2c69d
dc01944fe1c6d895b4d80540502eb719
10b8d785c9efa9e3182343532adffe1c
fbb7bb6eae39c502da2748edf0fb89b8
a20b0a1085cc1f06135037881bc0c4ad
8f2c0f4f72d2ab466fb54af3d8264c5f
ddeb0f21aa0ca41863678f5fc4c44de4
ca0926b36dfddc42c6f2fabd1694bdc8
215b2d223b9c21dc6734c2c778093187
afb8c33403b228b9af68b540c284f6d1
83bcc88bd41d47bd717996e499ce1cbb
fa768a9723c19c58314c4d19cfed82e5
43ee92e73d38ad26d4fbec231c0f9f3b
30773a5c87792e9bc7c34e8d7611002e
bedd044e48a0f1f96527bfdcc940aa09
-----END OpenVPN Static key V1-----
</tls-auth>

2019-11-27 13:49:12,309 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2019-11-27 13:49:12,316 DEBG 'start-script' stdout output:
[info] Adding 46.227.67.134 to /etc/resolv.conf

2019-11-27 13:49:27,339 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 13:49:42,356 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 13:49:42,360 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 13:50:02,381 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 13:50:02,385 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 13:50:22,403 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 13:50:22,406 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 13:50:42,428 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 13:50:42,430 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 13:51:02,453 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 13:51:02,456 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

Error makes me Believe the VPN isn't working but I have it running on my personal computer and it's been working when I've been running the whole NAS behind it. I know it says 0 on PUID and PGID but thats because the container won't even start when I enter the values and I found people online saying using 0 is the only way they could get it to work. But ye, I don't think that is the issues here. Thanks!

Link to comment

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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