haugene / docker-transmission-openvpn

Docker container running Transmission torrent client with WebUI over an OpenVPN tunnel
GNU General Public License v3.0
4.12k stars 1.21k forks source link

download-dir override not working #2784

Closed aborin closed 9 months ago

aborin commented 9 months ago

Is there a pinned issue for this?

Is there an existing or similar issue/discussion for this?

Is there any comment in the documentation for this?

Is this related to a provider?

Are you using the latest release?

Have you tried using the dev branch latest?

Docker run config used

version: '2.21' services: transmission-openvpn: container_name: transmission cap_add:

secrets: openvpn_creds: file: /home/seedadm/.openvpn/openvpn_creds

Current Behavior

Expected Behavior

How have you tried to solve the problem?

Log output


Transmission will run as

User name: abc User uid: 1000 User gid: 1000

Updating Transmission settings.json with values from env variables Attempting to use existing settings.json for Transmission Successfully used existing settings.json /config/transmission-home/settings.json Overriding bind-address-ipv4 because TRANSMISSION_BIND_ADDRESS_IPV4 is set to 10.5.112.12 Overriding download-dir because TRANSMISSION_DOWNLOAD_DIR is set to /data/torrents/completed Overriding incomplete-dir because TRANSMISSION_INCOMPLETE_DIR is set to /data/torrents/incomplete Overriding rpc-password because TRANSMISSION_RPC_PASSWORD is set to [REDACTED] Overriding rpc-port because TRANSMISSION_RPC_PORT is set to 9091 Overriding rpc-username because TRANSMISSION_RPC_USERNAME is set to Overriding watch-dir because TRANSMISSION_WATCH_DIR is set to /data/torrents/watch sed'ing True to true STARTING TRANSMISSION Provider PIA has a script for automatic port forwarding. Will run it now. If you want to disable this, set environment variable DISABLE_PORT_UPDATER=true Transmission startup script complete. 2024-01-01 00:06:08 Initialization Sequence Completed Running functions for token based port fowarding Reserved Port: 28731 Mon Jan 1 00:06:14 UTC 2024 transmission auth not required waiting for transmission to become responsive transmission became responsive 1 100% 1.90 GB Done 0.0 0.0 5.0 Finished Loop Track (2023) [1080p] [WEBRip] [5.1] [YTS.MX] Sum: 1.90 GB 0.0 0.0 setting transmission port to 28731 localhost:9091/transmission/rpc/ responded: success Checking port... Port is open: Yes ####################### SUCCESS
####################### Port: 28731 Expiration Sun Mar 3 12:06:14 UTC 2024 ####################### Entering infinite while loop Every 15 minutes, check port status

HW/SW Environment

- OS: Debian bookworm/sid
- Docker: Docker Engine - Community ver 24.0.7

Anything else?

No response

ilike2burnthing commented 9 months ago

Don't dupe post - https://github.com/haugene/docker-transmission-openvpn/discussions/2783

aborin commented 9 months ago

Interesting, I created the issue using the link provided in the original comment thinking it would formalize (not duplicate) the concern. Will close this if you suggested test works.

aborin commented 9 months ago

Issue was most likely due to to inconsistent settings between compose file and persistent config. Shutting down container and removing the local configuration and testing torrents before starting the container produced the desired result.