Client does not start under macOS High Sierra 10.13

Hello,
after installing macOS 10.13 aka High Sierra I also installed the macOS desktop client.
After some time working flawlessly the client crashed. Right now I cannot find any clue why it crashes or what reason it caused.

Call from Terminal:

mybook:Export fabian$ /Applications/nextcloud.app/Contents/MacOS/nextcloud —logfile /Users/fabian/nclog.txt
Segmentation fault: 11
mybook:Export fabian$

NClog.txt:

10-20 22:01:38:865 977419 OCC::Application::setupLogging: "################## Nextcloud de_DE () 2.3.2 (build 1) on macOS 10.13"
10-20 22:01:38:867 977419 OCC::Application::setupTranslations: void OCC::Application::setupTranslations() Using "de_DE" translation
10-20 22:01:38:869 977419 OCC::Application::Application: Loading global exclude list
10-20 22:01:38:873 0x7fd53951d1e0 csync_exclude_load: Adding entry: *~
..... Excludes .....
10-20 22:01:38:874 0x7fd53951d1e0 csync_exclude_load: Adding entry: .nfs*
10-20 22:01:38:875 0x7fd53951d1e0 csync_exclude_load: Adding entry: My Saved Places.
10-20 22:01:38:876 977419 OCC::SocketApi::SocketApi: SocketApi:  server started, listening at  "com.nextcloud.desktopclient.socketApi"
10-20 22:01:38:877 977419 OCC::FolderMan::FolderMan: setting remote poll timer interval to 30000 msec
10-20 22:01:40:880 977419 OCC::AccountManager::loadAccountHelper: Account for QUrl("https://xyz.xx:8080") using auth type "http"
10-20 22:01:40:883 977419 OCC::FolderMan::setupFolders: * Setup folders from settings file
10-20 22:01:40:885 977419 OCC::Folder::checkLocalPath: Checked local path ok
10-20 22:01:40:885 977419 OCC::Folder::setIgnoredFiles: ==== adding system ignore list to csync: "/Applications/nextcloud.app/Contents/Resources/sync-exclude.lst"
10-20 22:01:40:885 0x7fd53951d1e0 csync_exclude_load: Adding entry: *~
10-20 22:01:40:886 0x7fd53951d1e0 csync_exclude_load: Adding entry: ~$*
..... Excludes .....
10-20 22:01:40:887 0x7fd53951d1e0 csync_exclude_load: Adding entry: .nfs*
10-20 22:01:40:887 0x7fd53951d1e0 csync_exclude_load: Adding entry: My Saved Places.
10-20 22:01:40:887 977419 OCC::FolderMan::addFolderInternal: Adding folder to Folder Map  OCC::Folder(0x7fd53bb87bc0) "1"
10-20 22:01:40:887 977419 OCC::FolderWatcherPrivate::startWatching: FolderWatcherPrivate::startWatching() "/Users/fabian/Nextcloud/"
10-20 22:01:40:888 977419 OCC::FolderMan::scheduleFolder: Schedule folder  "1"  to sync!
10-20 22:01:40:888 977419 OCC::FolderMan::scheduleFolder: Folder is not ready to sync, not scheduled!
10-20 22:01:40:888 977419 OCC::ClientProxy::setupQtProxyFromConfig: Set proxy configuration to use system configuration
10-20 22:01:43:903 977419 OCC::SyncJournalDb::checkConnect: sqlite3 version "3.16.1"
10-20 22:01:43:903 977419 OCC::SyncJournalDb::checkConnect: sqlite3 journal_mode= "wal"
10-20 22:01:43:904 977419 OCC::SyncJournalDb::commitInternal: void OCC::SyncJournalDb::commitInternal(const QString &, bool) Transaction commit  "checkConnect" and starting new transaction
10-20 22:01:43:904 977419 OCC::SyncJournalDb::tableColumns: Columns in the current journal:  ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid", "remotePerm", "filesize", "ignoredChildrenRemote", "contentChecksum", "contentChecksumTypeId")
10-20 22:01:43:904 977419 OCC::SyncJournalDb::commitInternal: void OCC::SyncJournalDb::commitInternal(const QString &, bool) Transaction commit  "update database structure: add inode index" and starting new transaction
10-20 22:01:43:904 977419 OCC::SyncJournalDb::commitInternal: void OCC::SyncJournalDb::commitInternal(const QString &, bool) Transaction commit  "update database structure: add path index" and starting new transaction
10-20 22:01:43:904 977419 OCC::SyncJournalDb::tableColumns: Columns in the current journal:  ("path", "lastTryEtag", "lastTryModtime", "retrycount", "errorstring", "lastTryTime", "ignoreDuration", "renameTarget")
10-20 22:01:43:905 977419 OCC::SyncJournalDb::commitInternal: void OCC::SyncJournalDb::commitInternal(const QString &, bool) Transaction commit  "checkConnect End"

MacOS Console:

standard 22:02:54.057289 +0200 launchservicesd CHECKIN:0x0-0x8b08b 9263 com.nextcloud.desktopclient
standard 22:02:54.060611 +0200 mds directQueryFetchResultsReply 40961 1795162112 35
standard 22:02:54.288964 +0200 nextcloud UNIX error exception: 17
standard 22:02:54.300354 +0200 Console Persistent UI failed to open file file:///Users/fabian/Library/Saved%20Application%20State/com.apple.Console.savedState/window_1.data: No such file or directory (2)
standard 22:02:54.306572 +0200 nextcloud UNIX error exception: 17
standard 22:02:54.310588 +0200 nextcloud UNIX error exception: 17
standard 22:02:54.316823 +0200 nextcloud UNIX error exception: 17
standard 22:02:54.321376 +0200 nextcloud UNIX error exception: 17
standard 22:02:54.326550 +0200 nextcloud UNIX error exception: 17
standard 22:02:54.706183 +0200 trustd Leaf has invalid basic constraints
standard 22:02:54.735427 +0200 trustd cert[0]: ValidLeaf =(leaf)> 0
standard 22:02:54.737119 +0200 trustd cert[0]: ValidRoot =(path)> 0
standard 22:02:54.737925 +0200 nextcloud [leaf ValidLeaf ValidRoot]
standard 22:02:54.791722 +0200 trustd Leaf has invalid basic constraints
standard 22:02:54.793127 +0200 trustd Leaf has invalid basic constraints
standard 22:02:55.130689 +0200 mds directQueryFetchResultsReply 40963 1795162112 35
standard 22:02:55.132984 +0200 mds directQueryFetchResultsReply 40961 1795162112 35
standard 22:02:56.725565 +0200 trustd cert[2]: AnchorTrusted =(leaf)[force]> 0
fehler 22:02:56.855201 +0200 ReportCrash Failed to start process notifications for pid 9263 (16)

Any ideas?

Thanks,
Fabian

Hi, what version of the client? :slight_smile:

Nextcloud de_DE () 2.3.2 (build 1) on macOS 10.13
:wink:

Please use 2.3.3 beta

Thanks, installed the beta. Nothing changed, except:

  • NClog.txt now tells me that I am using 2.3.3 beta
  • Client automatically generates a Window where it says: Sorry! Nextcloud crashed…
  • Console tells me that com.apple.securityd has a problem

standard 14:39:22.407889 +0200 nextcloud UNIX error Subsystem: com.apple.securityd Category: security exception: 17
standard 14:39:22.753231 +0200 nextcloud Subsystem: com.apple.securityd Category: SecError [leaf ValidLeaf ValidRoot]
standard 14:39:23.573207 +0200 launchservicesd CHECKIN:0x0-0x9c09c 10013 com.nextcloud.desktopclient
standard 14:39:33.629745 +0200 nextcloud_crash_reporter LSExceptions shared instance invalidated for timeout.

I have send the report.

Does it make sense to post the dmp files here?

What else can I do? The strange thing is, that NC did work on 10.13.
To me the console output seems as if there is some kind of security issue?

Thanks,
Fabian

Is this issue being looked at for the next beta release? Has anyone maybe found a workaround?
I can confirm that on OSX 10.13.1 it is not possible to launch the client, also with version 2.3.3 beta of the client.
Cheers,
Olav

Did you report this error here?

I also have this issue with High-Sierra, the client does not start after installation. Deinstalled reinstalled, same issue. It is a new installation of 10.13.1 - 17B48. Please let me know if I should send log files but this should be easy to simulate!

I just submitted an issue here:

Thanks!

Do you have the issue with the ownCloud Client as well? This cross check will likely help the developers to see where the issue is located and if it is there, you could open it in the ownCloud repo for help which usally flows back into the Nextcloud development …

Yep, same issue with ownCloud-2.3.4.8537.pkg
After installation the client cannot be launched. The launch ends with the crash reporter.
So you advise me to also open an issue here: https://github.com/owncloud/client ?

Someone already did: