Issue with the victron connect AppImage (Linux)

Hello,

I’m on Arch Linux and I tried downloading the AppImage for Victron Connect but I noticed that clicking on the vrm login button would do nothing, there were no logs either. I decompressed the AppImage and tried running it using LD_LIBRARY_PATH=../lib ./bin/VictronConnect and then there were logs that said

kde-open: ../lib/libQt6Core.so.6: version `Qt_6.9' not found (required by kde-open)
kde-open: ../lib/libQt6Core.so.6: version `Qt_6.9' not found (required by /usr/lib/libKF6KIOGui.so.6)
kde-open: ../lib/libQt6Core.so.6: version `Qt_6.9' not found (required by /usr/lib/libKF6KIOCore.so.6)
kde-open: ../lib/libQt6Core.so.6: version `Qt_6.9' not found (required by /usr/lib/libKF6CoreAddons.so.6)
kde-open: ../lib/libQt6Core.so.6: version `Qt_6.9' not found (required by /usr/lib/libKF6I18n.so.6)
kde-open: ../lib/libQt6Core.so.6: version `Qt_6.9' not found (required by /usr/lib/libKF6Service.so.6)
kde-open: ../lib/libQt6Core.so.6: version `Qt_6.9' not found (required by /usr/lib/libKF6Solid.so.6)
kde-open: ../lib/libQt6Core.so.6: version `Qt_6.9' not found (required by /usr/lib/libKF6WindowSystem.so.6)
kde-open: ../lib/libQt6Core.so.6: version `Qt_6.9' not found (required by /usr/lib/libKF6ConfigCore.so.6)
kde-open: ../lib/libQt6Core.so.6: version `Qt_6.9' not found (required by /usr/lib/libKF6Crash.so.6)
kde-open: ../lib/libQt6Core.so.6: version `Qt_6.9' not found (required by /usr/lib/libKF6AuthCore.so.6)

I found the login link which was https://vrm.victronenergy.com/victron-connect-login and using Firefox I was able to login.

Hi,

This seems to be caused by a mismatch between the Qt libraries shipped with VictronConnect and the ones that the system kde-open expects and loads. We have to see what we can do to improve this.

With kind regards,

Thiemo van Engelen

Hi everyone,

I have downloaded the AppImage and tried to get it running on Manjaro Linux (Arch based).

But in 8 out of 10 attempts it crashes right after the GUI appears with a memory access error. System is up-to-date, all other apps are working fine. I am using the KDE desktop.

Extracting the image before and running it from the squashfs folder won’t fix the problem. Journal doesn’t give valuable information. Where are the logs stored while running the appimage?

Does someone have had this issue and got it resolved successfully? Would be great to get the App running on my Laptop.
I would also try to run an older version, but can’t find an archive of the app.

Many thanks!

Hi everyone,

this seem to be an issue of the app image. There is a library missing libQtBluetoothLocal.so.1 which prevents the app image running on Arch Linux. As it is an Image, i would expect the library is packed into it by the developers.

Meanwhile i got a previous version 5.103 which works on Arch Linux.

Thanks
Uwe

Ive still got 6.07, 6.19 and 6.23 if you want to try

Hi @chrigu

would be great if you could share an older version which is between the latest and 5.103.
Can you put it somewhere on a share to get it downloaded?

Much appreciated

Uwe

perfect, thanks!
Will give it a shot

Quick update:

None of them is working. All with the same error on libQt6Core.so.6
But thanks for sharing previous versions.

I’ve extracted the AppImage of 6.24 and tried to replace the library from a different installation.
./AppRun brought it up once, even with my previously configured devices. But every next launch crashed again.

Was worth the try

Hi @Kerberos

What Manjaro Linux version are you running?

Regards,
Thiemo van Engelen

H @thiemovanengelen

thanks for your reply.
I am using the regular Manjaro stable rolling release with KDE (wayland)

LSB Version:    n/a
Distributor ID: ManjaroLinux
Description:    Manjaro Linux
Release:        26.0.2
Codename:       Anh-Linh

All updates which are currently available are installed.

Hi @Kerberos

Then I have no idea what could be wrong as I just tested VictronConnect 6.24 (https://www.victronenergy.nl/upload/software/VictronConnect-x86_64_v6.24.AppImage) on a fresh install of Manjaro KDE. Ok… this was in a virtual, but still… I did not have any problem starting VictronConnect multiple times. The only problem I ran into was with the “Sign in to VRM” button as that tries to open kde-open and that fails due to a Qt version mismatch.

Also when extracting that AppImage, it did contain a libQtBluetoothLocal.so.1. When running ldd on bin/VictronConnect, it shows it cannot find it, but that is because the AppRun script changes the environment so it can be found.

Regards,
Thiemo van Engelen

Hi @thiemovanengelen

many thanks for your efforts.
Strange that i do not get it working properly. I am testing it now on a second device. Same Distribution with same version, but with less RAM.

My original device is having 64 GB RAM, i’ve read that sometimes it can cause trouble for a few applications.

Again, thanks for your replies!

Uwe

@thiemovanengelen

I’ve asked also in Manjaro Community. At least one reported it causes the same crashes as mine.

Uwe

I’m having difficulty comprehending how core elements of a package can be missing from a production release or even a beta release.

They are included but not pointed to?

Could you please explain it to me?

Ive manually patched the header like below to use all the included binaries instead of the previous, using assumed missing external binaries:

Installed patchelf: to patch the header
Patched Main Executable:
File: VictronConnect
Action: Set RPATH to $ORIGIN/../lib
Result: The app now automatically looks in its own lib folder without needing LD_LIBRARY_PATH.
Patched Bundled Libraries:
Files: All .so files in lib (including libQtBluetoothLocal.so.1).
Action: Set RPATH to $ORIGIN.
Result: These libraries now correctly find each other. Crucially, libQtBluetoothLocal.so.1 now links to the bundled libQt6Core.so.6 instead of your system's version.
Patched Plugins:
Files: All Qt plugins in plugins.
Action: Set RPATH to $ORIGIN/../../lib.
Result: Runtime plugins (like image formats and platforms) can now find the core libraries.

Still the VRM login redirect fails to complete, regardless of the browser used. The locally available devices are usable.

But I can confirm that the bluetooth patch is great success!!

Nice work!

Same for me but in openSUSE TW: (v6.24) VictronConnect - Linux AppImage crashes in Linux

Hi all,

I am able to reproduce the issue. It seems that it needs an actual bluetooth dongle to trigger it, which I previously did not have in my virtual. Now it will take some time to find out what is going wrong.

Regards,
Thiemo van Engelen

Thanks @thiemovanengelen I have removed the other comments so the two OP’s who have this issue can comment.

Perfect, thanks for your efforts @thiemovanengelen
I am using the internal BT adapter of my laptop, nothing external. Just in case it’s important.

Uwe

Can you confirm the model of laptop and ideally the BT adapter model?