misery / DockerAusweisApp

Build AusweisApp for Linux in a Docker
https://hub.docker.com/r/aklitzing/ausweisapp2/
Other
15 stars 5 forks source link

Container exists with exit code 2 - No Information #25

Open micartey opened 6 months ago

micartey commented 6 months ago

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

It just dies immediately with Exited(2)

misery commented 6 months ago

Did you tried Container ends immediately from troubleshooting?

micartey commented 5 months ago

Yes, I did

ORippler commented 4 months ago

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.