Trigus42 / alpine-qbittorrentvpn

Multiarch docker image with the latest qBittorrent-nox client (WEB UI) and WireGuard/OpenVPN tunnel
GNU General Public License v3.0
85 stars 13 forks source link

The default password does not work, how to reset it? #64

Closed blixten85 closed 6 months ago

blixten85 commented 6 months ago

As the title reads. How do i reset the default password when running this in a docker? The logs shows nothing about any password or usernmame.

Trigus42 commented 6 months ago

You can set a WebUI password to use for initial setup using the WEBUI_PASSWORD environment variable. This variable won't overwrite an existing password. If you didn't set a password, QBt generates a temporary password which is printed to the QBt logs (config/qBittorrent/data/logs/qbittorrent.log). This temporary password is changed on every restart of QBt and will be overwritten if you set WEBUI_PASSWORD.

You can reset an existing password by deleting the file config/qBittorrent/config/qBittorrent.conf or just removing the line starting with WebUI\Password_PBKDF2= from it.

blixten85 commented 6 months ago

You can set a WebUI password to use for initial setup using the WEBUI_PASSWORD environment variable. This variable won't overwrite an existing password. If you didn't set a password, QBt generates a temporary password which is printed to the QBt logs (config/qBittorrent/data/logs/qbittorrent.log). This temporary password is changed on every restart of QBt and will be overwritten if you set WEBUI_PASSWORD.

You can reset an existing password by deleting the file config/qBittorrent/config/qBittorrent.conf or just removing the line starting with WebUI\Password_PBKDF2= from it.

Yeah thank you, I noticed 😋 The logs in portainer is not the same as the logs you mentioned. Which i kinda thought first. 😁