A feedback+issue I faced to.
As reminder the test here was to remove a self-compiled Deluge/libtorrent and install it from PPA. I guess many of you did it this way already for for the other...And how to solve the issue I faced with the deluge web console prompting for the password all the time. The popup to change the password was well there but in the background of the password prompt, not selectable for any browsers I tested.
Update Deluge from PPA on Debian Jessie
I made my previous startup config with
http://dev.deluge-torrent.org/wiki/User ... ce/systemd so starting the systemd services was not a problem and all my settings (plugin,config, etc) remained untouched, stored in the home folder of user deluge. Here comes the web console issue described above and an highlight of my missing steps: installing the package and start the services with the already configured systemd service leads to reusing the previous auth file containing the localservice key.
Steps to add in case using the systemd wiki and upgrade:
-stop all running instance of deluged/deluge-service
- as your regular logon user start deluged with
- kill the process
- open the new .config/deluge/auth file created in your home folder and copy the ID to /var/lib/deluge/.config/deluge/auth
It's the 1st line of the auth file similar to
Code: Select all
localclient:XXXXXXXXXXXXXXXXXXXXX:10
.
- Copy the same ID in /var/lib/deluge/.config/deluge/hostlist.conf.1.2
Code: Select all
{
"file": 1,
"format": 1
}{
"hosts": [
[
"XXXXXXXXXXXXXXXXXXXXX",
"127.0.0.1",
58846,
"",
""
]
]
}
- restart services
I was then able to logon the webserver and change the password. Dumb error, nothing new but maybe a handy reminder if anyone face the same problem
About the removal of the self-compiled Deluge version previously installed, here is the script I used to remove it. Be careful to not remove the profile (state folder, etc.) of you current setup to not loose anyything.
Use it at your own risk
Stop first Deluged/deluge-web:
Code: Select all
sudo rm /usr/bin/delug*
sudo rm -rf /usr/lib/python*/site-packages/delug*
sudo rm -rf /usr/lib/python*/dist-packages/delug*
sudo rm -rf /usr/local/lib/python*/site-packages/delug*
sudo rm -rf /usr/local/lib/python*/dist-packages/delug*
sudo rm -rf /usr/share/deluge/*
sudo rm -rf /usr/local/share/icons/hicolor/*/apps/delug*
sudo rm -rf /usr/share/applications/deluge.desktop
sudo rm -rf /usr/local/share/applications/deluge.desktop
sudo rm /usr/share/pixmaps/deluge.xpm
sudo rm /usr/local/share/pixmaps/delug*
sudo rm -rf /root/.config/delug*
sudo rm -rf /home/*/.config/delug*
sudo rm -rf /usr/local/share/man/*/delug*