linuxserver / docker-qbittorrent

GNU General Public License v3.0
1.04k stars 150 forks source link

[BUG] Crashes on startup in 4.6.3+ #322

Open rasmusbe opened 2 months ago

rasmusbe commented 2 months ago

.### Is there an existing issue for this?

Current Behavior

On clean setup (and old setup) the application crashes on startup and fills the log with logs about starting webui. Version 4.6.2 works as expected.

Expected Behavior

Running application

Steps To Reproduce

  1. Run the docker creation command listed below
  2. Try to go to to the webui, http://localhost:8080, it's not responding
  3. Docker log shows it restarting when the http request is received

Environment

- OS: Ubuntu 24.04.1
- How docker service was installed: Via apt install
- Docker version: Docker version 27.2.0, build 3ab4256

CPU architecture

x86-64

Docker creation

docker run -d \
  --name=qbittorrent \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -e WEBUI_PORT=8080 \
  -e TORRENTING_PORT=6881 \
  -p 8080:8080 \
  -p 6881:6881 \
  -p 6881:6881/udp \
  -v $(pwd)/config:/config \
  --restart unless-stopped \
  lscr.io/linuxserver/qbittorrent:latest

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 4.6.6-r0-ls349
Build-date: 2024-09-08T06:52:27+00:00
───────────────────────────────────────

[custom-init] No custom files found, skipping...
WebUI will be started shortly after internal preparations. Please wait...

******** Information ********
To control qBittorrent, access the WebUI at: http://localhost:8080

The WebUI administrator username is: admin
The WebUI administrator password was not set. A temporary password is provided for this session: 9Fd4MF69W
You should set your own password in program preferences.
Connection to localhost (::1) 8080 port [tcp/http-alt] succeeded!
[ls.io-init] done.
WebUI will be started shortly after internal preparations. Please wait...

******** Information ********
To control qBittorrent, access the WebUI at: http://localhost:8080

The WebUI administrator username is: admin
The WebUI administrator password was not set. A temporary password is provided for this session: Q9YFnxwDE
You should set your own password in program preferences.
Connection to localhost (::1) 8080 port [tcp/http-alt] succeeded!
WebUI will be started shortly after internal preparations. Please wait...

******** Information ********
To control qBittorrent, access the WebUI at: http://localhost:8080

The WebUI administrator username is: admin
The WebUI administrator password was not set. A temporary password is provided for this session: IrErfAmgy
You should set your own password in program preferences.
Connection to localhost (::1) 8080 port [tcp/http-alt] succeeded!
github-actions[bot] commented 2 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

j0nnymoe commented 2 months ago

I would suggest using a correct folder path rather than the placeholder from our readme.

rasmusbe commented 2 months ago

Thanks, I did miss to change that in the issue, but its an issue what ever config path I use or if I don't use a volume for config at all (just keeps the config in the container)

I've also tried to set a password in 4.6.2 and then upgrade it, it still restarts on every http request in 4.6.3+ (but do not output logs about temporary password) so it has nothing to do with the temporary password generation.

LinuxServer-CI commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.