Unable to log into qBittorrent web UI

Joined
Oct 22, 2019
Messages
3,641
Agreed. Less convoluted.

You can tell someone doesn't use SCALE, K3s, or containers whenever they think of "plumbing" upon reading the term "PVC". (Guilty as charged.)
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Uhhh, I still don't know what PVC is aside from a white pipe that the waste from my toilet exits my house in.
 

SSSSAT

Dabbler
Joined
Jun 23, 2019
Messages
16
There was a "fix" in version 4.6.1:



So, apparently, if you never set your own password, this will essentially lock you out, unless you caught the randomly generated password in the console messages.

One way to get around this is to downgrade to 4.6.0, manually set a new password, and then re-upgrade to 4.6.1 again. (See my post below this for an alternative method.)

* Starting with version 4.6.1, there is no "default" password anymore. It will randomly generate a password for you, which will be revealed in the console messages.
Thanks for the many replies guys!

This worked, downgrade , changed password. Bit scared of updating again now, but at least it's fixed.

What they were thinking doiing such a change I'll never know but OK, thanks for the feedback
 
Joined
Oct 22, 2019
Messages
3,641
What they were thinking doiing such a change I'll never know but OK, thanks for the feedback
Probably because anyone who can access the HTTP page can login with the default password of "adminadmin", since it's the same for all installations.

This new method randomly generates a default password, which you must use to login and then change yourself.

(This doesn't apply to those who went ahead and created their own password in a pervious installation)
 

eXPerience83

Cadet
Joined
Nov 29, 2023
Messages
7
To hopefully save you guys the headache, see if this works...

Set in your *config file the following two values. Make sure to either replace them (if they already exist), or add them if they don't.

Username is: user
WebUI\Username=user

Password is: changeme
WebUI\Password_PBKDF2="@ByteArray(JV6GEa/BpNgsawy8D1QGtg==:6y1AosLh2CJ6g79R5lXIaiuwWjHK1j9fLTGiUM1mbVspBPwoCMvnMEbxsMCO07o5A/M1MohAQU9+0VL0Pa/tvg==)"

Now try to login to the Web UI with the username user and the password changeme

Then from there you can change it to whatever you want in the UI's settings.

* I don't use SCALE, but an example of where this persistent config file is located:
/mnt/<poolname>/ix-applications/releases/qbittorrent/volumes/ix_volumes/config/qBittorrent/qBittorrent.conf

** You'll have to stop the App before applying the changes to the config file. Then start the App after you're done.
an't do it on TrueNAS SCALE.

Stop qBittorrent

System Settings>Shell​


cd /mnt/<poolname>/ix-applications/releases/qbittorrent/volumes/ix_volumes/config/qBittorrent/
sudo vi qBittorrent.conf
"i" (to edit it)
"ctrl+shift+v" paste
WebUI\Username=user
WebUI\Password_PBKDF2="@ByteArray(JV6GEa/BpNgsawy8D1QGtg==:6y1AosLh2CJ6g79R5lXIaiuwWjHK1j9fLTGiUM1mbVspBPwoCMvnMEbxsMCO07o5A/M1MohAQU9+0VL0Pa/tvg==)"
"esc"
:wq


I start again qBittorrent but password "changeme" is not valid

¿any help?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
How can I install previous version on SCALE? It only shows me the latest one
If you already have it installed, you don't "install previous version", you roll back to the previous version. Go to Applications -> Installed, click on qBitTorrent, and then in the Application Info frame, click Roll Back. Select the previous version of the chart (16.1.0) and wait for the operation to complete and the application to re-deploy. Then log in to that instance and change the password.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
No, it's new installation. The package is updated to 1.1.4 but the problem persists.
Ah, you're using the "official" app rather than the TrueCharts app. I don't have any experience with that one. But I just tried installing it, and it gives you a temporary password in the logs. Here's how mine looks; yours is presumably different:
Code:
2023-11-30 10:01:51.946567-05:00******** Information ********
2023-11-30 10:01:51.946612-05:00To control qBittorrent, access the WebUI at: http://localhost:30024
2023-11-30 10:01:51.946635-05:002023-11-30T10:01:51.946635527-05:00
2023-11-30 10:01:51.946658-05:00The WebUI administrator username is: admin
2023-11-30 10:01:51.946681-05:00The WebUI administrator password was not set. A temporary password is provided for this session: gy7q7v28U
2023-11-30 10:01:51.946703-05:00You should set your own password in program preferences. 
 

eXPerience83

Cadet
Joined
Nov 29, 2023
Messages
7
Ah, you're using the "official" app rather than the TrueCharts app. I don't have any experience with that one. But I just tried installing it, and it gives you a temporary password in the logs. Here's how mine looks; yours is presumably different:
Code:
2023-11-30 10:01:51.946567-05:00******** Information ********
2023-11-30 10:01:51.946612-05:00To control qBittorrent, access the WebUI at: http://localhost:30024
2023-11-30 10:01:51.946635-05:002023-11-30T10:01:51.946635527-05:00
2023-11-30 10:01:51.946658-05:00The WebUI administrator username is: admin
2023-11-30 10:01:51.946681-05:00The WebUI administrator password was not set. A temporary password is provided for this session: gy7q7v28U
2023-11-30 10:01:51.946703-05:00You should set your own password in program preferences.
Wow. Yes! It appears on the log.

Thank you very much
 
Joined
Oct 22, 2019
Messages
3,641
I don't have any experience with that one. But I just tried installing it, and it gives you a temporary password in the logs.
For future reference on SCALE Apps, where do you access this log after-the-fact?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
The button at the bottom right:
1701359391586.png
 

Oud Russisch

Cadet
Joined
Dec 8, 2023
Messages
2
To hopefully save you guys the headache, see if this works...

Set in your *config file the following two values. Make sure to either replace them (if they already exist), or add them if they don't.

Username is: user
WebUI\Username=user

Password is: changeme
WebUI\Password_PBKDF2="@ByteArray(JV6GEa/BpNgsawy8D1QGtg==:6y1AosLh2CJ6g79R5lXIaiuwWjHK1j9fLTGiUM1mbVspBPwoCMvnMEbxsMCO07o5A/M1MohAQU9+0VL0Pa/tvg==)"

Now try to login to the Web UI with the username user and the password changeme

Then from there you can change it to whatever you want in the UI's settings.

* I don't use SCALE, but an example of where this persistent config file is located:
/mnt/<poolname>/ix-applications/releases/qbittorrent/volumes/ix_volumes/config/qBittorrent/qBittorrent.conf

** You'll have to stop the App before applying the changes to the config file. Then start the App after you're done.
Unfortunately it has not worked in my case. I'm a newcomer in TrueNas, and trying to set it up SCALE on Proxmox. Everything works fine, but login to WebUI of qBittorrent 4.6.2. :-(. BTW config file in the similar directory. Any ideas?
 
Joined
Oct 22, 2019
Messages
3,641
Any ideas?
There's instructions above in this thread.

You can either downgrade qBittorrent -> change the password -> upgrade again.

Or check your logs, which will reveal your randomly generated password.
 

Oud Russisch

Cadet
Joined
Dec 8, 2023
Messages
2
There's instructions above in this thread.

You can either downgrade qBittorrent -> change the password -> upgrade again.

Or check your logs, which will reveal your randomly generated password.
Thank you very much. Everything now works with password from the log.
 

piedepelante

Cadet
Joined
Dec 15, 2023
Messages
6
To hopefully save you guys the headache, see if this works...

Set in your *config file the following two values. Make sure to either replace them (if they already exist), or add them if they don't.

Username is: user
WebUI\Username=user

Password is: changeme
WebUI\Password_PBKDF2="@ByteArray(JV6GEa/BpNgsawy8D1QGtg==:6y1AosLh2CJ6g79R5lXIaiuwWjHK1j9fLTGiUM1mbVspBPwoCMvnMEbxsMCO07o5A/M1MohAQU9+0VL0Pa/tvg==)"

Now try to login to the Web UI with the username user and the password changeme

Then from there you can change it to whatever you want in the UI's settings.

* I don't use SCALE, but an example of where this persistent config file is located:
/mnt/<poolname>/ix-applications/releases/qbittorrent/volumes/ix_volumes/config/qBittorrent/qBittorrent.conf

** You'll have to stop the App before applying the changes to the config file. Then start the App after you're done.
Hi, thanks for the tutorial, but it doesn't work for me.
I'm on Core latest version, qBittorrent installed via official plugin, i updated today and i'm locked out, in my jail i've got 3 qBittorrent.conf files, i updated/added the lines in all of them but with no luck, the only file where the username and password are present /.config/qBittorrent/qBittorrent.log sets back the username to admin after a jail reboot, it keeps the password you provided, but it doesn't work anyway.
I also checked all of the log files in /var/log and i've found the upgrade logs, except there is no temporary password, only this package uninstalled, that package installed.
Can anybody help me please?
Thanks.
 
Joined
Oct 22, 2019
Messages
3,641
Since you're on Core (FreeBSD), did you try re-installing the qbittorrent-nox package to view the messages in the terminal after it installs?

(I would first delete the relevant lines in the config file (so they're both empty or gone.)
 

piedepelante

Cadet
Joined
Dec 15, 2023
Messages
6
I haven't because i didn't want to risk losing the configs and the torrents i'm downloading (i've got several i've been downloading for like 2 years and now and then it downloads a little bit and i don't remember from where i got them).
I'll check if i can find where they are stored in the jail and reinstall the package.
 
Top