-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
WebUIWebUI-related issues/changesWebUI-related issues/changes
Description
qBittorrent & operating system versions
qBittorrent v4.5.2
Operating system: Ubuntu 22.04.2 LTS
What is the problem?
I cannot log in to the web UI using admin and adminadmin even though I have tried:
- remove the password line in qBittorrent.conf, restart qBittorrent-nox.service
- apt remove qbittorrent-nox and delete /.config/qBittorrent dir and apt install again
- reboot the system
Steps to reproduce
No response
Additional context
No response
Log(s) & preferences file(s)
No response
KarimGeiger, 641i130, Alcas1 and alex-yermakov
Metadata
Metadata
Assignees
Labels
WebUIWebUI-related issues/changesWebUI-related issues/changes
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
hannut commentedon Nov 22, 2023
I'm experiencing similar problem.
Seems to be related to version.
4.6.0-1 default password works
4.6.1-1 default password doesn't work
Running mine with Podman. Deleted the /config -volume between versions.
MartinVonReichenberg commentedon Nov 27, 2023
Using a randomized password for initial login is a truly stupid idea !!!
Why do you set it a way that it requires a random password which is unable to retrieve !?!?
How to trigger password ????? What is the catch ????
@glassez @sledgehammer999 @thalieht @Kolcha
MartinVonReichenberg commentedon Nov 27, 2023
So folks, @1982606762 , @hannut
the only workaround for now is after fresh install of
qBittorrent-NOX 4.6.1, make sure theservice qbittorrent-noxis disabled and stopped usingsystemctl.Run the program from the command line:
The output of the initial start should give you a login password into the qBittorrent-NOX Web UI.
It is something
systemctl status qbittorrent-nox@$USER.serviceoutput will not show you:Additionally you can use these pre-built packages from my Open Build Service server repository for either Debian or Ubuntu.Have a lot of fun!
DeeJaayMac commentedon Oct 29, 2024
My only problem is that even after a fresh reinstall, I dont get a legal disclaimer or random password, just the address.
MartinVonReichenberg commentedon Oct 29, 2024
Hello,
Most issues related to the initial login into the qBittorrent-NOX have been addressed (in newer stable versions of qBittorrent) and thus this information has become somewhat irrelevant nowadays.
However, if you use the
qbittorrent-noxcommand it should write you the password ofadminlogin with the newly generated randomized password right into the console (terminal).Or you can use SystemD service using
systemctl enable --now qbittorrent-nox@[user].servicethensystemctl status qbittorrent-nox@[user].serviceand you should see the password printed there as well.The password then can be changed at any time inside the qBittorrent-NOX Web UI.
Does this address your current issue?
DeeJaayMac commentedon Nov 3, 2024
Unfortunately when I follow those steps, the last line I see is "To control qbittorrent, access the webUI at: http://localhost:8080 but no password, I did see during the initial install the displayed much more info, this is after uninstalling and reinstalling. I may need to reinstall linux =/
MartinVonReichenberg commentedon Nov 6, 2024
@DeeJaayMac, Do this:
Stop & Disable the SystemD service:
systemctl disable --now qbittorrent@[USER].serviceUninstall qBitTorrent using your package manager ->
Remove any residential files:
rm -vfdr ~/.cache/qBittorrent/ ~/.config/qBittorrent/ ~/.local/share/qBittorrent/Make sure there are no removable files found:
find "/" | sort | grep -ie "qbittorrent"Install qBitTorrent again using your package manager ->
Start & re-enable the SystemD service from over again:
systemctl enable --now qbittorrent@[USER].serviceThe randomized password should be mentioned at the right bottom part of the output text . . .
VorlMaldor commentedon Nov 15, 2024
Can you please explain why you think adding a random password for a home user install that can only be retrieved by digging into logs or running the command as a one off from cli was a good idea?
What exactly are you trying to protect against for home users? Heck I haven't even seen enterprise software that does something this strange.
I am really curious what problem you think you were fixing by doing this.
DeeJaayMac commentedon Nov 15, 2024
This 99% worked for me, got me what i needed. I don't mind the random password, I know why it's used.
MartinVonReichenberg commentedon Nov 15, 2024
The biggest problem is, once the random password is used and you forget to change it for yourself, the problem with showing another one, as of now, occurs.
MartinVonReichenberg commentedon Nov 15, 2024
I say it is:
„Just another kind of paranoia.“
HanabishiRecca commentedon Nov 15, 2024
9.8 CRITICALStill not enough for you, guys?
MartinVonReichenberg commentedon Nov 15, 2024
Hell no,
However,
A more convenient solution would be logging in and being prompted to enter a custom password.
After all, it is one's responsibility if anybody gets exploited because of password and if he/she doesn't feel like using any password - it is very likely that the person has nothing to hide X nothing to loose.
HanabishiRecca commentedon Nov 15, 2024
Hell yes. The old way was objectively bad. Security > convinience.
This could be a further improvement. Although, it should be implemented properly, as a malicious actor still can get there faster than actual user.
VorlMaldor commentedon Nov 16, 2024
It is pretty basic to not expose a new install until you are secure. If people are too lazy/dumb thats on them. You can't fix stupid.
HanabishiRecca commentedon Nov 16, 2024
It is not always possible. E.g. you may have the client running on a remote server, and to log in you need to expose it to the web.
I think the main problem here is that we can't set the password outside of the client. Making it possible to set the password via CLI and/or environmant variable could resolve the issue.
641i130 commentedon Feb 12, 2025
Kinda insane this is still an issue...
CheaterUA commentedon Feb 13, 2025
Even disabling and reinstalling doesn't help:
I resolved by adding to qBittorrent.conf:
[Preferences] WebUI\Password_PBKDF2="@ByteArray(ARQ77eY1NUZaQsuDHbIMCA==:0WMRkYTUWVT9wVvdDtHAjU9b3b7uB8NR1Gur2hmQCvCDpm39Q+PsJRJPaCU51dEiz+dTzh8qbPsL8WkFljQYFQ==)"After that I can login with admin / adminadmin
MartinVonReichenberg commentedon Feb 15, 2025
Remove any residual files:
rm -vfdr ~/.cache/qBittorrent/ ~/.config/qBittorrent/ ~/.local/share/qBittorrent/#18686 (comment)
jokerknight commentedon May 26, 2025
so fking feature for random password for admin !!!
LinuxforPunks commentedon May 29, 2025
This issue came up on qBittorrent v4.5.2 on Raspberry Pi
@CheaterUA 's workround changed the password to adminadmin and this is shown if I run qbittorrent-nox but that doesn't log in to the UI
commenting out the relevant line in qBittorrent.conf or restarting the service seems to have no effect, shouldn't it generate a randoms password and tell me this in the output of the qbittorrent-nox command?
I feel the webgui should say what is happening and that I should be able to fix it with sudo access
I worry that the password isn't working due to some issue like browser cache and that in fact attackers now can access with adminadmin
EDIT: that last point certainly shouldn't have worked! but it did: Ctrl+F5ing the page didn't make admin / adminadmin work but it did let me log in again as the ordinary user. Hazards of webguis I guess. Be nice if I could create users, and torrents for that matter, in CLI.