Skip to content

Conversation

@keelnar
Copy link

@keelnar keelnar commented Sep 23, 2025

Remove default download, incomplete, and watch directories from Dockerfile ENV statements. Instead, pull these from settings.json if needed for setting directory permissions.

Breaking change

Proposed change

Presently, if a user changes their Transmission download (or incomplete/watch) directory in settings.json or from their preferred Web UI, these settings are lost on container restart. This is because the corresponding environment variables are set in the Dockerfile, then incorporated into settings.json by updateSettings.py.

This change removes the offending defaults from the Dockerfile, and instead pulls the actual paths from settings.json during PUID/PGID user setup. To facilitate this, updateSettings.py is now called before user setup.

Testing

Ran container with PUID and PGID set. Ensured the container knew which directories to change permissions on. Verified that download path settings weren't lost on restart.

Type of change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (which adds functionality to this container)
  • Breaking change (fix/feature causing existing functionality to break)

Additional information

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

  • Documentation added/updated

Remove default download, incomplete, and watch directories from
Dockerfile ENV statements. Instead, pull these from settings.json if
needed for setting directory permissions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant