[Bug]: Clean install crashes on startup
⚠️ Before submitting, please verify the following: ⚠️
- [x] This is a bug, not a question or a configuration issue.
- [x] This issue is not already reported on Github (I've searched it).
- [x] Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- [x] I agree to follow Nextcloud's Code of Conduct
Bug description
v4.0.3 persistently crashes on startup on a clean Arch Linux install (KDE, Qt6). Restarting or rm -rf .config/Nextcloud doesn't help. v4.0.2 has the same issue, v4.0.1 works.
Log doesn't have any errors, few warnings see the config dir attached below. I do have four coredumps, let me know if I should upload those somewhere.
Steps to reproduce
- Install Arch Linux with KDE
-
# pacman -S nextcloud-client - Launch Nextcloud Desktop
- Client window opens with login dialog and then immediately closes
Expected behavior
Not crashing
Which files are affected by this bug
irrelevant
Operating system
Linux
Which version of the operating system you are running.
Arch Linux (2025-12-08 10:00 UTC)
Package
Distro package manager
Nextcloud Server version
28.0.5
Nextcloud Desktop Client version
4.0.3
Is this bug present after an update or on a fresh install?
Fresh desktop client install
Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
Are you using an external user-backend?
- [x] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Nextcloud Server logs
Additional info
~/.config/Nextcloud: Nextcloud.tar.gz
After login and syncing with v4.0.1 the v4.0.3 client no longer crashes on startup.
@xernfptemapbuydh can you upgrade to 4.0.4 and test again ? we would really appreciate feedback on this release that may have fixed the issue you had with 4.0.3
Yeah, I'll give it a go! I won't be clean installing Arch again, but I'll try to reproduce it first with 4.0.3 and then 4.0.4 by uninstalling the package and moving the config and data directories out of the way. Might take a couple days before I can find a moment.
I had the same issue & tried to locally rebuild the 4.0.1 package. But that one crashed just the same for me.
Later, after installing the prebuilt 4.0.3 again and some other package updates it suddenly stopped crashing. I did not pay enough attention but the things I remember:
- At least once during testing I fully deleted
~/.config/Nextcloud - One of the OS packages that was updated when it started working was chomium. It is not a direct dependency, but could there be some crosstalk between chromium and qt-webengine? I recall that one of the last lines in my logfile begore the crash was webview related.
In any case, for me 4.0.3 started to work in the same setup (haven updated to 4.0.4 yet)
I am also having this issue with a fresh Arch install (EndeavourOS) and nextcloud client 4.0.4. Tries to start, immediately crashes.
@mgallien I tried to reproduce this and I'm running into some strange behavior. I removed ~/.config/Nextcloud and reinstalled 4.0.3 and confirmed I could reproduce the issue like this. Then installed 4.0.4 which had the same behavior, unfortunately not fixed.
After that I tried to restore my install like previously by installing 4.0.1, but similar to 4.0.3 and 4.0.4 that also crashed. I double checked my shell history and that was definitely the last version I installed previously and I also noted it in the original report above. I'm not sure why it doesn't work now.
I continued down to version 3.17.2, which finally worked. I didn't remove ~/.config/Nextcloud before launching that version, but I'm also not sure if I did this for all the others in between. Then out of curiosity I went back to version 4.0.4, I removed ~/.config/Nextcloud and it launched fine, I could log in and sync.
I have no clue what's going on, but I hope this helps.
A final note, I see this is labeled as package: appimage, but I'm pretty sure the package is build from the source for Arch. See the PKGBUILD file here.