northsea4 / mdcx-docker

在Docker容器中运行 MDCX,并通过Web界面或远程桌面进行控制。Run MDCX in a Docker container, accessible and controllable via a web interface or remote desktop.
GNU General Public License v3.0
600 stars 77 forks source link

[BUG] <更新最新docker镜像后出错> #47

Closed xyzeratul closed 3 months ago

xyzeratul commented 3 months ago

是否存在已有问题?

问题描述

在unraid下更新了镜像,然后容器停止了运行

预期表现

No response

复现步骤

更新镜像后容器停止运行,查看log出错

环境

- 操作系统:unraid 6.12.10
- Docker服务安装方式:GUI

CPU架构

amd64

使用的镜像

mdcx-builtin-gui-base

Docker创建方式

GUI

容器日志

text  error  warn  system  array  login  

[cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init   ] 15-install-pkgs.sh: executing...
[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 250-do-me-a-favor.sh: executing...
[cont-init   ] 250-do-me-a-favor.sh: 😁 take-ownership: /app and /mdcx-config
[cont-init   ] 250-do-me-a-favor.sh: 😁 take-ownership: /cert-patch
[cont-init   ] 250-do-me-a-favor.sh: terminated successfully.
[cont-init   ] 251-strip-libs.sh: executing...
[cont-init   ] 251-strip-libs.sh: ========================= strip libQt5Core ==============================
[cont-init   ] 251-strip-libs.sh: 🔧 环境变量STRIP_LIBQT5CORE不为true,跳过strip libQt5Core
[cont-init   ] 251-strip-libs.sh: terminated successfully.
[cont-init   ] 85-take-config-ownership.sh: executing...
[cont-init   ] 85-take-config-ownership.sh: terminated successfully.
[cont-init   ] 89-info.sh: executing...
    ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           MDCx                                          │
    │ Application Version:   d20240722                                     │
    │ Docker Image Version:  n/a                                           │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'openbox'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] loading service 'logrotate'...
[supervisor  ] all services loaded.
[supervisor  ] starting services...
[supervisor  ] starting service 'xvnc'...
[xvnc        ] Xvnc TigerVNC 1.12.0 - built Feb 14 2023 18:02:00
[xvnc        ] Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)
[xvnc        ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc        ] Underlying X server release 12013000, The X.Org Foundation
[xvnc        ] Tue Jul 23 15:38:24 2024
[xvnc        ]  vncext:      VNC extension running!
[xvnc        ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc        ]  vncext:      Listening for VNC connections on all interface(s), port 5900
[xvnc        ]  vncext:      created VNC server for screen 0
[supervisor  ] starting service 'nginx'...
[nginx       ] Listening for HTTP connections on port 5800.
[supervisor  ] starting service 'openbox'...
[supervisor  ] starting service 'app'...
[app         ] 🔘 执行cacert.pem缺失问题的临时修复脚本
[app         ] ⏳ 启动MDCx...
[app         ] nohup: appending output to 'nohup.out'
[supervisor  ] all services started.
[app         ] ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'
[app         ] Traceback (most recent call last):
[app         ]   File "main.py", line 13, in <module>
[app         ]   File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
[app         ]   File "controllers/main_window/main_window.py", line 14, in <module>
[app         ]   File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
[app         ]   File "controllers/cut_window.py", line 10, in <module>
[app         ]   File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
[app         ]   File "models/core/file.py", line 18, in <module>
[app         ]   File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
[app         ]   File "models/core/utils.py", line 10, in <module>
[app         ]   File "/tmp/_MEIIHiQkz/cv2/__init__.py", line 181, in <module>
[app         ]     bootstrap()
[app         ]   File "/tmp/_MEIIHiQkz/cv2/__init__.py", line 153, in bootstrap
[app         ]     native_module = importlib.import_module("cv2")
[app         ]   File "importlib/__init__.py", line 126, in import_module
[app         ]     if sys.path[0] == BASE_DIR or os.path.realpath(sys.path[0]) == BASE_DIR:
[app         ] ImportError: numpy.core.multiarray failed to import
[app         ] [641] Failed to execute script 'main' due to unhandled exception!
[supervisor  ] service 'app' exited (with status 1).
[supervisor  ] service 'app' exited, shutting down...
[supervisor  ] stopping service 'openbox'...
[supervisor  ] service 'openbox' exited (with status 0).
[supervisor  ] stopping service 'nginx'...
[supervisor  ] service 'nginx' exited (with status 0).
[supervisor  ] stopping service 'xvnc'...
[xvnc        ] Tue Jul 23 15:38:29 2024
[xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc        ]  ComparingUpdateTracker: (1:-nan ratio)
[supervisor  ] service 'xvnc' exited (with status 0).
[supervisor  ] sending SIGTERM to all processes...
[finish      ] executing container finish scripts...
[finish      ] all container finish scripts executed.
northsea4 commented 3 months ago

same as https://github.com/northsea4/mdcx-docker/issues/46

请拉取最新的镜像。