Skip to content

[BUG] Deluge Ignores auth changes #219

@Dracrius

Description

@Dracrius

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I've tried basically everything I can think of even starting from scratch but nothing I seem to do will get the Linuxserver deluge docker image to see changes made to the auth file.

Expected Behavior

Add a user to auth file maybe need a restart. Then I should be able to connect a thin client to the docker container.

Steps To Reproduce

  1. Setup new linuxserver docker container using docker compose.
  2. Start docker container to let it populate the config folder.
  3. Edited the auth file in /config to contain a second user with dracrius:passw0rd:10 (diffrent password but only alphanumeric).
  4. Attempt restarting the docker container.
  5. Attempt to connect from thin client from another machine.
  6. See the deamon active with version number in connection manager.
  7. Attempt to connect with new user and get user doesn't exist message.
  8. Attempt to connect with localclient with new password but get password doesnt match message.
  9. Even destroying the container and rebuilding it but the user doesn't work when accessing the deamon.

I've verified remote connection is on in the core.config but any attempt to connect shows User does not exist message when trying to connect as dracrius or Password doesn't match if attempting to use localclient. Between the thin client UI showing the deluge version, that its active and the login prompts show that the port settings are working and deamon mode is enabled just not the users set in auth.

Environment

- OS:Arch Linux
- How docker service was installed: docker compose

CPU architecture

x86-64

Docker creation

services:
  deluge:
    image: lscr.io/linuxserver/deluge:latest
    container_name: deluge
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Canada/Atlantic
      - DELUGE_LOGLEVEL=error #optional
    volumes:
      - ./config:/config
      - /l/Torrents:/downloads
    ports:
      - 8112:8112
      - 6881:6881
      - 6881:6881/udp
      - 58846:58846 #optional
    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:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 2.2.0-r0-ls326
Build-date: 2025-05-05T15:41:47+00:00
───────────────────────────────────────
[custom-init] No custom files found, skipping...
08:20:18 [ERROR   ][deluge.component              :1672] [Failure instance: Traceback: <class 'TypeError'>: can only concatenate list (not "int") to list
/usr/lib/python3.12/site-packages/twisted/internet/defer.py:1088:_runCallbacks
/usr/lib/python3.12/site-packages/twisted/internet/task.py:872:cb
/usr/lib/python3.12/site-packages/deluge/core/preferencesmanager.py:158:start
/usr/lib/python3.12/site-packages/deluge/core/preferencesmanager.py:172:do_config_set_func
/usr/lib/python3.12/site-packages/deluge/core/preferencesmanager.py:187:_on_set_listen_ports
/usr/lib/python3.12/site-packages/deluge/core/preferencesmanager.py:228:__set_listen_on
]
Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/twisted/internet/defer.py", line 1088, in _runCallbacks
    current.result = callback(  # type: ignore[misc]
  File "/usr/lib/python3.12/site-packages/twisted/internet/task.py", line 872, in cb
    return callable(*args, **kw)
  File "/usr/lib/python3.12/site-packages/deluge/core/preferencesmanager.py", line 158, in start
    self.do_config_set_func(key, self.config[key])
  File "/usr/lib/python3.12/site-packages/deluge/core/preferencesmanager.py", line 172, in do_config_set_func
    on_set_func(key, value)
  File "/usr/lib/python3.12/site-packages/deluge/core/preferencesmanager.py", line 187, in _on_set_listen_ports
    self.__set_listen_on()
  File "/usr/lib/python3.12/site-packages/deluge/core/preferencesmanager.py", line 228, in __set_listen_on
    for port in range(listen_ports[0], listen_ports[1] + 1)
builtins.TypeError: can only concatenate list (not "int") to list
Connection to 127.0.0.1 58846 port [tcp/*] succeeded!
Connection to 127.0.0.1 8112 port [tcp/*] succeeded!
[ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions