Transmission Container not running as User & Group specified in config

I am working with a TrueNAS SCALE (24.10 EE) device. Prior to now, I was using the IX-provided container for Transmission without issue, but I recently decided I wanted a bit more control over my own setup, so I am in the process of moving my containers over to ones manage by Dockge instead.

When setting up Transmission under Dockge, I have specified the User & Group IDs as 568, but when the container runs, it’s running them as 911 as seen in the console. Am I missing something, or is this a bug?

Compose file:

services:
  transmission:
    image: lscr.io/linuxserver/transmission:latest
    container_name: transmission
    environment:
      - PUID=568
      - PGID=568
      - TZ=America/New_York
      - USER=(Redacted)
      - PASS=(Redacted)
    volumes:
      - /mnt/data/apps/transmission/config:/config
      - /mnt/data/torrents:/downloads
      - /mnt/data/torrents/watch:/watch
    ports:
      - 30096:9091
      - 51413:51413
      - 51413:51413/udp
    restart: unless-stopped

Console Output:

transmission has been recreated
transmission  | [migrations] started
transmission  | [migrations] no migrations found
transmission  | usermod: no changes
transmission  | ───────────────────────────────────────
transmission  | 
transmission  |       β–ˆβ–ˆβ•—     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
transmission  |       β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—
transmission  |       β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘
transmission  |       β–ˆβ–ˆβ•‘     β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘
transmission  |       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•
transmission  |       β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β• β•šβ•β•β•β•β•β•
transmission  | 
transmission  |    Brought to you by linuxserver.io
transmission  | ───────────────────────────────────────
transmission  | 
transmission  | To support LSIO projects visit:
transmission  | https://www.linuxserver.io/donate/
transmission  | 
transmission  | ───────────────────────────────────────
transmission  | GID/UID
transmission  | ───────────────────────────────────────
transmission  | 
transmission  | User UID:    911
transmission  | User GID:    911
transmission  | ───────────────────────────────────────
transmission  | Linuxserver.io version: 4.0.6-r0-ls268
transmission  | Build-date: 2024-11-19T10:41:19+00:00
transmission  | ───────────────────────────────────────
transmission  |     
transmission  | [custom-init] No custom files found, skipping...
transmission  | [2024-11-19 21:16:23.155] utils.cc:129: Couldn't read '/config/stats.json': Permission denied (13)
transmission  | [2024-11-19 21:16:23.157] utils.cc:129: Couldn't read '/config/bandwidth-groups.json': Permission denied (13)
transmission  | Connection to localhost (127.0.0.1) 30096 port [tcp/*] succeeded!
transmission  | [2024-11-19 21:16:24.162] ERR utils.cc:129 Couldn't read '/config/dht.dat': Permission denied (13) (utils.cc:129)
transmission  | [ls.io-init] done.
transmission  | s6-supervise svc-transmission: warning: finish script lifetime reached maximum value - sending it a SIGKILL
transmission  | Closing transmission session... done.
transmission exited with code 0

Related to this?

1 Like

I am running the ix-apps version and I have no issues there. The ix-apps version also sets UID,USER_ID and GID variables in addition to PUID and PGID. No clue if that has any effect.

ix-app version is running on version 4.0.6-r0-ls264:

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

User UID:    921
User GID:    1008
───────────────────────────────────────
Linuxserver.io version: 4.0.6-r0-ls264
Build-date: 2024-11-05T10:39:26+00:00
───────────────────────────────────────

Thank you - I asked on the LinuxServer.io forums and was promptly met with a β€œWe don’t support TrueNAS or Dockge”.

Thank you for the find, I’ll update in the Bug on GitHub.