qBittorrent login issue Topic is solved
Re: qBittorrent login issue
issue fixed below
Last edited by PANDUS on Mon Jan 13, 2020 3:49 am, edited 2 times in total.
Re: qBittorrent login issue
The config file did not exist? That is strange since it is explicitly created
:
I'll retest a fresh install later, currently I can't see a reason why this fails, besides the mentioned Chromium login issue on Stretch systems.
qbittorrent-nox default
Note that this must be executed as user qbittorrent, which is what the service runs as, so:
sudo -u qbittorrent qbittorrent-nox default should be it, if the above file indeed was not created as expected.

Code: Select all
/home/qbittorrent/.config/qBittorrent/qBittorrent.conf
qbittorrent-nox default
Note that this must be executed as user qbittorrent, which is what the service runs as, so:
sudo -u qbittorrent qbittorrent-nox default should be it, if the above file indeed was not created as expected.
-
- Posts: 1
- Joined: Sat Nov 30, 2019 6:15 am
Re: qBittorrent login issue
Figured this out, in case anyone is still having issues here:
The systemd file is
which is, by default
So the service is run as qbittorrent user by default, so the relevant prefs file is in
so just hit up a quick
The systemd file is
Code: Select all
/etc/systemd/system/qbittorrent.service
Code: Select all
[Unit]
Description=qBittorrent (DietPi)
After=network.target
[Service]
User=qbittorrent
Group=dietpi
RemainAfterExit=yes
ExecStart=/usr/bin/qbittorrent-nox --webui-port=8080
[Install]
WantedBy=multi-user.target
Code: Select all
/home/qbittorrent/.config/qBittorrent/
Code: Select all
cp -r ~/.config/qBittorrent/ /home/qbittorrent/.config
Re: qBittorrent login issue
Hey guys, I found the bug. We used useradd -p "$GLOBAL_PW" to create the user, but this takes the password not as "raw" but as encrypted. So when login fails, please do:
Add the hashed password here:
WebUI\Password_ha1=@ByteArray(yourHashedPassword)
Code: Select all
chpasswd <<< 'qbittorrent:yourPassword'
echo -n 'yourPassword' | md5sum | mawk '{print $1}' # Copy this string (hashed password)
nano /home/qbittorrent/.config/qBittorrent/qBittorrent.conf
WebUI\Password_ha1=@ByteArray(yourHashedPassword)
Re: qBittorrent login issue
Thanks! Just installed the latest today and this is still an issue, after reading all the other threads I found this suggestion. It was the only thing that worked to let me in though the webui. Much appreciated!Visp wrote: ↑Sun Nov 03, 2019 11:45 am well... In my installation there was no configuration file, and the login didn't work.
So I've taken the following steps to make it work:
1.- Connect by SSH to your device.
2.- Execute:The default user name and password will now appear, and the service will be running on port 8080. Access to your __IP__:8080, with the credentials that qbitorrent has indicated, login and change the password from the configuration.Code: Select all
qbittorrent-nox default
Now you can kill the qbitorrent-nox service (Ctrl+C) and restart the device services:
Now you can access to the service with:Code: Select all
dietpi-services restart
user: qbittorrent
passwd: __YOURPASSWORD__
I hope I've explained well....![]()

Re: qBittorrent login issue
I've been fighting with this problem for a while now and finally yesterday after inspect the qBittorrent.conf on my home folder and the qBittorrent home folder i figure out that every time I restarted the service the password was resent to mygobalpassword
Damnit!
So for me the username was: qbittorrent
and the password: myglobalpassword
Now I can log in normally.



Damnit!
So for me the username was: qbittorrent
and the password: myglobalpassword
Now I can log in normally.