[SOLVED] thinclient not connecting to daemon BadLoginError
Posted: Tue Dec 13, 2016 1:41 pm
I'm posting this in case someone is facing the same problem.
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 and the auth file typing .
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
move your auth file in your home directory to the var directory
Remove the deluge directory and all its files in your home folder.
Edit the core.conf file
find
and change it to
Save it and exit;
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
Open deluge client create a new connection pointing to your web server IP address, port 58846, your user and passwrd. Restart (Ctrl + Q) deluge client and at that point it should finally connect.
Cheers
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