# qBittorrent login issue

**URL:** https://dietpi.com/forum/t/qbittorrent-login-issue/3202
**Category:** General Discussion
**Created:** [18 May 2019 23:39 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202 "2019-05-18T23:39:35Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![sc355](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/e0b2c6/32.png) [@sc355](https://dietpi.com/forum/u/sc355)
#### Post date: [18 May 2019 23:39 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/1 "2019-05-18T23:39:35Z")

</div>

hi, i upgrated my dietpi to lastest version today and reinstalled softwares. after qbittorrent install, i cannot login on webgui. tried different combinations;

qbittorrent / dietpi  
qbittorrent / adminadmin  
qbittorrent / _myglobalpass_  
root / dietpi  
root / adminadmin  
root / _myglobalpass_

no result.

searched forums, tried to config qbittorrent.conf webgui password line. nothing.

please help me to find right solution.

---

<div class="post-metadata">

### Author: ![brtravel](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/50afbb/32.png) [@brtravel](https://dietpi.com/forum/u/brtravel)
#### Post date: [22 May 2019 06:57 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/2 "2019-05-22T06:57:47Z")

</div>

qbittorrent / dietpi still works for me on latest updates 🤷‍♂️

---

<div class="post-metadata">

### Author: ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)
#### Post date: [25 May 2019 23:54 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/3 "2019-05-25T23:54:50Z")

</div>

sc355  
I could replicate the issue. Even removing the user and password from the config file and restarting the service didn’t allow me to login the web UI: [https://github.com/qbittorrent/qBittorrent/wiki/Web-UI-password-locked-on-qBittorrent-NO-X-(qbittorrent-nox)](https://github.com/qbittorrent/qBittorrent/wiki/Web-UI-password-locked-on-qBittorrent-NO-X-%28qbittorrent-nox%29)  
But also there is no wrong user/password warning, so it seems to be another issue actually. Is that true in your case as well when you use qbittorrent / _myglobalpass_?

Hah, tried it with another browser (Edge) and there it worked. On Opera it still does not…  
Logged in with Edge with default user/password (admin/adminadmin) after removing user and password lines from config + restart. Then adjusted both in web UI and compared to how we add it in dietpi-software: Exactly the same!

So it seems to be a browser specific issue. Please verify that this is the case for you as well (e.g. it works with Microsoft Edge). Then we need to report to qBittorrent devs.

---

<div class="post-metadata">

### Author: ![sc355](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/e0b2c6/32.png) [@sc355](https://dietpi.com/forum/u/sc355)
#### Post date: [2 June 2019 14:05 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/4 "2019-06-02T14:05:43Z")

</div>

> [@](#):
>
> @sc355  
> I could replicate the issue. Even removing the user and password from the config file and restarting the service didn’t allow me to login the web UI: [Web UI password locked on qBittorrent NO X (qbittorrent nox) · qbittorrent/qBittorrent Wiki · GitHub](https://github.com/qbittorrent/qBittorrent/wiki/Web-UI-password-locked-on-qBittorrent-NO-X-%28qbittorrent-nox%29)  
> But also there is no wrong user/password warning, so it seems to be another issue actually. Is that true in your case as well when you use qbittorrent / _myglobalpass_?
> 
> Hah, tried it with another browser (Edge) and there it worked. On Opera it still does not…  
> Logged in with Edge with default user/password (admin/adminadmin) after removing user and password lines from config + restart. Then adjusted both in web UI and compared to how we add it in dietpi-software: Exactly the same!
> 
> So it seems to be a browser specific issue. Please verify that this is the case for you as well (e.g. it works with Microsoft Edge). Then we need to report to qBittorrent devs.

you are right Michalng thank you.  
hust tried on edge, and its ok with qbittorrent / dietpi  
still cant login on chrome.

---

<div class="post-metadata">

### Author: ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)
#### Post date: [3 June 2019 14:34 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/5 "2019-06-03T14:34:22Z")

</div>

Ref: [https://github.com/MichaIng/DietPi/issues/2861](https://github.com/MichaIng/DietPi/issues/2861)

No issue on Buster systems, so it is resolved with current qBitTorrent versions. Will report this to the Debian bug tracker, perhaps it is reason enough to update the version in Stretch repo. Otherwise we probably need to ship custom compiled binaries.

I will add the info to our online docs for now: [https://dietpi.com/forum/t/dietpi-software-details-for-all-installation-options/22/68](https://dietpi.com/forum/t/dietpi-software-details-for-all-installation-options/22/68)

---

<div class="post-metadata">

### Author: ![Cengiz87](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@Cengiz87](https://dietpi.com/forum/u/Cengiz87)
#### Post date: [26 October 2019 15:58 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/6 "2019-10-26T15:58:43Z")

</div>

I installed qbittorrent today and tried to login with Chrome, Edge and Firefox all give a warning ‘username and/or password incorrect’ after sometime my ip get banned. I used  
admin - adminadmin,  
qbittorrent - dietpi,  
qbittorrent - adminadmin,  
qbittorrent - myglobalpassword

and also tried root as username

nothing worked for me.

---

<div class="post-metadata">

### Author: ![Visp](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/v/5e9695/32.png) [@Visp](https://dietpi.com/forum/u/Visp)
#### Post date: [31 October 2019 17:59 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/7 "2019-10-31T17:59:35Z")

</div>

> [@](#):
>
> I installed qbittorrent today and tried to login with Chrome, Edge and Firefox all give a warning ‘username and/or password incorrect’ after sometime my ip get banned. I used  
> admin - adminadmin,  
> qbittorrent - dietpi,  
> qbittorrent - adminadmin,  
> qbittorrent - myglobalpassword
> 
> and also tried root as username
> 
> nothing worked for me.

I have the same issue with a fresh install…

---

<div class="post-metadata">

### Author: ![odripi](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/o/47e85d/32.png) [@odripi](https://dietpi.com/forum/u/odripi)
#### Post date: [2 November 2019 11:07 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/8 "2019-11-02T11:07:50Z")

</div>

With me also the same problem.  
I changed the password under qbittorrent / .config

But no success no registration possible.

---

<div class="post-metadata">

### Author: ![Visp](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/v/5e9695/32.png) [@Visp](https://dietpi.com/forum/u/Visp)
#### Post date: [3 November 2019 10:45 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/9 "2019-11-03T10:45:40Z")

</div>

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:

```nohighlight
qbittorrent-nox default

```

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.

Now you can kill the qbitorrent-nox service (Ctrl+C) and restart the device services:

```nohighlight
dietpi-services restart

```

Now you can access to the service with:

user: qbittorrent  
passwd: **YOURPASSWORD**  
  
  
I hope I’ve explained well… 🤨

---

<div class="post-metadata">

### Author: ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)
#### Post date: [4 November 2019 09:43 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/10 "2019-11-04T09:43:29Z")

</div>

Thanks for your reports guys. I will try to replicate. Probably the way the password has to be stored changed.

---

<div class="post-metadata">

### Author: ![PANDUS](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/p/e47774/32.png) [@PANDUS](https://dietpi.com/forum/u/PANDUS)
#### Post date: [20 November 2019 04:13 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/11 "2019-11-20T04:13:04Z")

</div>

issue fixed below

---

<div class="post-metadata">

### Author: ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)
#### Post date: [20 November 2019 16:54 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/12 "2019-11-20T16:54:10Z")

</div>

The config file did not exist? That is strange since it is explicitly created 🤔:

```nohighlight
/home/qbittorrent/.config/qBittorrent/qBittorrent.conf

```

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.

---

<div class="post-metadata">

### Author: ![sneakers-the-rat](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@sneakers-the-rat](https://dietpi.com/forum/u/sneakers-the-rat)
#### Post date: [30 November 2019 05:19 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/13 "2019-11-30T05:19:17Z")

</div>

Figured this out, in case anyone is still having issues here:

The systemd file is

```nohighlight
/etc/systemd/system/qbittorrent.service

```

which is, by default

```nohighlight
[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

```

So the service is run as qbittorrent user by default, so the relevant prefs file is in

```nohighlight
/home/qbittorrent/.config/qBittorrent/

```

so just hit up a quick

```nohighlight
cp -r ~/.config/qBittorrent/ /home/qbittorrent/.config

```

---

<div class="post-metadata">

### Author: ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)
#### Post date: [17 December 2019 22:26 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/14 "2019-12-17T22:26:40Z")

</div>

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:

```nohighlight
chpasswd <<< 'qbittorrent:yourPassword'
echo -n 'yourPassword' | md5sum | mawk '{print $1}' # Copy this string (hashed password)
nano /home/qbittorrent/.config/qBittorrent/qBittorrent.conf

```

Add the hashed password here:  
WebUI\Password\_ha1=@ByteArray(yourHashedPassword)

---

<div class="post-metadata">

### Author: ![PANDUS](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/p/e47774/32.png) [@PANDUS](https://dietpi.com/forum/u/PANDUS)
#### Post date: [13 January 2020 02:35 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/15 "2020-01-13T02:35:46Z")

</div>

> [@](#):
>
> 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:
> 
> ```plaintext
> qbittorrent-nox default
> 
> ```
> 
> 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.
> 
> Now you can kill the qbitorrent-nox service (Ctrl+C) and restart the device services:
> 
> ```plaintext
> dietpi-services restart
> 
> ```
> 
> Now you can access to the service with:
> 
> user: qbittorrent  
> passwd: **YOURPASSWORD**  
>   
>   
> I hope I’ve explained well… 🤨

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! 🕶

---

<div class="post-metadata">

### Author: ![lpuerto](https://dietpi.com/forum/user_avatar/dietpi.com/lpuerto/32/32_2.png) [@lpuerto](https://dietpi.com/forum/u/lpuerto)
#### Post date: [17 February 2020 11:50 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/16 "2020-02-17T11:50:08Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![aftensleuk](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/a/73ab20/32.png) [@aftensleuk](https://dietpi.com/forum/u/aftensleuk)
#### Post date: [6 September 2021 11:47 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/17 "2021-09-06T11:47:53Z")

</div>

Hi!

I’m having the same problems now with the latest Bullseye release and Qbittorrent (just did a clean install). I’m using _qbittorrent_ as user name and _myglobalpassword_ as password, but I’m getting _Invalid Username or Password._

Can anyone else confirm this issue?

Here’s the log for the installation:

```nohighlight
Mode: Configuring qBittorrent: bittorrent server with web interface (c++)

[OK] DietPi-Software | Verifying user "qbittorrent" to run qBittorrent
[OK] DietPi-Software | useradd -rMN -g dietpi -d /home/qbittorrent -s /usr/sbin/nologin qbittorrent
[OK] DietPi-Software | Applying user password: ******
[OK] DietPi-Software | mkdir -p /home/qbittorrent/.config/qBittorrent /var/log/qbittorrent
[OK] DietPi-Software | chown -R qbittorrent: /var/log/qbittorrent
[OK] DietPi-Software | chown -R qbittorrent:dietpi /home/qbittorrent
[OK] DietPi-Software | systemctl daemon-reload

```

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [6 September 2021 12:12 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/18 "2021-09-06T12:12:34Z")

</div>

looks like using qbittorrent version ≥ 4.2.0, authentication method changed. Something we need to have a look into.

As workaround, you could do following

```nohighlight
systemctl stop qbittorrent.service
nano /home/qbittorrent/.config/qBittorrent/qBittorrent.conf

```

Once you are in the file, delete the entire line starting WebUI\Password\_ha1. Should be somewhere at the bottom.  
Restart the service afterwards

```nohighlight
systemctl start qbittorrent.service

```

Default password would be adminadmin. Don’t forget to change once you are login.

---

<div class="post-metadata">

### Author: ![aftensleuk](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/a/73ab20/32.png) [@aftensleuk](https://dietpi.com/forum/u/aftensleuk)
#### Post date: [6 September 2021 18:34 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/19 "2021-09-06T18:34:33Z")

</div>

> [@](#):
>
> looks like using qbittorrent version ≥ 4.2.0, authentication method changed. Something we need to have a look into.
> 
> As workaround, you could do following
> 
> ```plaintext
> systemctl stop qbittorrent.service
> nano /home/qbittorrent/.config/qBittorrent/qBittorrent.conf
> 
> ```
> 
> Once you are in the file, delete the entire line starting WebUI\Password\_ha1. Should be somewhere at the bottom.  
> Restart the service afterwards
> 
> ```plaintext
> systemctl start qbittorrent.service
> 
> ```
> 
> Default password would be adminadmin. Don’t forget to change once you are login.

That workaround was great. Working now!

---

<div class="post-metadata">

### Author: ![frtorres](https://dietpi.com/forum/user_avatar/dietpi.com/frtorres/32/3954_2.png) [@frtorres](https://dietpi.com/forum/u/frtorres)
#### Post date: [21 February 2024 20:21 UTC](https://dietpi.com/forum/t/qbittorrent-login-issue/3202/20 "2024-02-21T20:21:37Z")

</div>

> [@Joulinar](#):
>
> WebUI\Password\_ha1

1. Bumping this topic as this issue remains present in dietpi Ver 9.1.1. Debian 12.5.

2. Just adding something to complement @Joulinar workaround…

Configuration file includes the line:

```auto
WebUI\Username=qbittorrent

```

So login with this user (dietpi modification) and not using “admin” user to login, as qbittorrent documentation states.

Regards, Francisco.

[Next page](https://dietpi.com/forum/t/qbittorrent-login-issue/3202.md?page=2)
