Nextcloud Client: syncing does not complete, frequent crashes when there are changes in large sync folder (1.7TB)

If nuking the client and its settings is the easier option, that would not be an issue.

The Basics

  • Nextcloud Server version:
    • 31.0.0
  • Operating system and version:
    • Arch, fully updated
  • Web server and version:
    • nginx 1.26.2
  • Reverse proxy and version:
    • 1.26.2
  • PHP version:
    • 8.3.17
  • Is this the first time you’ve seen this error?:
    • No
  • When did this problem seem to first start?
    • Several months ago
  • Installation method:
    • Server: docker, client: arch repo
  • Are you using CloudfIare, mod_security, or similar?
    • No

Summary of the issue you are facing:

Possibly combined issues: syncing on synced folders (i have 6 of these) completes for a maximum of 3, even when there are no or only minor changes

Steps to replicate it (hint: details matter!):

  1. Sync 6 folders from NC to local machine via nextcloud-client
  2. Syncing does not complete
    (Difficult to add detail here, as my step 1 was done over a year ago, and problems only arose in recent months)

Log entries

Nextcloud

[https://www.mediafire.com/file/plhjhw074d7zw5j/nextcloud.log/file](https://logs here)

Web server / Reverse Proxy

[https://www.mediafire.com/file/t3iu6sjeu3r1sfe/access.log/file](https://logs here)

(from …/letsencrypt/log/nginx - SWAG volume in Docker mapped to /config)

Configuration

Nextcloud

# occ config:list system
{
    "system": {
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "collabora_wopi_allowlist": [
            "collabora.vibraphone.one"
        ],
        "trusted_domains": [
            "nextcloud.vibraphone.one"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "0": [
            "localhost"
        ],
        "dbtype": "mysql",
        "version": "31.0.0.18",
        "overwrite.cli.url": "https:\/\/nextcloud.vibraphone.one",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false,
        "logtimezone": "Europe\/Berlin",
        "simpleSignUpLink.shown": false,
        "default_phone_region": "DE",
        "theme": "",
        "loglevel": 2,
        "app_install_overwrite": [
            "epubreader",
            "documentserver_community",
            "money",
            "forms"
        ],
        "memcache.local": "\\OC\\Memcache\\APCu",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_smtpauthtype": "PLAIN",
        "mail_sendmailmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "memories.exiftool": "\/config\/www\/nextcloud\/apps\/memories\/exiftool-bin\/exiftool-amd64-musl",
        "memories.vod.path": "\/config\/www\/nextcloud\/apps\/memories\/exiftool-bin\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\APCu",
        "upgrade.disable-web": false,
        "maintenance_window_start": 2,
        "defaultapp": "files",
        "wopi_url": "https:\/\/collabora.vibraphone.one"
    }
}

Apps

# occ app:list
#Enabled:
  - activity: 4.0.0
  - app_api: 5.0.2
  - bruteforcesettings: 4.0.0
  - calendar: 5.1.2
  - circles: 31.0.0-dev.0
  - cloud_federation_api: 1.14.0
  - comments: 1.21.0
  - contacts: 7.0.3
  - contactsinteraction: 1.12.0
  - dav: 1.33.0
  - deck: 1.15.0
  - federatedfilesharing: 1.21.0
  - federation: 1.21.0
  - files: 2.3.1
  - files_downloadlimit: 4.0.0
  - files_external: 1.23.0
  - files_pdfviewer: 4.0.0
  - files_reminders: 1.4.0
  - files_sharing: 1.23.1
  - files_trashbin: 1.21.0
  - files_versions: 1.24.0
  - firstrunwizard: 4.0.0
  - forms: 5.0.2
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - nextcloud_announcements: 3.0.0
  - notes: 4.11.0
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - onlyoffice: 9.7.0
  - password_policy: 3.0.0
  - polls: 7.3.2
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - recommendations: 4.0.0
  - related_resources: 2.0.0
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - sharebymail: 1.21.0
  - support: 3.0.0
  - systemtags: 1.21.1
  - tasks: 0.16.1
  - text: 5.0.0
  - theming: 2.6.1
  - twofactor_backupcodes: 1.20.0
  - updatenotification: 1.21.0
  - user_status: 1.11.0
  - viewer: 4.0.0
  - weather_status: 1.11.0
  - webhook_listeners: 1.2.0
  - workflowengine: 2.13.0
Disabled:
  - admin_audit: 1.21.0
  - cookbook: 0.11.2 (installed 0.11.2)
  - dashboard: 7.11.0 (installed 7.9.0)
  - documentserver_community: 0.1.20 (installed 0.1.20)
  - encryption: 2.19.0
  - epubreader: 1.4.7
  - files_rightclick: 0.15.1 (installed 1.6.0)
  - maps: 1.5.0 (installed 1.5.0)
  - photos: 4.0.0-dev.1 (installed 2.0.0)
  - richdocuments: 8.6.2 (installed 8.6.2)
  - survey_client: 3.0.0 (installed 2.0.0)
  - suspicious_login: 9.0.1
  - twofactor_nextcloud_notification: 5.0.0
  - twofactor_totp: 13.0.0-dev.0
  - user_ldap: 1.22.0