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

Container exists with exit code 2 - No Information #25

Open
micartey opened this issue May 21, 2024 · 3 comments
Open

Container exists with exit code 2 - No Information #25

micartey opened this issue May 21, 2024 · 3 comments

Comments

@micartey
Copy link

When I try starting the docker image, nothing happens.
No logs
No interface

It just dies immediately with Exited(2)

@misery
Copy link
Owner

misery commented May 21, 2024

Did you tried Container ends immediately from troubleshooting?

@micartey
Copy link
Author

Yes, I did

@ORippler
Copy link

ORippler commented Jul 11, 2024

Same here. It starts to error for all releases >=2.0.0 (to be fair I didn't test older than 1.26.7.
Specifically, 2.0.0 fails with

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: offscreen, vnc, eglfs, minimalegl, minimal.

and all newer releases fail with exit code 2.

I'm running Ubuntu 22.04.


Output of -e QT_DEBUG_PLUGINS=1

(base) orippler@t490:~$ docker run --rm -it -p 127.0.0.1:24727:24727 -e QT_DEBUG_PLUGINS=1 -e DISPLAY=$DISPLAY -e LANG=$LANG -v /tmp/.X11-unix:/tmp/.X11-unix aklitzing/ausweisapp2:2.0.0
qt.core.plugin.factoryloader: checking directory path "/home/ausweisapp/libs/plugins/platforms" ...
qt.core.plugin.factoryloader: looking at "/home/ausweisapp/libs/plugins/platforms/libqoffscreen.so"
qt.core.plugin.loader: Found metadata in lib /home/ausweisapp/libs/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archlevel": 1,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("offscreen")
qt.core.plugin.factoryloader: looking at "/home/ausweisapp/libs/plugins/platforms/libqvnc.so"
qt.core.plugin.loader: Found metadata in lib /home/ausweisapp/libs/plugins/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archlevel": 1,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("vnc")
qt.core.plugin.factoryloader: looking at "/home/ausweisapp/libs/plugins/platforms/libqeglfs.so"
qt.core.plugin.loader: Found metadata in lib /home/ausweisapp/libs/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archlevel": 1,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("eglfs")
qt.core.plugin.factoryloader: looking at "/home/ausweisapp/libs/plugins/platforms/libqminimalegl.so"
qt.core.plugin.loader: Found metadata in lib /home/ausweisapp/libs/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archlevel": 1,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimalegl")
qt.core.plugin.factoryloader: looking at "/home/ausweisapp/libs/plugins/platforms/libqminimal.so"
qt.core.plugin.loader: Found metadata in lib /home/ausweisapp/libs/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archlevel": 1,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimal")
qt.core.plugin.factoryloader: checking directory path "/usr/local/bin/platforms" ...
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: offscreen, vnc, eglfs, minimalegl, minimal.

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

3 participants