Password - Can't log in with random password

If you run qBittorrent in / with Docker.
Post Reply
JBanner
Newbie
Newbie
Posts: 1
Joined: Wed Nov 22, 2023 1:19 pm

Password - Can't log in with random password

Post by JBanner »

Running 4.6.1

I cannot loggin using the webUi

Using the randomly generated password from the docker console log

When used with the user of "admin" I get the message saying incorrect credentials.

Tried copy and paste and typing in directly.
Tried different browser. (3 browsers in total included one that has just been downloaded and never used before.)
Tried restarting the docker and using the newly generated password.
User avatar
Peter
Administrator
Administrator
Posts: 2679
Joined: Wed Jul 07, 2010 6:14 pm

Re: Password - Can't log in with random password

Post by Peter »

https://www.qbittorrent.org/news

The most important change has to do with WebUI. It affects users that haven't set their own credentials and are use the default ones. Those will not be accepted now and qBittorrent will generate a random password and output it in the console for you to use. Then you can login and configure a password.

Maybe the docker image is not updated to work with this new behavior? qBittorrent does NOT have an official Docker image.
reprogram4106
Newbie
Newbie
Posts: 1
Joined: Wed Nov 22, 2023 9:32 pm

Re: Password - Can't log in with random password

Post by reprogram4106 »

I have the same problem.
The random password only shows when i quit the process.
I assume a new is generated on proccess start up. But it doesnt show in the logs until i shut off the process.
User avatar
Peter
Administrator
Administrator
Posts: 2679
Joined: Wed Jul 07, 2010 6:14 pm

Re: Password - Can't log in with random password

Post by Peter »

reprogram4106 wrote: Wed Nov 22, 2023 9:34 pm I have the same problem.
The random password only shows when i quit the process.
I assume a new is generated on proccess start up. But it doesnt show in the logs until i shut off the process.
Try to set it up in the config file and then you don't have to use the new random one.
grimassim
Newbie
Newbie
Posts: 2
Joined: Thu Nov 23, 2023 1:43 pm

Re: Password - Can't log in with random password

Post by grimassim »

Downgrade your container to 4.6.0
Set a password using the UI
Change the container to latest
Donate here: https://www.qbittorrent.org/donate
rofugos
Newbie
Newbie
Posts: 2
Joined: Thu Nov 23, 2023 8:56 pm

Re: Password - Can't log in with random password

Post by rofugos »

Quite new to docker, is there guide how to downgrade the qBittorrent container?
grimassim
Newbie
Newbie
Posts: 2
Joined: Thu Nov 23, 2023 1:43 pm

Re: Password - Can't log in with random password

Post by grimassim »

depending on your method, you just need to change the image line in the config from:

image = "???/???/qbittorrent:latest"

to

image = "???/???/qbittorrent:4.6.0"

once you have set the password, change back to latest to keep upto date

Grim
rofugos
Newbie
Newbie
Posts: 2
Joined: Thu Nov 23, 2023 8:56 pm

Re: Password - Can't log in with random password

Post by rofugos »

grimassim wrote: Fri Nov 24, 2023 4:01 am depending on your method, you just need to change the image line in the config from:

image = "???/???/qbittorrent:latest"

to

image = "???/???/qbittorrent:4.6.0"

once you have set the password, change back to latest to keep upto date

Grim
Thank you, got it sorted now :D
vratarneli7
Newbie
Newbie
Posts: 2
Joined: Tue Jan 23, 2024 6:20 am

Re: Password - Can't log in with random password

Post by vratarneli7 »

reprogram4106 wrote: Wed Nov 22, 2023 9:34 pm I have the same problem.
The random password only shows when i quit the process.
I assume a new is generated on proccess start up. But it doesnt show in the logs until i shut off the process. https://www.viberate.com/
I have the same issue too
Last edited by vratarneli7 on Thu Feb 15, 2024 11:14 am, edited 1 time in total.
User avatar
Peter
Administrator
Administrator
Posts: 2679
Joined: Wed Jul 07, 2010 6:14 pm

Re: Password - Can't log in with random password

Post by Peter »

I never ran qB in Docker, but...
- can't you just set a password in the config file and never mess with the random password?
- you can also use the static qb-nox build instead of Docker: https://github.com/userdocs/qbittorrent-nox-static
Post Reply