EstrellaXD / Auto_Bangumi

AutoBangumi - 全自动追番工具
https://autobangumi.org
MIT License
6.99k stars 366 forks source link

[错误报告]docker最新版本镜像webui无法打开 #886

Open tttleon opened 2 weeks ago

tttleon commented 2 weeks ago

确认

当前程序版本

3.1.18

问题类型

WebUI

问题描述

系统版本:debian 12.7 docker版本:Docker version 27.3.1, build ce12230

容器创建启动后,访问http://localhost:7892/webui显示连接被重置加载页面时与服务器的连接被重置。切换镜像版本到3.1.10时,webui可以正常启动。 image

发生问题时系统日志

leon@debian:~/AutoBangumi$ docker compose up -d
WARN[0000] /home/leon/AutoBangumi/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 1/1
 ✔ Container AutoBangumi  Started                                                                                                                                                0.3s 
leon@debian:~/AutoBangumi$ docker logs AutoBangumi
groupmod: invalid group ID '$(id -g)'
usermod: invalid user ID '$(id -u)'
[2024-11-11 13:33:42] INFO:     Started server process [7]
[2024-11-11 13:33:42] INFO:     Waiting for application startup.
[2024-11-11 13:33:42] INFO:     
[2024-11-11 13:33:42] INFO:                     _        ____                                    _
[2024-11-11 13:33:42] INFO:          /\        | |      |  _ \                                  (_)
[2024-11-11 13:33:42] INFO:         /  \  _   _| |_ ___ | |_) | __ _ _ __   __ _ _   _ _ __ ___  _
[2024-11-11 13:33:42] INFO:        / /\ \| | | | __/ _ \|  _ < / _` | '_ \ / _` | | | | '_ ` _ \| |
[2024-11-11 13:33:42] INFO:       / ____ \ |_| | || (_) | |_) | (_| | | | | (_| | |_| | | | | | | |
[2024-11-11 13:33:42] INFO:      /_/    \_\__,_|\__\___/|____/ \__,_|_| |_|\__, |\__,_|_| |_| |_|_|
[2024-11-11 13:33:42] INFO:                                                 __/ |
[2024-11-11 13:33:42] INFO:                                                |___/
[2024-11-11 13:33:42] INFO:     Version 3.1.18  Author: EstrellaXD Twitter: https://twitter.com/Estrella_Pan
[2024-11-11 13:33:42] INFO:     GitHub: https://github.com/EstrellaXD/Auto_Bangumi/
[2024-11-11 13:33:42] INFO:     Starting AutoBangumi...
[2024-11-11 13:33:42] INFO:     Config loaded
[2024-11-11 13:33:44] ERROR     [Checker] Downloader connect failed.
[2024-11-11 13:33:44] WARNING:  Downloader is not running.
[2024-11-11 13:33:44] INFO:     Waiting for downloader to start.
leon@debian:~/AutoBangumi$ sudo lsof -i :7892
COMMAND     PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
docker-pr 18325 root    4u  IPv4 117038      0t0  TCP *:7892 (LISTEN)
docker-pr 18341 root    4u  IPv6 117043      0t0  TCP *:7892 (LISTEN)
leon@debian:~/AutoBangumi$
tttleon commented 2 weeks ago

经测试,最新的可用的版本为3.1.14,webui可用的日志输出如下

Attaching to AutoBangumi
AutoBangumi  | groupmod: invalid group ID '$(id -g)'
AutoBangumi  | usermod: invalid user ID '$(id -u)'
AutoBangumi  | [2024-11-11 15:54:08] INFO:     Started server process [7]
AutoBangumi  | [2024-11-11 15:54:08] INFO:     Waiting for application startup.
AutoBangumi  | [2024-11-11 15:54:08] INFO:     
AutoBangumi  | [2024-11-11 15:54:08] INFO:                     _        ____                                    _
AutoBangumi  | [2024-11-11 15:54:08] INFO:          /\        | |      |  _ \                                  (_)
AutoBangumi  | [2024-11-11 15:54:08] INFO:         /  \  _   _| |_ ___ | |_) | __ _ _ __   __ _ _   _ _ __ ___  _
AutoBangumi  | [2024-11-11 15:54:08] INFO:        / /\ \| | | | __/ _ \|  _ < / _` | '_ \ / _` | | | | '_ ` _ \| |
AutoBangumi  | [2024-11-11 15:54:08] INFO:       / ____ \ |_| | || (_) | |_) | (_| | | | | (_| | |_| | | | | | | |
AutoBangumi  | [2024-11-11 15:54:08] INFO:      /_/    \_\__,_|\__\___/|____/ \__,_|_| |_|\__, |\__,_|_| |_| |_|_|
AutoBangumi  | [2024-11-11 15:54:08] INFO:                                                 __/ |
AutoBangumi  | [2024-11-11 15:54:08] INFO:                                                |___/
AutoBangumi  | [2024-11-11 15:54:08] INFO:     Version 3.1.14  Author: EstrellaXD Twitter: https://twitter.com/Estrella_Pan
AutoBangumi  | [2024-11-11 15:54:08] INFO:     GitHub: https://github.com/EstrellaXD/Auto_Bangumi/
AutoBangumi  | [2024-11-11 15:54:08] INFO:     Starting AutoBangumi...
AutoBangumi  | [2024-11-11 15:54:08] INFO:     Config loaded
AutoBangumi  | [2024-11-11 15:54:10] ERROR     [Checker] Downloader connect failed.
AutoBangumi  | [2024-11-11 15:54:10] WARNING:  Program failed to start.
AutoBangumi  | [2024-11-11 15:54:10] INFO:     Application startup complete.
AutoBangumi  | [2024-11-11 15:54:10] INFO:     Uvicorn running on http://0.0.0.0:7892 (Press CTRL+C to quit)

3.15~3.18版本均不可以,且输出日志和给出的3.18版本相同。

Slinet6056 commented 2 weeks ago
AutoBangumi  | [2024-11-11 15:54:10] ERROR     [Checker] Downloader connect failed.
AutoBangumi  | [2024-11-11 15:54:10] WARNING:  Program failed to start.

这不是没连上下载器嘛

tttleon commented 2 weeks ago
AutoBangumi  | [2024-11-11 15:54:10] ERROR     [Checker] Downloader connect failed.
AutoBangumi  | [2024-11-11 15:54:10] WARNING:  Program failed to start.

这不是没连上下载器嘛

没连上下载器并不影响webui的启动,network_mode:改为host时,Downloader connect failed.错误会消失,但是3.14以上的版本,webui在浏览器还是打不开。

zhsama commented 2 weeks ago
AutoBangumi  | [2024-11-11 15:54:10] ERROR     [Checker] Downloader connect failed.
AutoBangumi  | [2024-11-11 15:54:10] WARNING:  Program failed to start.

这不是没连上下载器嘛

没连上下载器并不影响webui的启动,network_mode:改为host时,Downloader connect failed.错误会消失,但是3.14以上的版本,webui在浏览器还是打不开。

the same issue

SouthOfAsia commented 1 week ago

相同问题 日志没有报错 回退到3.12后可以启动

Lightammo commented 1 week ago

相同问题,回退到3.12可以正常访问webui

stacktime commented 3 days ago

我遇到一样的问题, 我把映射/app/data的目录里面的东西删掉重新运行容器, 然后启动正常了