DockerAusweisApp2 icon indicating copy to clipboard operation
DockerAusweisApp2 copied to clipboard

Container exists with exit code 2 - No Information

Open micartey opened this issue 1 year ago • 5 comments

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

It just dies immediately with Exited(2)

micartey avatar May 21 '24 07:05 micartey

Did you tried Container ends immediately from troubleshooting?

misery avatar May 21 '24 09:05 misery

Yes, I did

micartey avatar May 22 '24 08:05 micartey

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.

ORippler avatar Jul 11 '24 20:07 ORippler