I have changed nothing, used to work as intended until yesterday
However, after a number of reboots of the server in one day, where the shutdown process would always hang at "stopping deluge client", I find myself not being able to connect to the daemon, either locally or remotely.
Starting
Code: Select all
deluge-console
Code: Select all
'Q'=Quit, 'a'=Add Host, 'D'=Delete Host │
│ │
│ 127.0.0.1:58846 [Offline]
In the connection dialogue, the previous entry seems to have an undefined state (neither online nor offline). If I select it, the "Start Daemon" options becomes active. If I click it, I get an "An error has occured message and nothing happens"
Entry is
Code: Select all
localclient@127.0.0.1:58856
Running deluge 2.1.1. Please note in the text captures below I've messed around with the passwords and hashes.
Code: Select all
deluged --version
deluged 2.1.1
libtorrent: 1.2.17.0
Python: 3.8.10
OS: Linux Ubuntu 20.04 focal
Code: Select all
systemctl status deluged
● deluged.service - Deluge Bittorrent Client Daemon
Loaded: loaded (/etc/systemd/system/deluged.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/deluged.service.d
└─user.conf
Active: active (running) since Sun 2022-10-30 03:13:20 EET; 55min ago
Docs: man:deluged
Main PID: 3006 (deluged)
Tasks: 5 (limit: 38211)
Memory: 275.2M
CGroup: /system.slice/deluged.service
└─3006 /usr/bin/python3 /usr/bin/deluged -d -l /var/log/deluge/daemon.log -L info
Oct 30 03:13:20 hal9002 systemd[1]: Started Deluge Bittorrent Client Daemon.
Code: Select all
/var/lib/deluge/.config/deluge/core.conf
"allow_remote": true,
Code: Select all
deluge-web
Code: Select all
{
"file": 2,
"format": 1
}{
"base": "/",
"cert": "ssl/daemon.cert",
"default_daemon": "",
"enabled_plugins": [],
"first_login": false,
"https": false,
"interface": "0.0.0.0",
"language": "",
"pkey": "ssl/daemon.pkey",
"port": 8112,
"pwd_salt": "474d51376e3920e26wfef27132d0795d86f19fcb0",
"pwd_sha1": "dd86e225288cccsdfsfbc04ce9e27c6a8193b763",
"session_timeout": 3600,
"sessions": {
"008d0d87c67e0b3e28c120d0a265695c2fe241461ae706db8c9sdfsdf6fdc": {
"expires": 1645591401.0,
"level": 10,
"login": "admin"
},
"01372fabf96374111bd16sdff90efc59f0d0f33a6986b7222189f6622a2": {
"expires": 1667071138.0,
"level": 10,
"login": "admin"
Code: Select all
auth
Code: Select all
localclient:bf06e14dsdfee33dde4f73b417334caa15:10
username1:topasdedarents:10
usernam2:dd86esdfsf5dffabc04ce9e27c6a8193b763:10
username3:bf06e14d2b2fdd598ee33dsdfsdf334caa15:10
username4:torsdfts:10
Code: Select all
daemon.log
Code: Select all
03:13:21 [INFO ][deluge.core.daemon :91 ] Deluge daemon 2.1.1
03:13:21 [INFO ][deluge.core.core :334 ] Successfully loaded session.state: /var/lib/deluge/.config/deluge/session.state
03:13:21 [INFO ][deluge.core.core :334 ] Successfully loaded session.state: /var/lib/deluge/.config/deluge/session.state.bak
03:13:21 [INFO ][deluge.core.alertmanager :138 ] Alert Queue Size set to 10000
03:13:21 [INFO ][deluge.core.rpcserver :410 ] Starting DelugeRPC server :58846
03:13:21 [INFO ][deluge.core.daemon :151 ] Deluge daemon starting...
03:13:21 [INFO ][deluge_label.core :75 ] *** Start Label plugin ***
03:13:21 [INFO ][deluge.pluginmanagerbase :189 ] Plugin Label enabled...
03:13:21 [INFO ][deluge.pluginmanagerbase :189 ] Plugin ltConfig enabled...
03:13:21 [INFO ][deluge.core.authmanager :224 ] Opening auth for load: /var/lib/deluge/.config/deluge/auth
03:13:21 [INFO ][deluge.core.authmanager :232 ] Successfully loaded auth: /var/lib/deluge/.config/deluge/auth
03:13:21 [WARNING ][deluge.core.torrentmanager :1167] Bad shutdown detected so archiving state files
03:13:21 [WARNING ][deluge.common :190 ] Too many existing archives for state. Deleting oldest archive.
03:13:28 [INFO ][deluge.core.torrentmanager :811 ] Loading torrent state: /var/lib/deluge/.config/deluge/state/torrents.state
03:13:28 [INFO ][deluge.core.torrentmanager :824 ] Successfully loaded /var/lib/deluge/.config/deluge/state/torrents.state
03:13:28 [INFO ][deluge.core.torrentmanager :1071] Opening torrents.fastresume for load: /var/lib/deluge/.config/deluge/state/torrents.fastresume
03:13:28 [INFO ][deluge.core.torrentmanager :1082] Successfully loaded torrents.fastresume: /var/lib/deluge/.config/deluge/state/torrents.fastresume
03:13:29 [INFO ][deluge.core.rpcserver :179 ] Deluge Client connection made from: 127.0.0.1:43482
03:13:29 [INFO ][deluge.core.torrentmanager :673 ] <torrentname> from user "localclient" loaded
03:13:29 [INFO ][deluge.core.torrentmanager :887 ] Finished loading 1134 torrents in 0:00:01.481436
03:19:16 [INFO ][deluge.core.rpcserver :179 ] Deluge Client connection made from: 127.0.0.1:43562
Code: Select all
web.log
Code: Select all
03:42:03 [INFO ][deluge.ui.ui:68 ] Deluge ui 2.1.1
03:42:03 [INFO ][deluge.ui.ui:70 ] Starting web ui..
03:42:03 [INFO ][deluge.i18n.util :101 ] Setting up translations from /usr/lib/python3/dist-packages/deluge/i18n
03:42:03 [INFO ][deluge.ui.web.server :731 ] Starting webui server at PID 988428
03:42:03 [INFO ][deluge.ui.web.server :746 ] Serving at http://0.0.0.0:8112/