Jazzepi

Members
  • Posts

    1
  • Joined

  • Last visited

Jazzepi's Achievements

Noob

Noob (1/14)

0

Reputation

  1. I'm trying to run this Docker inside an Ubuntu 16.10 VirtualBox VM on my Windows machine. After following the instructions I don't see anything in the debug output about the VPN or or PRIVOXY even though I have them both enabled from the environment varaibles. I also don't see a "config/openvpn" folder in the configuration directory mounted in /data/deluge/config even after running the container. Any assist would be greatly appreciated. I can reach the deluge UI so that seems to be working properly, but I haven't tried to add any torrents to it. Here's my docker log for the startup media@media-VirtualBox:~$ docker logs arch-deluge 2017-04-17 20:34:55.458777 [info] Starting Supervisor... 2017-04-17 20:34:57,803 CRIT Set uid to user 0 2017-04-17 20:34:57,803 INFO Included extra file "/etc/supervisor/conf.d/deluge.conf" during parsing 2017-04-17 20:34:57,815 INFO supervisord started with pid 5 2017-04-17 20:34:58,819 INFO spawned: 'deluge-script' with pid 44 2017-04-17 20:34:58,848 INFO spawned: 'deluge-web-script' with pid 45 2017-04-17 20:34:58,871 DEBG 'deluge-script' stdout output: [info] Deluge config file already exists, skipping copy 2017-04-17 20:34:58,881 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2017-04-17 20:34:58,882 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2017-04-17 20:34:58,885 DEBG 'deluge-script' stdout output: [info] Starting Deluge daemon... 2017-04-17 20:35:02,799 DEBG 'deluge-web-script' stdout output: [info] Starting Deluge webui... Here's the environment variables that I set. media@media-VirtualBox:~$ docker exec arch-deluge env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOSTNAME=d3e21fb63431 VPN_ENABLED=yes VPN_USER=***** VPN_PASS=***** VPN_REMOTE=america.vpn.airdns.org VPN_PORT=443 VPN_PROTOCOL=udp VPN_DEVICE_TYPE=tun VPN_PROV=airvpn ENABLE_PRIVOXY=yes LAN_NETWORK=192.168.1.0/24 NAME_SERVERS=8.8.8.8,8.8.4.4 DEBUG=true UMASK=000 PUID=1000 PGID=1000 HOME=/home/nobody TERM=xterm LANG=en_GB.UTF-8 Here's the systemd unit definition that runs the docker as a service media@media-VirtualBox:~$ docker exec arch-deluge env [Unit] Description=arch-deluge in Docker container After=docker.service Requires=docker.service [Service] TimeoutStartSec=0 Restart=always ExecStartPre=-/usr/bin/docker stop arch-deluge ExecStartPre=-/usr/bin/docker rm arch-deluge ExecStartPre=-/usr/bin/docker pull binhex/arch-deluge ExecStart=/bin/bash -c "/usr/bin/docker run --rm -t \ -p 8112:8112 \ -p 8118:8118 \ -p 58846:58846 \ -p 58946:58946 \ -e VPN_ENABLED=yes \ -e VPN_USER=**** \ -e VPN_PASS=**** \ -e VPN_REMOTE=america.vpn.airdns.org \ -e VPN_PORT=443 \ -e VPN_PROTOCOL=udp \ -e VPN_DEVICE_TYPE=tun \ -e VPN_PROV=airvpn \ -e ENABLE_PRIVOXY=yes \ -e LAN_NETWORK=192.168.1.0/24 \ -e NAME_SERVERS=8.8.8.8,8.8.4.4 \ -e DEBUG=true \ -e UMASK=000 \ -e PUID=$(/usr/bin/id -u media) \ -e PGID=$(/usr/bin/id -g media) \ -v /data/deluge/data:/data \ -v /data/deluge/config:/config \ -v /etc/localtime:/etc/localtime:ro \ --cap-add=NET_ADMIN \ --name arch-deluge binhex/arch-deluge " ExecStartPost=-/bin/bash -c "sleep 10; chown -R media:media /data" ExecStop=-/usr/bin/docker stop -t 3 arch-deluge ExecStop=-/usr/bin/docker rm arch-deluge Restart=always RestartSec=10s [Install] WantedBy=multi-user.target Finally, here's the supervisor d.log output. Created by... ___. .__ .__ \_ |__ |__| ____ | |__ ____ ___ ___ | __ \| |/ \| | \_/ __ \\ \/ / | \_\ \ | | \ Y \ ___/ > < |___ /__|___| /___| /\___ >__/\_ \ \/ \/ \/ \/ \/ https://hub.docker.com/u/binhex/ 2017-04-17 20:34:44.461950 [info] System information Linux d3e21fb63431 4.8.0-46-generic #49-Ubuntu SMP Fri Mar 31 13:57:14 UTC 2017 x86_64 GNU/Linux 2017-04-17 20:34:44.768869 [info] PUID defined as '1000' 2017-04-17 20:34:54.406403 [info] PGID defined as '1000' 2017-04-17 20:34:54.675630 [info] UMASK defined as '000' 2017-04-17 20:34:54.945410 [info] Permissions already set for volume mappings 2017-04-17 20:34:55.157419 [info] Setting permissions on files/folders inside container... 2017-04-17 20:34:57,803 CRIT Set uid to user 0 2017-04-17 20:34:57,803 INFO Included extra file "/etc/supervisor/conf.d/deluge.conf" during parsing 2017-04-17 20:34:57,815 INFO supervisord started with pid 5 2017-04-17 20:34:58,819 INFO spawned: 'deluge-script' with pid 44 2017-04-17 20:34:58,848 INFO spawned: 'deluge-web-script' with pid 45 2017-04-17 20:34:58,871 DEBG 'deluge-script' stdout output: [info] Deluge config file already exists, skipping copy 2017-04-17 20:34:58,881 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2017-04-17 20:34:58,882 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2017-04-17 20:34:58,885 DEBG 'deluge-script' stdout output: [info] Starting Deluge daemon... 2017-04-17 20:35:02,799 DEBG 'deluge-web-script' stdout output: [info] Starting Deluge webui...