Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
4 tasks done
tttleon opened this issue Nov 11, 2024 · 9 comments
Open
4 tasks done

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

tttleon opened this issue Nov 11, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@tttleon
Copy link

tttleon commented Nov 11, 2024

确认

  • 我的版本是最新版本,我的版本号与 version 相同。
  • 我已经查阅了已知问题,并确认我的问题不在其中。
  • 我已经 issue 中搜索过,确认我的问题没有被提出过。
  • 我已经修改标题,将标题中的 描述 替换为我遇到的问题。

当前程序版本

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 tttleon added the bug Something isn't working label Nov 11, 2024
@tttleon
Copy link
Author

tttleon commented Nov 11, 2024

经测试,最新的可用的版本为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
Copy link

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
Copy link
Author

tttleon commented Nov 11, 2024

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
Copy link

zhsama commented Nov 12, 2024

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
Copy link

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

@Lightammo
Copy link

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

@stacktime
Copy link

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

@Wizard-one
Copy link

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

删除之后运行一段时间还是会连不上

@Violet-VE
Copy link

同样问题+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants