linuxserver / docker-transmission

GNU General Public License v3.0
577 stars 179 forks source link

v4 update broke config #239

Closed tubbo closed 1 year ago

tubbo commented 1 year ago

Is there an existing issue for this?

Current Behavior

I'm experiencing this exact error, but adding $PEERPORT doesn't fix it. https://www.reddit.com/r/docker/comments/110n667/transmission_install_help/

After updating to v4, Transmission won't start with this cryptic error and keeps spamming the logs.

Expected Behavior

I should have been able to pull the image and have my config work without any changes. There were no breaking config changes announced in the Transmission v4.0.2 release, so I'm not sure what sorcery is happening here...But that's why I chose to make an issue here first, to rule out whether the configuration in this image was the problem before escalating further to the transmission project.

Steps To Reproduce

  1. be running transmission on v3.00
  2. update by pulling the latest image
  3. πŸ’₯

Environment

- OS: arch linux
- How docker service was installed: pacman

CPU architecture

x86-64

Docker creation

transmission:
    image: lscr.io/linuxserver/transmission
    container_name: transmission
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      # - TRANSMISSION_WEB_HOME= #optional
      - USER="[REDACTED]"
      - PASS="[REDACTED]"
      # - WHITELIST= #optional
      - PEERPORT="51413" #optional
      # - HOST_WHITELIST= #optional
    volumes:
      - /srv/transmission:/config
      - /mnt/media/downloads:/downloads
      - /mnt/media/torrents:/watch
    ports:
      - '9091:9091'
      - '51413:51413'
      - '51413:51413/udp'
    expose: [9091,51413,51413/udp]
    healthcheck:
      test: |-
        curl --connect-timeout 15 --silent --show-error --fail http://localhost:9091
      interval: 1m00s
      timeout: 15s
      retries: 3
      start_period: 1m00s
    deploy:
      resources:
        limits:
          cpus: '0.50'
          memory: 512M
    labels:
      - "traefik.http.services.transmission.loadbalancer.server.port=9091"

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:    1000
User GID:    1000
───────────────────────────────────────

[custom-init] No custom files found, skipping...
[2023-03-23 15:17:37.565] ERR transmission-daemon Error loading config file -- exiting. (/home/buildozer/aports/community/transmission/src/transmission-4.0.2/daemon/daemon.cc:914)
tail: invalid PID: β€˜β€™
[2023-03-23 15:17:38.290] ERR transmission-daemon Error loading config file -- exiting. (/home/buildozer/aports/community/transmission/src/transmission-4.0.2/daemon/daemon.cc:914)
tail: invalid PID: β€˜β€™
[2023-03-23 15:17:39.292] ERR transmission-daemon Error loading config file -- exiting. (/home/buildozer/aports/community/transmission/src/transmission-4.0.2/daemon/daemon.cc:914)
tail: invalid PID: β€˜β€™
[2023-03-23 15:17:40.293] ERR transmission-daemon Error loading conf
github-actions[bot] commented 1 year ago

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

ryant26 commented 1 year ago

Check the settings.json config file in your config directory to see if it is malformed.

I was getting the same error because I had used quotes in one of the environment variables. Those quotes were copied into the setting.json file and caused it to become invalid.

github-actions[bot] commented 1 year ago

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

github-actions[bot] commented 1 year ago

This issue is locked due to inactivity