Hi all!
Some “random” files on my environment do not sync from desktop client to cloud. I dont find the common “detail” across the files and machines. For my point of view it look random. Today i am trying to debug this issue specific. But I dont get any closer. This is why i am consulting you guys. Maybe you can give me a hint to troubleshoot? I am lost…
Looking forward for your help!
Lets begin from the client side.
The Desktop Clients shows me 53GB Data are not synced. If I click on entry it opens a new page with following error:
Error transferring https://xxx.xxx.xx/remote.php/dav/files/xx@xxx.xx/_TEST/BG-2024.psd - server replied: Not Found
This error is the same for 100 similar entries.
The Basics
- Nextcloud Server version (e.g., 29.x.x):
- 30.0.1
- Operating system and version (e.g., Ubuntu 24.04):
- Debian GNU/Linux 12 (bookworm
- Web server and version (e.g, Apache 2.4.25):
- nginx version: nginx/1.22.1
- Reverse proxy and version _(e.g. nginx 1.27.2)
- nginx version: nginx/1.10.3 (For debugging reasons I bypassed the reverse. Issue still available)
- PHP version (e.g, 8.3):
- 8.1
- Is this the first time you’ve seen this error? (Yes / No):
- No
- When did this problem seem to first start?
- Since we use nextcloud
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
- Note sure. Properbly Bare Metal
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
- Np
Summary of the issue you are facing:
- Files are not uploaded from client.
Steps to replicate it (hint: details matter!):
- I am not able to replacte this issue. It just happens. I have one computer now available with 50 GB of test files, which are not synced.
Log entries
Nextcloud Client Debug Archive
025-01-23 22:31:08:890 [ debug nextcloud.gui.systray /var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-27804/src/gui/systray.cpp:424 ] [ OCC::Systray::presentShareViewInTray ]: Opening file details view in tray for "/Users/xx/Cloud-2/_TEST/BG-2025.psd"
2025-01-23 22:31:08:891 [ debug qml qrc:/qml/src/gui/tray/MainWindow.qml:188 ] [ openFileDetails ]: About to show file details view in tray for /Users/xx/Cloud-2/_TEST/BG-2025.psd
2025-01-23 22:31:08:893 [ warning nextcloud.gui.fileactivitylistmodel /var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-27804/src/gui/fileactivitylistmodel.cpp:64 ]: Invalid file record for path: "/Users/xx/Cloud-2/_TEST/BG-2025.psd" will not load activity list model.
2025-01-23 22:31:08:898 [ warning com.nextcloud.sharemodel /var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-27804/src/gui/filedetails/sharemodel.cpp:247 ]: Not updating share model data. Local path is: "" Is account state null: false
2025-01-23 22:31:08:898 [ debug com.nextcloud.sharemodel /var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-27804/src/gui/filedetails/sharemodel.cpp:264 ] [ OCC::ShareModel::updateData ]: Updating share model data now.
2025-01-23 22:31:08:898 [ info nextcloud.sync.accessmanager /var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-27804/src/libsync/accessmanager.cpp:67 ]: 6 "PROPFIND" "https://xx.xx.de/remote.php/dav/files/xx@xx.xx/_TEST/BG-2025.psd" has X-Request-ID "7a48d909-fa18-492d-b575-2354f74d1cfe"
2025-01-23 22:31:08:898 [ info nextcloud.sync.networkjob /var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-27804/src/libsync/abstractnetworkjob.cpp:365 ]: OCC::PropfindJob created for "https://xx.xx.de" + "/_TEST/BG-2025.psd" ""
2025-01-23 22:31:08:898 [ warning nextcloud.gui.sharing /var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-27804/src/gui/filedetails/sharemodel.cpp:359 ]: The file cannot be shared because it does not have sharing permission.
2025-01-23 22:31:08:903 [ debug default /var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-27804/src/gui/filetagmodel.cpp:202 ] [ OCC::FileTagModel::updateOverflowTagsString ]: ""
2025-01-23 22:31:09:111 [ info nextcloud.sync.credentials.webflow /var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-27804/src/gui/creds/webflowcredentials.cpp:405 ]: request finished
2025-01-23 22:31:09:111 [ warning nextcloud.sync.networkjob /var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-27804/src/libsync/abstractnetworkjob.cpp:223 ]: QNetworkReply::ContentNotFoundError "Server replied \"404 Not Found\" to \"PROPFIND https://xx.xx.de/remote.php/dav/files/xx@xx.de/_TEST/BG-2025.psd\"" QVariant(int, 404)
Web server / Reverse Proxy
nextcloud.log
:
Empty
The output of your Apache/nginx/system log in /var/log/____
:
[13:56:04] root@app01.cloud.lamechkyplus.de:/var/log/nginx # grep "BG-2025" --color access.log
192.168.137.15 - xx@xx.de [23/Jan/2025:21:24:58 +0000] "PROPFIND /remote.php/dav/files/xx@xx.de/_TEST/BG-2025.psd HTTP/1.0" 404 579 "-" "Mozilla/5.0 (Macintosh) mirall/3.15.3 (Nextcloud, macos-23.5.0 ClientArchitecture: arm64 OsArchitecture: arm64)"
192.168.137.15 - xx@xx.de [23/Jan/2025:21:31:09 +0000] "PROPFIND /remote.php/dav/files/xx@xx.de/_TEST/BG-2025.psd HTTP/1.0" 404 579 "-" "Mozilla/5.0 (Macintosh) mirall/3.15.3 (Nextcloud, macos-23.5.0 ClientArchitecture: arm64 OsArchitecture: arm64)"
192.168.137.15 - xx@xx.de [24/Jan/2025:13:40:01 +0000] "PROPFIND /remote.php/dav/files/xx@xx.de/_TEST/BG-2025.psd HTTP/1.0" 404 579 "-" "Mozilla/5.0 (Macintosh) mirall/3.15.3 (Nextcloud, macos-23.5.0 ClientArchitecture: arm64 OsArchitecture: arm64)"
Configuration
Nextcloud
occ config:list system
[13:58:52] root@app01.xx.xx.de:/var/www/nextcloud # sudo -u#1024 php /var/www/nextcloud/occ config:list system
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"xx.xx.de"
],
"maintenance_window_start": 1,
"default_locale": "de_DE",
"default_phone_region": "de_DE",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"session_keepalive": true,
"dbtype": "mysql",
"version": "30.0.1.2",
"overwrite.cli.url": "https:\/\/yy.xx.de",
"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,
"memcache.locking": "\\OC\\Memcache\\Redis",
"filelocking.enabled": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": "6379",
"password": "***REMOVED SENSITIVE VALUE***",
"dbindex": 0,
"timeout": 1.5,
"read_timeout": 1.5
},
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpsecure": "ssl",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauth": 1,
"mail_smtpport": "465",
"loglevel": 2,
"twofactor_enforced": "false",
"twofactor_enforced_groups": [
"xx"
],
"twofactor_enforced_excluded_groups": [],
"theme": "",
"app_install_overwrite": [
"breezedark"
],
"defaultapp": "",
"skeletondirectory": "",
"profile.enabled": false
}
}
Apps
The output of occ app:list
(if possible).
Enabled:
- activity: 3.0.0
- admin_audit: 1.20.0
- app_api: 4.0.0
- bruteforcesettings: 3.0.0
- cloud_federation_api: 1.13.0
- dav: 1.31.1
- federatedfilesharing: 1.20.0
- files: 2.2.0
- files_downloadlimit: 3.0.0
- files_pdfviewer: 3.0.0
- files_reminders: 1.3.0
- files_sharing: 1.22.0
- files_trashbin: 1.20.1
- files_versions: 1.23.0
- logreader: 3.0.0
- lookup_server_connector: 1.18.0
- notifications: 3.0.0
- oauth2: 1.18.1
- password_policy: 2.0.0
- privacy: 2.0.0
- provisioning_api: 1.20.0
- serverinfo: 2.0.0
- settings: 1.13.0
- sharebymail: 1.20.0
- text: 4.1.0
- theming: 2.5.0
- theming_customcss: 1.17.0
- twofactor_backupcodes: 1.19.0
- updatenotification: 1.20.0
- user_saml: 6.4.1
- viewer: 3.0.0
- webhook_listeners: 1.1.0-dev
- workflowengine: 2.12.0
Disabled:
- circles: 30.0.0-dev (installed 27.0.0)
- comments: 1.20.1 (installed 1.17.0)
- contactsinteraction: 1.11.0 (installed 1.8.0)
- dashboard: 7.10.0 (installed 7.7.0)
- encryption: 2.18.0
- federation: 1.20.0 (installed 1.17.0)
- files_external: 1.22.0
- files_rightclick: 0.15.1 (installed 1.6.0)
- firstrunwizard: 3.0.0 (installed 2.16.0)
- nextcloud_announcements: 2.0.0 (installed 1.16.0)
- photos: 3.0.2 (installed 2.3.0)
- recommendations: 3.0.0 (installed 1.6.0)
- related_resources: 1.5.0 (installed 1.2.0)
- support: 2.0.0 (installed 1.10.0)
- survey_client: 2.0.0 (installed 1.15.0)
- suspicious_login: 8.0.0
- systemtags: 1.20.0 (installed 1.17.0)
- twofactor_nextcloud_notification: 4.0.0
- twofactor_totp: 12.0.0-dev
- user_ldap: 1.21.0
- user_status: 1.10.0 (installed 1.7.0)
- weather_status: 1.10.0 (installed 1.7.0)