desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: nextcloud app crashes after update to 3.7.1

Open maffi-git opened this issue 3 years ago • 41 comments

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

Bug description

Nextcloud app crashes after latest update to 3.7.1 because of a missing library on macOS 10.15.7 -> see crash log excerpt below.

I tried to install the previous version over it, but still no luck there. Deleted Nextcloud and did a fresh install of new version. Still crashes. Deleted Nextcloud and did a fresh install of 3.6.6 - Nextcloud works again. Maybe a build-error?

Here is the start of the error report: Process: Nextcloud [844] Path: /Applications/nextcloud.app/Contents/MacOS/Nextcloud Identifier: com.nextcloud.desktopclient Version: 3.7.1git [build 13765] (3.7.1.13765) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Nextcloud [844] User ID: 501

Date/Time: 2023-02-07 18:27:32.774 +0100 OS Version: Mac OS X 10.15.7 (19H2026) Report Version: 12

System Integrity Protection: enabled

Crashed Thread: 0

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: DYLD, [0x1] Library missing

Application Specific Information: dyld: launch, loading dependent libraries

Dyld Error Message: Library not loaded: @loader_path/liblzma.5.dylib Referenced from: /Applications/nextcloud.app/Contents/Frameworks/libKF5Archive.5.dylib Reason: no suitable image found. Did find: file system relative paths not allowed in hardened programs

Steps to reproduce

  1. Update or install 3.7.1 over previous version on macOS 10.15.7

Expected behavior

No crash

Which files are affected by this bug

liblzma.5.dylib

Operating system

Mac OS

Which version of the operating system you are running.

10.15.7

Package

Appimage

Nextcloud Server version

25.0.3

Nextcloud Desktop Client version

3.7.1

Is this bug present after an update or on a fresh install?

Updated to a major version (ex. 3.3.6 to 3.4.0)

Are you using the Nextcloud Server Encryption module?

Encryption is disabled

Are you using an external user-backend?

  • [ ] Default internal user-backend
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Nextcloud Server logs

No response

Additional info

No response

maffi-git avatar Feb 07 '23 17:02 maffi-git

I am also having this issue on 10.15.7. Same error in the console.

cwesterfield avatar Feb 08 '23 02:02 cwesterfield

I have the same issue on 11.7.1

FesTGig avatar Feb 08 '23 08:02 FesTGig

Confirmed here. Since upgrade to latest version 3.7.1 MacOS 11.7.2

pihomeserver avatar Feb 08 '23 08:02 pihomeserver

Same here on MacOS 10.14.6

Bigwaf avatar Feb 08 '23 09:02 Bigwaf

Hi all, the cause seems clear but I am having rouble reproducing -- did you update via the updater or via downloading and installing the .pkg? Does installing the .pkg make the issue go away?

claucambra avatar Feb 08 '23 11:02 claucambra

Hi all, the cause seems clear but I am having rouble reproducing -- did you update via the updater or via downloading and installing the .pkg? Does installing the .pkg make the issue go away?

I started with the updater, and when it didn't start I downloaded the 3.7.1 pkg. That didn't work. I downloaded the 3.6.6 pkg, and that also will not start.

cwesterfield avatar Feb 08 '23 11:02 cwesterfield

For this I would say remove Nextcloud.app completely and then reinstall, see if this works

Hi all, the cause seems clear but I am having rouble reproducing -- did you update via the updater or via downloading and installing the .pkg? Does installing the .pkg make the issue go away?

I started with the updater, and when it didn't start I downloaded the 3.7.1 pkg. That didn't work. I downloaded the 3.6.6 pkg, and that also will not start.

claucambra avatar Feb 08 '23 11:02 claucambra

Hi claucambra, here's what I did on my 10.14.6 machine:

  • searched for all files with "nextcloud" in their name

  • put them to trash

  • emptied trash

  • installed "Nextcloud-3.7.1.pkg"

  • didn't work

  • searched for all files with "nextcloud" in their name

  • put them to trash

  • emptied trash

  • installed "Nextcloud-3.6.6.pkg"

  • worked again

Bigwaf avatar Feb 08 '23 11:02 Bigwaf

For this I would say remove Nextcloud.app completely and then reinstall, see if this works

I had the same problem, MacOS 10.14.6. I did remove all files and .plist concerning nextcloud using AppCleaner, rebooted. Reinstalled from scratch 3.7.1, same crash. Deleted again the app with AppCleaner, installed 3.6.6 (no reboot) it worked again.

wilya7 avatar Feb 08 '23 11:02 wilya7

I started with the updater, and when it didn't start I downloaded the 3.7.1 pkg. That didn't work. I downloaded the 3.6.6 pkg, and that also will not start.

I had initially the same problem. I Tried again, this time using AppCleaner to clean up any file remaining other then Nexcloud, rebooted (so to be sure there are no Nextcloud processes running in the background) and reinstalled 3.6.6.

It worked.

wilya7 avatar Feb 08 '23 12:02 wilya7

Glad to hear at least 3.6.6 is still working.

We are working on a fix for the issue with the library, but for now deleting 3.7.1 and reinstalling 3.6.6 should fix issues. Will update with more soon

claucambra avatar Feb 08 '23 12:02 claucambra

Reinstalling 3.6.6 over 3.7.1 did not work for me too, Cmd-I still reported "3.7.1git" for the NC app, even after reinstalling! Finally, moving 3.7.1 to the trash and installing 3.6.6 did the job ;)

mrx234 avatar Feb 08 '23 12:02 mrx234

With MacOS Big Sur 11.7.3, neither 3.7.0 nor 3.7.1 do work. I was able to re-install 3.6.6 which is ok.

peter-rindfuss avatar Feb 08 '23 14:02 peter-rindfuss

Can confirm this issue on 11.7.3, with both the integrated updater and downloading the .pkg.

Workaround as mentioned via uninstalling -> reinstall 3.6.6

icescalar avatar Feb 08 '23 15:02 icescalar

Confirm - 3.7.1 not working (on osx 10.15.7), rollback to 3.6.6 works again. Issue with both the integrated updater and also downloaded .pkg.

argoso avatar Feb 08 '23 20:02 argoso

Hi folks, we have built a test version of 3.7.1 with some changes to the bundled KArchive dependency.

We are looking for feedback on this test package from those affected by the crash on launch -- this package can be downloaded here:

https://cloud.nextcloud.com/s/iqbHG2Yb5yRFTAB

Please let us know if the crash is still present!

claucambra avatar Feb 08 '23 20:02 claucambra

@claucambra - I'm running MacOS 11.7.2 - just installed that new build and it did start up and I'm syncing again.

stjeanp avatar Feb 08 '23 20:02 stjeanp

Hi folks, we have built a test version of 3.7.1 with some changes to the bundled KArchive dependency.

We are looking for feedback on this test package from those affected by the crash on launch -- this package can be downloaded here:

https://cloud.nextcloud.com/s/iqbHG2Yb5yRFTAB

Please let us know if the crash is still present!

Yes, that's works!

argoso avatar Feb 08 '23 20:02 argoso

Unfortunately not for me, running MacOS 10.14.6:

/Applications/Nextcloud.app/Contents/MacOS/Nextcloud --logwindow dyld: Library not loaded: @loader_path/libzstd.1.dylib Referenced from: /Applications/Nextcloud.app/Contents/Frameworks/libKF5Archive.5.dylib Reason: no suitable image found. Did find: /Applications/Nextcloud.app/Contents/MacOS/../Frameworks/libzstd.1.dylib: cannot load 'libzstd.1.dylib' (load command 0x80000034 is unknown) /Applications/Nextcloud.app/Contents/Frameworks/libzstd.1.dylib: cannot load 'libzstd.1.dylib' (load command 0x80000034 is unknown) Abort trap: 6

1837456 avatar Feb 08 '23 20:02 1837456

Works fine for me with this new package on Mac OS 11.7.3 Thanks.

globul69 avatar Feb 08 '23 20:02 globul69