Desktop Client crash on MacOS. Errors in NC28

Nextcloud version: 28.0.2
Operating system and version: Linux 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64
Apache or nginx version: nginx/1.18.0 (fpm-fcgi)
PHP version: 8.2.15
Database: mysql 10.5.23

The issue you are facing:
When I start my desktop client, it hangs really fast. After a few seconds the app freezes.

Client details
OS: Mac OS Sonoma 14.3.1 (23D60)
Client version: 3.11.1git (build 20061)

Is this the first time you’ve seen this error?:
Yes

Steps to replicate it:

  1. Launch Nextcloud client

The output of your Nextcloud log in Admin > Logging:

{
  "reqId": "XXXXXXXXXXXXX",
  "level": 3,
  "time": "2024-02-12T09:00:04+00:00",
  "remoteAddr": "2001xxxxxxxxxxxxxxxxxxxx5",
  "user": "XXXX",
  "app": "PHP",
  "method": "GET",
  "url": "/settings/admin/ldap",
  "message": "Undefined array key \"s01\" at /var/www/nextcloud/apps/user_ldap/templates/part.wizard-server.php#10",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
  "version": "28.0.2.5",
  "data": {
    "app": "PHP"
  },
  "id": "65xxxxxxxxx7c"
}

And a little later this one:

{
  "reqId": "XXXXXXXXXXXXX",
  "level": 3,
  "time": "2024-02-12T09:07:19+00:00",
  "remoteAddr": "2001:1c08:201:af00:e442:e5b9:ee0a:3df5",
  "user": "XXXX",
  "app": "no app in context",
  "method": "POST",
  "url": "/remote.php/dav/bulk",
  "message": "Computed md5 hash is incorrect.",
  "userAgent": "Mozilla/5.0 (Macintosh) mirall/3.11.1git (build 20061) (Nextcloud, osx-23.3.0 ClientArchitecture: arm64 OsArchitecture: arm64)",
  "version": "28.0.2.5",
  "data": [],
  "id": "XXXXXXXXXXXXX"
}

The output of config.php file

{
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "localhost",
        "cloud.pondr.nl"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "28.0.2.5",
    "overwrite.cli.url": "https:\/\/cloud.pondr.nl\/",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
    "updatechecker": false,
    "memcache.local": "\\OC\\Memcache\\APCu",
    "integrity.check.disabled": true,
    "filelocking.enabled": true,
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": "6379",
        "timeout": "0.0",
        "password": "***REMOVED SENSITIVE VALUE***"
    },
    "hashing_default_password": true,
    "localstorage.allowsymlinks": true,
    "simpleSignUpLink.shown": false,
    "mail_smtpmode": "smtp",
    "mail_smtpport": "25",
    "mail_smtpauth": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "mail_sendmailmode": "smtp",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpstreamoptions": {
        "ssl": {
            "allow_self_signed": true,
            "verify_peer": false,
            "verify_peer_name": false
        }
    },
    "logout_url": "https:\/\/ons.pondr.nl\/",
    "defaultapp": "files"
}

The output of nginx/system log in /var/log/:

2024/02/11 22:18:11 [error] 49067#49067: *80 open() "/usr/share/nginx/html/.well-known/caldav" failed (2: No such file or directory), client: 127.0.0.1, server: cloud.DOMAIN.nl, request: "GET /.well-known/caldav HTTP/2.0", host: "cloud.DOMAIN.nl"
2024/02/11 22:18:11 [error] 49067#49067: *81 open() "/usr/share/nginx/html/.well-known/carddav" failed (2: No such file or directory), client: 127.0.0.1, server: cloud.DOMAIN.nl, request: "GET /.well-known/carddav HTTP/2.0", host: "cloud.DOMAIN.nl"
2024/02/12 08:58:45 [error] 101329#101329: *6353 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected token "=", expecting ")" in /var/www/nextcloud/config/config.php on line 57" while reading upstream, client: XX.XX.XX.XX, server: cloud.DOMAIN.nl, request: "GET /settings/admin/overview HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.2-fpm-nextcloud.sock:", host: "cloud.DOMAIN.nl"
2024/02/12 08:58:46 [error] 101329#101329: *6353 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected token "=", expecting ")" in /var/www/nextcloud/config/config.php on line 57" while reading upstream, client: XX.XX.XX.XX, server: cloud.DOMAIN.nl, request: "GET /favicon.ico HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.2-fpm-nextcloud.sock:", host: "cloud.DOMAIN.nl"
2024/02/12 08:58:46 [error] 101329#101329: *6353 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected token "=", expecting ")" in /var/www/nextcloud/config/config.php on line 57" while reading upstream, client: XX.XX.XX.XX, server: cloud.DOMAIN.nl, request: "GET /index.php/apps/files/preview-service-worker.js HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.2-fpm-nextcloud.sock:", host: "cloud.DOMAIN.nl"
2024/02/12 08:59:23 [error] 101329#101329: *6353 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected token "=", expecting ")" in /var/www/nextcloud/config/config.php on line 56" while reading upstream, client: XX.XX.XX.XX, server: cloud.DOMAIN.nl, request: "GET /settings/admin/overview HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.2-fpm-nextcloud.sock:", host: "cloud.DOMAIN.nl"
2024/02/12 08:59:23 [error] 101329#101329: *6353 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected token "=", expecting ")" in /var/www/nextcloud/config/config.php on line 56" while reading upstream, client: XX.XX.XX.XX, server: cloud.DOMAIN.nl, request: "GET /favicon.ico HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.2-fpm-nextcloud.sock:", host: "cloud.DOMAIN.nl"
2024/02/12 08:59:24 [error] 101329#101329: *6353 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected token "=", expecting ")" in /var/www/nextcloud/config/config.php on line 56" while reading upstream, client: XX.XX.XX.XX, server: cloud.DOMAIN.nl, request: "GET /index.php/apps/files/preview-service-worker.js HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.2-fpm-nextcloud.sock:", host: "cloud.DOMAIN.nl"

This sounds VERY similar to a crash a client is getting but they’re on Windows. But NC 28.0.2 on the server. Kill the Nextcloud process, launch the app, can interact with it for a few seconds but it then hangs.

https://help.nextcloud.com/t/nextcloud-stopping-file-explorer-opening-critical