[SOLVED] Deluge Web on Debian: BadLoginError

General support for problems installing or using Deluge
h0m3
New User
New User
Posts: 2
Joined: Tue Apr 16, 2019 5:39 am

[SOLVED] Deluge Web on Debian: BadLoginError

Postby h0m3 » Tue Apr 16, 2019 6:04 am

Hello,

I'm trying to run Deluge Web using Debian Stable, i've installed Deluge from the package manager:

Code: Select all

apt install deluged deluge-web deluge-webui


Deluged has a systemd daemon that runs fine and Debian create a user called debian-deluged with home in /var/lib/deluged. And this user is used by deluged daemon (checked with ps by checking the PID).

But debian-web and debian-webui won't install any service on my machine, so i've followed Deluge Web UI (deluge-web) Service from the guide changing the username from deluge to debian-deluged to match deluged username.

When i open the web interface i get only that the daemon is not running. Obviously no error there, but searching in the log files from the server:

/var/log/deluged/daemon.log

Code: Select all

[INFO    ] 01:58:28 configmanager:70 Setting config directory to: /var/lib/deluged/config
[INFO    ] 01:58:28 daemon:127 Deluge daemon 1.3.13
[INFO    ] 01:58:28 configmanager:70 Setting config directory to: /var/lib/deluged/config
[INFO    ] 01:58:28 core:87 Starting libtorrent 1.1.1.0 session..
[INFO    ] 01:58:28 rpcserver:369 Starting DelugeRPC server localhost:58846
[WARNING ] 01:58:28 preferencesmanager:507 GeoIP Unavailable
[INFO    ] 01:58:28 torrentmanager:650 Successfully loaded state file: /var/lib/deluged/config/state/torrents.state
[INFO    ] 01:58:35 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58626
[ERROR   ] 01:58:35 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:58:35 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:58:37 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58628
[ERROR   ] 01:58:37 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:58:37 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:58:39 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58630
[INFO    ] 01:58:39 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58632
[ERROR   ] 01:58:39 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[ERROR   ] 01:58:39 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:58:39 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:58:39 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:58:41 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58634
[ERROR   ] 01:58:41 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:58:41 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:58:43 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58636
[ERROR   ] 01:58:43 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:58:43 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:58:45 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58638
[ERROR   ] 01:58:45 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:58:45 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:58:47 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58640
[ERROR   ] 01:58:47 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:58:47 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:58:49 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58642
[ERROR   ] 01:58:49 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:58:49 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:58:51 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58644
[ERROR   ] 01:58:51 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:58:51 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:58:53 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58646
[ERROR   ] 01:58:53 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:58:53 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:58:55 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58648
[ERROR   ] 01:58:55 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:58:55 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:58:57 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58650
[ERROR   ] 01:58:57 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:58:57 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:58:59 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58652
[ERROR   ] 01:58:59 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:58:59 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:01 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58654
[ERROR   ] 01:59:01 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:01 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:04 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58656
[ERROR   ] 01:59:04 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:04 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:05 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58658
[ERROR   ] 01:59:06 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:06 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:08 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58660
[ERROR   ] 01:59:08 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:08 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:10 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58662
[ERROR   ] 01:59:10 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:10 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:13 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58664
[ERROR   ] 01:59:13 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:13 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:14 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58666
[ERROR   ] 01:59:15 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:15 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:17 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58668
[ERROR   ] 01:59:17 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:17 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:19 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58670
[ERROR   ] 01:59:19 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:19 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:21 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58672
[ERROR   ] 01:59:21 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:21 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:23 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58674
[ERROR   ] 01:59:23 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:23 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:25 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58676
[ERROR   ] 01:59:25 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:25 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:27 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58678
[ERROR   ] 01:59:27 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:27 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:29 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58680
[ERROR   ] 01:59:29 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:29 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:31 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58682
[ERROR   ] 01:59:31 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:31 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:33 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58684
[ERROR   ] 01:59:33 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:33 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:35 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58686
[ERROR   ] 01:59:35 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:35 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:37 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58688
[ERROR   ] 01:59:37 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:37 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:40 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58690
[ERROR   ] 01:59:40 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:40 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:42 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58692
[ERROR   ] 01:59:42 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:42 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:44 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58694
[ERROR   ] 01:59:44 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:44 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:46 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58696
[ERROR   ] 01:59:46 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:46 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
[INFO    ] 01:59:48 rpcserver:206 Deluge Client connection made from: 127.0.0.1:58698
[ERROR   ] 01:59:48 rpcserver:268 Username does not exist
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
    raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO    ] 01:59:48 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.


journalctl -u deluged

Code: Select all

-- Logs begin at Mon 2019-04-15 22:34:35 -03, end at Tue 2019-04-16 02:55:34 -03. --
Apr 16 01:43:58 windhelm systemd[1]: Starting LSB: Start or stop the Deluge BitTorrent daemon....
Apr 16 01:43:58 windhelm deluged[8197]: Starting Deluge BitTorrent Daemon: deluged Not starting Deluge BitTorrent Daemon deluged, disabled in /etc/default/deluged.
Apr 16 01:43:58 windhelm systemd[1]: Started LSB: Start or stop the Deluge BitTorrent daemon..
Apr 16 01:45:33 windhelm systemd[1]: Stopping LSB: Start or stop the Deluge BitTorrent daemon....
Apr 16 01:45:33 windhelm deluged[8358]: Stopping Deluge BitTorrent Daemon: deluged.
Apr 16 01:45:33 windhelm systemd[1]: Stopped LSB: Start or stop the Deluge BitTorrent daemon..
Apr 16 01:45:33 windhelm systemd[1]: Starting LSB: Start or stop the Deluge BitTorrent daemon....
Apr 16 01:45:33 windhelm deluged[8365]: Starting Deluge BitTorrent Daemon: deluged.
Apr 16 01:45:33 windhelm systemd[1]: Started LSB: Start or stop the Deluge BitTorrent daemon..
Apr 16 01:46:12 windhelm systemd[1]: Stopping LSB: Start or stop the Deluge BitTorrent daemon....
Apr 16 01:46:12 windhelm deluged[8451]: Stopping Deluge BitTorrent Daemon: deluged.
Apr 16 01:46:12 windhelm systemd[1]: Stopped LSB: Start or stop the Deluge BitTorrent daemon..
Apr 16 01:46:12 windhelm systemd[1]: Starting LSB: Start or stop the Deluge BitTorrent daemon....
Apr 16 01:46:12 windhelm deluged[8457]: Starting Deluge BitTorrent Daemon: deluged.
Apr 16 01:46:12 windhelm systemd[1]: Started LSB: Start or stop the Deluge BitTorrent daemon..
Apr 16 01:52:37 windhelm systemd[1]: Stopping LSB: Start or stop the Deluge BitTorrent daemon....
Apr 16 01:52:37 windhelm deluged[8707]: Stopping Deluge BitTorrent Daemon: deluged.
Apr 16 01:52:37 windhelm systemd[1]: Stopped LSB: Start or stop the Deluge BitTorrent daemon..
Apr 16 01:52:37 windhelm systemd[1]: Starting LSB: Start or stop the Deluge BitTorrent daemon....
Apr 16 01:52:37 windhelm deluged[8716]: Starting Deluge BitTorrent Daemon: deluged.
Apr 16 01:52:37 windhelm systemd[1]: Started LSB: Start or stop the Deluge BitTorrent daemon..
Apr 16 01:54:41 windhelm systemd[1]: Stopping LSB: Start or stop the Deluge BitTorrent daemon....
Apr 16 01:54:41 windhelm deluged[8778]: Stopping Deluge BitTorrent Daemon: deluged.
Apr 16 01:54:41 windhelm systemd[1]: Stopped LSB: Start or stop the Deluge BitTorrent daemon..
Apr 16 01:54:41 windhelm systemd[1]: Starting LSB: Start or stop the Deluge BitTorrent daemon....
Apr 16 01:54:41 windhelm deluged[8787]: Starting Deluge BitTorrent Daemon: deluged.
Apr 16 01:54:41 windhelm systemd[1]: Started LSB: Start or stop the Deluge BitTorrent daemon..
Apr 16 01:58:28 windhelm systemd[1]: Stopping LSB: Start or stop the Deluge BitTorrent daemon....
Apr 16 01:58:28 windhelm deluged[8863]: Stopping Deluge BitTorrent Daemon: deluged.
Apr 16 01:58:28 windhelm systemd[1]: Stopped LSB: Start or stop the Deluge BitTorrent daemon..
Apr 16 01:58:28 windhelm systemd[1]: Starting LSB: Start or stop the Deluge BitTorrent daemon....
Apr 16 01:58:28 windhelm deluged[8871]: Starting Deluge BitTorrent Daemon: deluged.
Apr 16 01:58:28 windhelm systemd[1]: Started LSB: Start or stop the Deluge BitTorrent daemon..


journalctl -u deluge-web

Code: Select all

-- Logs begin at Mon 2019-04-15 22:34:35 -03, end at Tue 2019-04-16 02:55:58 -03. --
Apr 16 01:49:04 windhelm systemd[1]: Starting Deluge Bittorrent Client Web Interface...
Apr 16 01:49:09 windhelm systemd[1]: Started Deluge Bittorrent Client Web Interface.
Apr 16 01:49:39 windhelm deluge-web[8580]: [ERROR   ] 01:49:39 client:391 RPCError Message Received!
Apr 16 01:49:39 windhelm deluge-web[8580]: --------------------------------------------------------------------------------
Apr 16 01:49:39 windhelm deluge-web[8580]: RPCRequest: daemon.login(, )
Apr 16 01:49:39 windhelm deluge-web[8580]: --------------------------------------------------------------------------------
Apr 16 01:49:39 windhelm deluge-web[8580]:   File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
Apr 16 01:49:39 windhelm deluge-web[8580]:     ret = component.get("AuthManager").authorize(*args, **kwargs)
Apr 16 01:49:39 windhelm deluge-web[8580]:   File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
Apr 16 01:49:39 windhelm deluge-web[8580]:     raise BadLoginError("Username does not exist")
Apr 16 01:49:39 windhelm deluge-web[8580]: BadLoginError: Username does not exist
Apr 16 01:49:39 windhelm deluge-web[8580]: --------------------------------------------------------------------------------
Apr 16 01:49:39 windhelm deluge-web[8580]: [ERROR   ] 01:49:39 client:391 RPCError Message Received!
Apr 16 01:49:39 windhelm deluge-web[8580]: --------------------------------------------------------------------------------
Apr 16 01:49:39 windhelm deluge-web[8580]: RPCRequest: daemon.login(, )
Apr 16 01:49:39 windhelm deluge-web[8580]: --------------------------------------------------------------------------------
Apr 16 01:49:39 windhelm deluge-web[8580]:   File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
Apr 16 01:49:39 windhelm deluge-web[8580]:     ret = component.get("AuthManager").authorize(*args, **kwargs)
Apr 16 01:49:39 windhelm deluge-web[8580]:   File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
Apr 16 01:49:39 windhelm deluge-web[8580]:     raise BadLoginError("Username does not exist")
Apr 16 01:49:39 windhelm deluge-web[8580]: BadLoginError: Username does not exist
Apr 16 01:49:39 windhelm deluge-web[8580]: --------------------------------------------------------------------------------
Apr 16 01:49:41 windhelm deluge-web[8580]: /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
Apr 16 01:49:41 windhelm deluge-web[8580]:   import libtorrent as lt
Apr 16 01:49:41 windhelm deluge-web[8580]: [ERROR   ] 01:49:41 client:391 RPCError Message Received!
Apr 16 01:49:41 windhelm deluge-web[8580]: --------------------------------------------------------------------------------
Apr 16 01:49:41 windhelm deluge-web[8580]: RPCRequest: daemon.login(, )
Apr 16 01:49:41 windhelm deluge-web[8580]: --------------------------------------------------------------------------------
Apr 16 01:49:41 windhelm deluge-web[8580]:   File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
Apr 16 01:49:41 windhelm deluge-web[8580]:     ret = component.get("AuthManager").authorize(*args, **kwargs)
Apr 16 01:49:41 windhelm deluge-web[8580]:   File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
Apr 16 01:49:41 windhelm deluge-web[8580]:     raise BadLoginError("Username does not exist")
Apr 16 01:49:41 windhelm deluge-web[8580]: BadLoginError: Username does not exist
Apr 16 01:49:41 windhelm deluge-web[8580]: --------------------------------------------------------------------------------
Apr 16 01:49:41 windhelm deluge-web[8580]: [ERROR   ] 01:49:41 rpcserver:378 Couldn't listen on localhost:58846: [Errno 98] Address already in use.
Apr 16 01:49:43 windhelm deluge-web[8580]: [ERROR   ] 01:49:43 client:391 RPCError Message Received!
Apr 16 01:49:43 windhelm deluge-web[8580]: --------------------------------------------------------------------------------
Apr 16 01:49:43 windhelm deluge-web[8580]: RPCRequest: daemon.login(, )
Apr 16 01:49:43 windhelm deluge-web[8580]: --------------------------------------------------------------------------------
Apr 16 01:49:43 windhelm deluge-web[8580]:   File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
Apr 16 01:49:43 windhelm deluge-web[8580]:     ret = component.get("AuthManager").authorize(*args, **kwargs)
Apr 16 01:49:43 windhelm deluge-web[8580]:   File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize
Apr 16 01:49:43 windhelm deluge-web[8580]:     raise BadLoginError("Username does not exist")
Apr 16 01:49:43 windhelm deluge-web[8580]: BadLoginError: Username does not exist
Apr 16 01:49:43 windhelm deluge-web[8580]: --------------------------------------------------------------------------------
Apr 16 01:49:45 windhelm deluge-web[8580]: [ERROR   ] 01:49:45 client:391 RPCError Message Received!
Apr 16 01:49:45 windhelm deluge-web[8580]: --------------------------------------------------------------------------------
Apr 16 01:49:45 windhelm deluge-web[8580]: RPCRequest: daemon.login(, )
Apr 16 01:49:45 windhelm deluge-web[8580]: --------------------------------------------------------------------------------
Apr 16 01:49:45 windhelm deluge-web[8580]:   File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
Apr 16 01:49:45 windhelm deluge-web[8580]:     ret = component.get("AuthManager").authorize(*args, **kwargs)
Apr 16 01:49:45 windhelm deluge-web[8580]:   File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 89, in authorize


Clearly the error is BadLoginError("Username does not exist")

Upon searching on the web i found that i need to create an auth file, since both deluged and deluge-web share the same user, i've created the inexistent file /var/lib/deluged/.config/deluge/auth and added:

Code: Select all

debian-deluged:deluge:10


with the owner beign debian-deluged:debian-deluged and since /var/lib/deluged is the home for debian-deluged as its in /etc/passwd. But it didn't work. The directory /var/lib/deluged/.config/deluge existed, telling me that deluge-web was working but there was no auth file on it.

Then, i've added the same line to the /var/lib/deluged/config/auth wich i suppose was the deluged auth file. This file had the

Code: Select all

localclient:cc9c32efd5440f6ea5224a196432d6f97e5212f1:10


i just added below. Also didn't work.

My setup is Debian GNU/Linux 9 with Linux 4.9.0-8-amd64
My deluge is 1.3.13 / libtorrent: 1.1.1.0

All installed and updated by debian repo
Last edited by h0m3 on Tue Apr 16, 2019 6:57 am, edited 1 time in total.

h0m3
New User
New User
Posts: 2
Joined: Tue Apr 16, 2019 5:39 am

Re: Deluge Web on Debian: BadLoginError

Postby h0m3 » Tue Apr 16, 2019 6:30 am

Solved the problem by creating another user and editing both deluge-web.service that i've created and /etc/init.d/deluged to use deluge user instead of debian-deluged pointed to /var/lib/deluge

Don't know if it's because of the minus signal or the username size, but deluge doesn't like the username debian-deluged.

I filled a bug report for the packager of deluged to change the username for the default deluge as from Deluge documentation since Debian doesn't use the latest release of deluged i cannot fill a bug report on deluge.

Until its solved, you can just create a deluge system user:

Code: Select all

groupadd deluge
useradd -r -d /var/lib/deluge -g deluge deluge
mkdir -p /var/lib/deluge
chown -R deluge:deluge /var/lib/deluge


and edit both /etc/init.d/deluged and your own /etc/systemd/system/deluge-web.service to use this user, then deluge will just work fine.


Return to “Support”

Who is online

Users browsing this forum: Cas and 6 guests