Ubuntu - webUI - endless password loops

General support for problems installing or using Deluge
Post Reply
Goggal0r

Ubuntu - webUI - endless password loops

Post 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.
shamael
Compulsive Poster
Compulsive Poster
Posts: 667
Joined: Sat Oct 08, 2016 9:28 am

Re: Ubuntu - webUI - endless password loops

Post 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
Post Reply