Hi there,
I'm trying to set this up with the Flood UI but none of my settings seem to be getting saved. Here's how I'm running the container. I don't need any of the VPN stuff so I got rid of all the additional env variables. I also included the docker log from the container creation. It just doesnt seem like any of my changes are getting saved to the rtorrent.rc config file. If I manually edit the rc config file and restart the container, Flood reads the changes. Any ideas?
docker run -d \
--cap-add=NET_ADMIN \
-p 3000:3000 \
--name=test-rtorrent \
--hostname=test-rtorrent \
-v /home/shiarua/Torrents/Test/data:/data \
-v /home/shiarua/Torrents/Test/config:/config \
-v /etc/localtime:/etc/localtime:ro \
-e VPN_ENABLED=no \
-e ENABLE_FLOOD=yes \
-e DEBUG=true \
-e PHP_TZ="America/Chicago" \
-e UMASK=000 \
-e PUID=1000 \
-e PGID=1000 \
binhex/arch-rtorrentvpn
Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/
2017-10-11 12:54:58.167530 [info] System information Linux test-rtorrent 4.10.0-37-generic #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017 x86_64 GNU/Linux
2017-10-11 12:54:58.202901 [info] PUID defined as '1000'
2017-10-11 12:55:15.723617 [info] PGID defined as '1000'
2017-10-11 12:55:15.843902 [info] UMASK defined as '000'
2017-10-11 12:55:15.884957 [info] Setting permissions recursively on volume mappings...
2017-10-11 12:55:15.931268 [info] VPN_ENABLED defined as 'no'
2017-10-11 12:55:15.977349 [warn] !!IMPORTANT!! You have set the VPN to disabled, you will NOT be secure!
chsh: Shell not changed.
Changing shell for nobody.
2017-10-11 12:57:05.484532 [info] Starting Supervisor...
2017-10-11 12:57:05,901 CRIT Set uid to user 0
2017-10-11 12:57:05,901 INFO Included extra file "/etc/supervisor/conf.d/rtorrent.conf" during parsing
2017-10-11 12:57:05,908 INFO supervisord started with pid 7
2017-10-11 12:57:06,923 INFO spawned: 'flood-script' with pid 57
2017-10-11 12:57:06,931 INFO spawned: 'start-script' with pid 58
2017-10-11 12:57:06,943 INFO spawned: 'rtorrent-script' with pid 59
2017-10-11 12:57:06,949 INFO spawned: 'rutorrent-script' with pid 60
2017-10-11 12:57:06,953 INFO spawned: 'privoxy-script' with pid 64
2017-10-11 12:57:06,954 INFO reaped unknown pid 8
2017-10-11 12:57:06,955 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 139650007663320 for <Subprocess at 139650007932656 with name start-script in state STARTING> (stderr)>
2017-10-11 12:57:06,956 DEBG 'start-script' stdout output:
[info] VPN not enabled, skipping configuration of VPN
2017-10-11 12:57:06,956 INFO exited: start-script (exit status 0; expected)
2017-10-11 12:57:06,957 DEBG received SIGCLD indicating a child quit
2017-10-11 12:57:06,958 DEBG 'flood-script' stdout output:
[info] Flood enabled, waiting for rTorrent to start...
2017-10-11 12:57:06,958 INFO success: flood-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-10-11 12:57:06,958 INFO success: rtorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-10-11 12:57:06,959 INFO success: rutorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-10-11 12:57:06,962 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-10-11 12:57:06,962 DEBG 'rtorrent-script' stdout output:
[info] rTorrent config file doesnt exist, copying default to /config/rtorrent/config/...
2017-10-11 12:57:06,963 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled
2017-10-11 12:57:06,963 DEBG fd 27 closed, stopped monitoring <POutputDispatcher at 139650007462544 for <Subprocess at 139650007929344 with name privoxy-script in state RUNNING> (stdout)>
2017-10-11 12:57:06,963 DEBG fd 31 closed, stopped monitoring <POutputDispatcher at 139650007903048 for <Subprocess at 139650007929344 with name privoxy-script in state RUNNING> (stderr)>
2017-10-11 12:57:06,963 INFO exited: privoxy-script (exit status 0; expected)
2017-10-11 12:57:06,964 DEBG received SIGCLD indicating a child quit
2017-10-11 12:57:06,964 DEBG 'rtorrent-script' stdout output:
[info] VPN not enabled, skipping VPN tunnel local ip/port checks
[info] Removing any rtorrent session lock files left over from the previous run...
2017-10-11 12:57:06,965 DEBG 'rtorrent-script' stdout output:
[info] Attempting to start rTorrent...
2017-10-11 12:57:06,967 DEBG 'rutorrent-script' stdout output:
[info] Flood enabled, preventing ruTorrent Web UI from starting...
2017-10-11 12:57:06,968 DEBG fd 26 closed, stopped monitoring <POutputDispatcher at 139650007464704 for <Subprocess at 139650007931144 with name rutorrent-script in state RUNNING> (stderr)>
2017-10-11 12:57:06,968 DEBG fd 22 closed, stopped monitoring <POutputDispatcher at 139650007464992 for <Subprocess at 139650007931144 with name rutorrent-script in state RUNNING> (stdout)>
2017-10-11 12:57:06,968 INFO exited: rutorrent-script (exit status 0; expected)
2017-10-11 12:57:06,968 DEBG received SIGCLD indicating a child quit
2017-10-11 12:57:07,499 DEBG 'flood-script' stdout output:
[info] rTorrent started, configuring Flood...
2017-10-11 12:57:07,500 DEBG 'flood-script' stdout output:
[info] Flood config file /config/flood/config/config.js doesnt exist, copying from container...
2017-10-11 12:57:07,505 DEBG 'flood-script' stdout output:
[info] Copying Flood config file /config/flood/config/config.js back to container...
2017-10-11 12:57:07,509 DEBG 'flood-script' stdout output:
[info] Starting Flood...