desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: Clean install crashes on startup

Open xernfptemapbuydh opened this issue 1 month ago • 1 comments

⚠️ Before submitting, please verify the following: ⚠️

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

  1. Install Arch Linux with KDE
  2. # pacman -S nextcloud-client
  3. Launch Nextcloud Desktop
  4. 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

xernfptemapbuydh avatar Dec 08 '25 11:12 xernfptemapbuydh

After login and syncing with v4.0.1 the v4.0.3 client no longer crashes on startup.

xernfptemapbuydh avatar Dec 08 '25 13:12 xernfptemapbuydh

@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

mgallien avatar Dec 16 '25 09:12 mgallien

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.

xernfptemapbuydh avatar Dec 16 '25 09:12 xernfptemapbuydh

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)

fruel avatar Dec 16 '25 09:12 fruel

I am also having this issue with a fresh Arch install (EndeavourOS) and nextcloud client 4.0.4. Tries to start, immediately crashes.

pimento2000 avatar Dec 20 '25 09:12 pimento2000

@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.

xernfptemapbuydh avatar Dec 20 '25 09:12 xernfptemapbuydh