status-im / status-desktop

Status Desktop client made in Nim & QML
https://status.app
Mozilla Public License 2.0
301 stars 79 forks source link

Can't start application on Ubuntu 24.10 #16715

Open anastasiyaig opened 2 weeks ago

anastasiyaig commented 2 weeks ago

Bug Report

Description

INFO [11-04|21:28:10.062] Status backend initialized               backend=geth version=3.4.0-5-ga01c7ed1e commit=a01c7ed1e IpfsGatewayURL=https://ipfs.status.im/
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
INF 2024-11-04 21:28:10.233Z app info                                   topics="status-app" tid=228975 file=nim_status_client.nim:246 version=2.31.1 commit=a322b99d7 currentDateTime=2024-11-04T13:28:10-08:00
INF 2024-11-04 21:28:10.233Z starting application controller...         topics="status-app" tid=228975 file=nim_status_client.nim:248
WRN 2024-11-04 21:28:11.212Z qt warning                                 topics="qt" tid=228975 text="QQmlApplicationEngine failed to load component" file=:0 category=default
WRN 2024-11-04 21:28:11.213Z qt warning                                 topics="qt" tid=228975 text="Type AppMain unavailable" file=qrc:/main.qml:334 category=default
WRN 2024-11-04 21:28:11.213Z qt warning                                 topics="qt" tid=228975 text="Type DappsConnectorSDK unavailable" file=qrc:/app/mainui/AppMain.qml:2097 category=default
WRN 2024-11-04 21:28:11.213Z qt warning                                 topics="qt" tid=228975 text="plugin cannot be loaded for module \"QtWebEngine\": Cannot load library /tmp/.mount_StatusBG74Oy/usr/qml/QtWebEngine/libqtwebengineplugin.so: (/tmp/.mount_StatusBG74Oy/usr/lib/libmount.so.version `MOUNT_2_40' not found (required by /lib/x86_64-linux-gnu/libgio-2.0.so.0))" file=qrc:/app/AppLayouts/Wallet/services/dapps/DappsConnectorSDK.qml:5 category=default
INF 2024-11-04 21:28:11.214Z starting application...                    topics="status-app" tid=228975 file=nim_status_client.nim:251
WRN 2024-11-04 21:28:11.217Z Error decoding signal                      topics="signals-manager" tid=228975 file=signals_manager.nim:49 err="Unknown signal received: mediaserver.started"
WRN 2024-11-04 21:28:11.217Z qt warning                                 topics="qt" tid=228975 text="Error while loading QML: QUrl(\"qrc:/main.qml\")" file=:0 category=default
INF 2024-11-04 21:28:11.217Z shutting down...                           topics="status-app" tid=228975 file=nim_status_client.nim:222
INF 2024-11-04 21:28:11.217Z logging out...                             topics="app-controller" tid=228975 file=app_controller.nim:296
ERROR[11-04|21:28:11.219|github.com/status-im/status-go/mobile/status.go:958] error in makeJSONResponse                error="there is no running node"

https://discuss.status.app/t/status-desktop-2-31-fails-to-start-on-ubuntu-24-10/4824/3

https://forum.garudalinux.org/t/after-update-filesystem-missing-boot-issue-6-8-1/35766

Additional Information

anastasiyaig commented 2 weeks ago

@alexjba @caybro can you guys take a look?

alexjba commented 2 weeks ago

The qt webengine seems to be missing. @anastasiyaig can you reproduce as well?

anastasiyaig commented 2 weeks ago

i dont have 24.10 ubuntu so i cant @alexjba

alexjba commented 2 weeks ago

@yakimant Now you're the authority in terms of webengine dependency on linux 😄 . Any quick thought on this issue? This is the interesting error:

WRN 2024-11-04 21:28:11.213Z qt warning                                 topics="qt" tid=228975 text="plugin cannot be loaded for module \"QtWebEngine\": Cannot load library /tmp/.mount_StatusBG74Oy/usr/qml/QtWebEngine/libqtwebengineplugin.so: (/tmp/.mount_StatusBG74Oy/usr/lib/libmount.so.version `MOUNT_2_40' not found (required by /lib/x86_64-linux-gnu/libgio-2.0.so.0))" file=qrc:/app/AppLayouts/Wallet/services/dapps/DappsConnectorSDK.qml:5 category=default
caybro commented 2 weeks ago

Same problem on Fedora; looks like we're bundling /usr/lib/libmount.so but that one needs a runtime dep /lib/x86_64-linux-gnu/libgio-2.0.so.0 from the actual system. I think we should bundle libgio as well into the AppImage

caybro commented 2 weeks ago

Seems to be a problem exclusively with the Linux NIX package, the "regular" one (found e.g. at https://github.com/status-im/status-desktop/releases/download/2.31.1/StatusIm-Desktop-v2.31.1-a322b9-x86_64.tar.gz) works fine:

Image

anastasiyaig commented 2 weeks ago

we need to republish "normal" build on the website asap, wondering who can help with that @felicio maybe you can?

bobsummerwill commented 2 weeks ago

Oh, the Nix part is interesting, @caybro.

I had not spotted that I downloaded the nix version for 2.31.1, where I had the non-nix version for 2.30.1.

I don't know what the "Download for Linux" (https://status.app/api/download/linux) reconciles to, but maybe best to have a page specifically for that, with stable versus beta and normal vs nix, etc?

I must have gone into the releases folder on Github manually, looking to make sure I was getting the right version (but screwed up the VARIANT of that version).

bobsummerwill commented 2 weeks ago

I can confirm that I have successfully started from the non-Nix AppImage for 2.31.1 :-)

So the weirdness is only in the Nix variant.

"I think we should bundle libgio as well into the AppImage"

I would concur @caybro!

caybro commented 2 weeks ago

Oh, the Nix part is interesting, @caybro.

I had not spotted that I downloaded the nix version for 2.31.1, where I had the non-nix version for 2.30.1.

Yeah, that's what the Download link on our website lead to, this is fixed now. Thanks you for reporting the problem