Sync upload hangs randomly when "auto" limit is set (okay if set to "no limit" or a specific limit)
⚠️ Before submitting, please verify the following: ⚠️
- [X] This is a bug, not a question or a configuration issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct
Bug description
MacOS 14.0 NC Desktop 3.10.1 NC 27.0.2
Sync stops randomly - nevertheless I could sync very large folders with many GB and many files without problems for a while
suddenly stops syncing 5 4MB image files - and uses 100% CPU
look at the negative (!) number .... which was frozen.
I didn't find any error logs.
Steps to reproduce
- After update of MacOS to 14.0 on "old" chip and update of NC Desktop
- move files to synced directory
- NC Desktop stalls sometimes with 100% CPU I tried the last 3 releases of NC Desktop - same problem I tried to move 1-6 jpeg files to the synced directory, this works sometimes, sometimes not. the sync directory is a group folder ...
Expected behavior
sync should (as before) sync all newly detected files. ...
Which files are affected by this bug
jpeg
Operating system
Mac OS
Which version of the operating system you are running.
14.0.1
Package
Appimage
Nextcloud Server version
27.0.2
Nextcloud Desktop Client version
3.10, 3.10.1, 3.9.4
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 3.4.2 to 3.4.4)
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 errors
Additional info
No response
same problem here, on Ventura (13.6.1) with latest NC 3.10.1 . Workaround: kill NC (which runs at 100% CPU), switch off WLAN, start NC and set to "pause sync", switch on WLAN, in "settings" of NC remove synchronization for the latest directory (which appears to cause the problem), then un-pause synchronization. At least then I can work with remaining directories.
This is also happening on M1 with MacOS 14.1.1 (23B81) and 3.10.x installed. According to the logs, the automatic config migration is the culprit:
/Applications/nextcloud.app/Contents/MacOS/nextcloud --logwindow output:
nextcloud.gui.application: Migrating old config from "/Users/redacted/Library/Application Support/Nextcloud" to "/Users/redacted/Library/Preferences/Nextcloud"
nextcloud.gui.application: Failed to move the old config directory to its new location ( "/Users/redacted/Library/Application Support/Nextcloud" to "/Users/redacted/Library/Preferences/Nextcloud" )
nextcloud.gui.application: Will move the individual files ("redacted_sync.log", "Nextcloud_sync.log")
nextcloud.gui.application: Fallback move of "redacted_sync.log" also failed
nextcloud.gui.application: Fallback move of "Nextcloud_sync.log" also failed
Same problem here on a 2,3 GHz Dual-Core Intel Core i5 MacBook Pro. Sometimes the byte count jumps down to 0, or to a very large positive number (not rounded to MB or something). I've seen all three.
A workaround seems to be to limit up- & download bandwidth, rather than 'Auto' limiting as I had before.
Can confirm, "Limit automatically" is the culprit. Great find @CvR42 !
i just copied 17GB to a synced group directory - no problems with upload after setting "No limit"