Case scenario:
You installed deluged and deluge-web (v.13.12). on your Ubuntu 16.04 Server and it works. Deluge client (thin client mode (v.13.12)) instead returns an error when trying to connect to the daemon (BadLoginError: Username does not exist).
After helplessly googling for a couple of days I was finally able to find a solution to what I guess is a Deluge bug that occurs when you create the config files (running the command
Code: Select all
deluged
Code: Select all
echo "user:password:10" >> ~/.config/deluge/auth
Apparently deluged creates 2 different config folders and 2 auth files in /home/user/.config/deluge and another one in /var/lib/deluge/.config/deluge and also 2 different core.conf files in the same directories.
The thinclient points to the auth file in the /var directory whereas the user details are stored in your home directory with the result that the client cant connect cause it cant find the user.
How I solved it:
Stop the deamon
Code: Select all
sudo systemctl stop deluged
sudo systemctl stop deluge-web
Code: Select all
sudo mv /home/user/.config/deluge/auth /var/lib/deluge/.config/deluge/auth
Code: Select all
sudo rm -r /home/user/.config/deluge
Code: Select all
sudo nano /var/lib/deluge/.config/deluge/core.conf
Code: Select all
"allow_remote": false,
Code: Select all
"allow_remote": true,
Make sure that the auth file has been moved to the var directory and that contains the user and pwd you previously created.
start the deamon
Code: Select all
sudo systemctl start deluged
sudo systemctl start deluge-web
Cheers