Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Configuration options do not persist #289

Closed
1 task done
only-su opened this issue Sep 20, 2024 · 5 comments
Closed
1 task done

[BUG] Configuration options do not persist #289

only-su opened this issue Sep 20, 2024 · 5 comments
Labels

Comments

@only-su
Copy link

only-su commented Sep 20, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I change some option on config/settings.json, if I restart the container the options are overridden.

What is the purpose of mounting the option file if I cannot change it?

Expected Behavior

Changes made to config file should persist

Steps To Reproduce

  1. Start Container
  2. nano ./config/settings.json
  3. Change anything
  4. restart container

Environment

- OS: Debian 6.1.99-1 (2024-07-15) x86_64
- How docker service was installed: Docker compose

CPU architecture

x86-64

Docker creation

services:
  transmission:
    image: lscr.io/linuxserver/transmission:latest
    container_name: transmission
    environment:
      - PUID=107
      - PGID=118
      - TZ=America/Sao_Paulo
      - USER=***
      - PASS=***
    volumes:
      - ./config:/config
      - /srv/torrent/downloads:/downloads
      - /srv/torrent/watch:/watch
    ports:
      - 9091:9091
      - 51413:51413
      - 51413:51413/udp
    restart: unless-stopped

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    107
User GID:    118
───────────────────────────────────────
Linuxserver.io version: 4.0.6-r0-ls257
Build-date: 2024-09-17T10:36:34+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
Connection to localhost (127.0.0.1) 9091 port [tcp/*] succeeded!
[ls.io-init] done.
localhost:9091/transmission/rpc/ responded: success
s6-supervise svc-transmission: warning: finish script lifetime reached maximum value - sending it a SIGKILL
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    107
User GID:    118
───────────────────────────────────────
Linuxserver.io version: 4.0.6-r0-ls257
Build-date: 2024-09-17T10:36:34+00:00
───────────────────────────────────────
    
ln: failed to create symbolic link '/transmissionic/index.html': File exists
ln: failed to create symbolic link '/combustion-release/index.html': File exists
ln: failed to create symbolic link '/flood-for-transmission/index.html': File exists
ln: failed to create symbolic link '/kettu/index.html': File exists
ln: failed to create symbolic link '/transmission-web-control/index.html': File exists
[custom-init] No custom files found, skipping...
Connection to localhost (127.0.0.1) 9091 port [tcp/*] succeeded!
[ls.io-init] done.
localhost:9091/transmission/rpc/ responded: success
Closing transmission session... done.
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    107
User GID:    118
───────────────────────────────────────
Linuxserver.io version: 4.0.6-r0-ls257
Build-date: 2024-09-17T10:36:34+00:00
───────────────────────────────────────
    
ln: failed to create symbolic link '/transmissionic/index.html': File exists
ln: failed to create symbolic link '/combustion-release/index.html': File exists
ln: failed to create symbolic link '/flood-for-transmission/index.html': File exists
ln: failed to create symbolic link '/kettu/index.html': File exists
ln: failed to create symbolic link '/transmission-web-control/index.html': File exists
[custom-init] No custom files found, skipping...
Connection to localhost (127.0.0.1) 9091 port [tcp/*] succeeded!
[ls.io-init] done.
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@j0nnymoe
Copy link
Member

You should be changing it while the container is stopped but also make sure you aren't changing the ownership/permissions of the file.

@only-su
Copy link
Author

only-su commented Sep 20, 2024

Oh, it worked. Thanks!

Could it be added to the https://hub.docker.com/r/linuxserver/transmission page somewhere?

@njoyard
Copy link

njoyard commented Oct 7, 2024

It is already present (under "Application Setup")

@drizuid
Copy link
Member

drizuid commented Oct 15, 2024

Could it be added to the https://hub.docker.com/r/linuxserver/transmission page somewhere?

As mentioned by njoyard in #289 (comment) the note is already there and has been for numerous years. closing.

@drizuid drizuid closed this as not planned Won't fix, can't repro, duplicate, stale Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

4 participants