Page 1 of 1

Ubuntu - webUI - endless password loops

Posted: Mon Apr 03, 2017 10:13 pm
by Goggal0r
Hey All,

Im having a bit on an issue with trying to log into Deluge. When loading Deluge in the web UI it asked for the
password (its a new install so I enter deluge) it asked if I want to reset the password which I click yes and it
even brings up the box to change the password. But before I can do anything else it prompts the password again
and just endlessly loops from there. Entering a wrong password it does gibe me a failed auth error.
The only thing I could really find from Google had something to do with server time being off but i've
confirmed its synced correctly.

This is on a brand new install of Ubuntu Server 16.04 LTS and I followed this guide to install Deluge http://www.havetheknowhow.com/Install-t ... dless.html. (I just this guide the last time I installed Deluge and had no issue)

Any guidance on this would be much appreciated.

Re: Ubuntu - webUI - endless password loops

Posted: Tue Apr 04, 2017 8:40 am
by shamael
Hi Goggal0r

I guess you don't have any log file populated? The tutorial you point to creates the log files but does not tell Deluged and Deluge-web to write anything to it. Something like the line below is necessary in the service created, here an example with deluged only:

Code: Select all

ExecStart=/usr/bin/deluged -d -l /var/log/deluged.log -L info
There is a PPA repo maintained to have the last version of deluge & libtorrent, take a look athttp://dev.deluge-torrent.org/wiki/Inst ... nux/Ubuntu to have the last version. The complete creation (with logging correctly described) is available too http://dev.deluge-torrent.org/wiki/User ... ce/systemd. Similar to yours but more complete.

About your issue, I faced the same issue when I started the deluge-web by hand instead of with systemctl command. If your profile is brand new (no torrent or anything) it may be easier to recreate all the generated files than to edit the config itself.

Code: Select all

sudo systemctl stop deluged deluge-web
sudo pkill deluged
sudo pkill deluge-web
sudo rm -rf /var/lib/deluge/.config/deluge
sudo sudo systemctl start deluged deluge-web
I guess updating first with PPA version+add log level to "debug" may be a good idea to troubleshoot