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部署容器在启动时报错 #7

Open
steven0081 opened this issue Sep 8, 2024 · 3 comments
Open

docker部署容器在启动时报错 #7

steven0081 opened this issue Sep 8, 2024 · 3 comments

Comments

@steven0081
Copy link

我在debian12的系统下用docker 方式部署,第一次启动正常,但是后面重启就报错,启动不起来,麻烦帮看下,是什么原因,容器日志如下:
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
/app/umi-ocr.sh: line 45: 12 Aborted (core dumped) python3 UmiOCR-data/main_linux.py "$@"
Use the Python embeddable environment.

p
Use headless mode.
(EE)
Fatal server error:
(EE) Server is already active for display 99
If this server is no longer running, remove /tmp/.X99-lock
and start again.
(EE)
qt.qpa.xcb: could not connect to display :99
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
/app/umi-ocr.sh: line 45: 12 Aborted (core dumped) python3 UmiOCR-data/main_linux.py "$@"
Use the Python embeddable environment.

p
Use headless mode.
(EE)
Fatal server error:
(EE) Server is already active for display 99
If this server is no longer running, remove /tmp/.X99-lock
and start again.
(EE)
qt.qpa.xcb: could not connect to display :99
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
/app/umi-ocr.sh: line 45: 12 Aborted (core dumped) python3 UmiOCR-data/main_linux.py "$@"
Use the Python embeddable environment.

p
Use headless mode.
(EE)
Fatal server error:
(EE) Server is already active for display 99
If this server is no longer running, remove /tmp/.X99-lock
and start again.
(EE)
qt.qpa.xcb: could not connect to display :99
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
/app/umi-ocr.sh: line 45: 12 Aborted (core dumped) python3 UmiOCR-data/main_linux.py "$@"
Use the Python embeddable environment.

p
Use headless mode.
(EE)
Fatal server error:
(EE) Server is already active for display 99
If this server is no longer running, remove /tmp/.X99-lock
and start again.
(EE)
qt.qpa.xcb: could not connect to display :99
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
/app/umi-ocr.sh: line 45: 12 Aborted (core dumped) python3 UmiOCR-data/main_linux.py "$@"
Use the Python embeddable environment.

p
Use headless mode.
(EE)
Fatal server error:
(EE) Server is already active for display 99
If this server is no longer running, remove /tmp/.X99-lock
and start again.
(EE)
qt.qpa.xcb: could not connect to display :99
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
/app/umi-ocr.sh: line 45: 12 Aborted (core dumped) python3 UmiOCR-data/main_linux.py "$@"
Use the Python embeddable environment.

p
Use headless mode.
(EE)
Fatal server error:
(EE) Server is already active for display 99
If this server is no longer running, remove /tmp/.X99-lock
and start again.
(EE)
qt.qpa.xcb: could not connect to display :99
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
/app/umi-ocr.sh: line 45: 12 Aborted (core dumped) python3 UmiOCR-data/main_linux.py "$@"

@hiroi-sora
Copy link
Owner

hiroi-sora/Umi-OCR#641

我在8月31号修复了这个bug。请参考 README-docker ,下载最新的 Dockerfile ,重新 build 一个镜像。

@steven0081
Copy link
Author

提示是要删除临时目录下的lock文件,但系统下根本就没有这个文件。
rm /tmp/.X99-lock
rm: cannot remove '/tmp/.X99-lock': No such file or directory

@steven0081
Copy link
Author

hiroi-sora/Umi-OCR#641

我在8月31号修复了这个bug。请参考 README-docker ,下载最新的 Dockerfile ,重新 build 一个镜像。

好的,谢谢,我先去试试。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants