linuxserver / docker-transmission

GNU General Public License v3.0
595 stars 185 forks source link

Default directories are re-created unnecessarily #200

Closed hacketiwack closed 1 year ago

hacketiwack commented 2 years ago

linuxserver.io


Expected Behavior

A user has the ability to decide where their downloads - completed and incomplete - will be stored. This also applies to the watch directory. The configuration is made in the settings.json through the GUI. Whenever the container is restarted, the default directories, named complete, incomplete and watch, must not be re-created if the user has set different ones in their configuration (settings.json).

Current Behavior

Currently, even if the user changed these directories and set them to different locations, the default ones are re-created for no reason.

Steps to Reproduce

  1. Start the container with the default configuration. The default directories are created.
  2. Change the default directories to user-specific locations (parameters are download-dir, incomplete-dir, and watch-dir)
  3. Delete the default directories.
  4. Restart the container.
  5. The default directories are created again.

Environment

OS: All CPU architecture: x86_64/arm32/arm64 How docker service was installed:

As explained in the documentation.

Command used to create docker container (run/create/compose/screenshot)

Same as in the documentation.

Docker logs

No logs are relevant for this issue.

hacketiwack commented 2 years ago

Please note that this pull request has been made to specifically solve this problem.

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

drizuid commented 1 year ago

https://github.com/linuxserver/docker-transmission/pull/197#issuecomment-1276161054