[Bug]: macOS Nextcloud-3.17.0-macOS-vfs and later has severe sync problems
ā ļø 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
After upgrading the macOS VFS client from 3.16.6 to 3.17.0 and 3.17.1, sync problems start to occur which are signaled by a yellow status icon with exclamation mark. The status window shows the message "Einige Dateien konnten nicht synchronisiert werden! Warnungen siehe unten.", but there are no warnings listet in the activity list. After a short time the warning disappears, but may show again after a while.
Some folders, populated with many subfolders and files are shown as fully synchronized and empty; the web interface of the server shows all files and subfolders and they are accessible through the WebDAV-interface.
Deinstalling and purging all configuration files and cleaning up the Library/CloudProvider folder - and then reinstalling the client doesn't fix the problem. It even happened once that after reinstalling the client during the first sync some folders where deleted on the server without being moved to the trash_folder, forcing me to restore the data from a backup.
Reinstalling the old 3.16.6 client fixes the problems. ...
Steps to reproduce
The problem occured after upgrading von 3.16.6 to 3.17.0.
Expected behavior
The folder sync should work like advertised and expected.
Which files are affected by this bug
Any files and folders can be affected (i.e. shown with size 0 bytes or completely disappear).
Operating system
macOS
Which version of the operating system you are running.
macOS Sequoia Version 15.6.1
Package
Official macOS 12+ universal pkg
Nextcloud Server version
31.0.8
Nextcloud Desktop Client version
3.17.0 and higher
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 3.3.6 to 3.4.0)
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 log entries regarding the bug.
Additional info
I initiated a scan of the user data on the server using 'nextcloud.occ files:scan USER' after restoring the backup. Question: As the unsynchronized folders stayed the same through several reinstallations: Is there any client related table in the nextcloud db which stores the actual sync status? Would it help to drop that data to "repair" the client sync? I've attached the debug archives captured during the several reinstallations. For the timeline of the screenshots: The first screenshot is the newest, the last one the oldest. All screenshots are taken over a time of appr. 10s.
Same issue here. Exactly as described. Certain folders do not show any sub-folders and have the Nextcloud icon as a little exclamation mark.
Only thing to add: Disabling and re-enabling virtual files completely bricks virtual files, in finder when viewing the Nextcloud folder (where all the virtual files should be) says "loading..." continuously along with "Nextcloud is signed out" (in finder) even though I am signed in.
Tried reinstalling latest version of Nextclud with no luck, even reset MacOS. Only solution is to use an older version of Nextcloud client with vfs (3.16.6).
Hello,
we are looking into this already. We got the "is signed out" recently reported but not reproduced in a reliable way. Work in progress
@GlacierColt I didn't see the "signed out" message and the yellow exclamation mark disappeared after a couple of seconds when i launched nc client after reinstallation...
Hello, to post an update: it seem we found the issue for the file provider loosing connection to the server (e.g. shown by the sign-out button). We are testing the fix already...
@Rello Thanks for the update and your support...
Jo
@Rello Thanks man!
The problem is still there even with 4.1 The client is pretty much unusable because it freezes every few minutes.
Thanks for the update; iām still on 3.16.6ā¦
BR Jo
The problem still persists in 4.0.4.
Using v3.16.6 works.
See this bug report https://github.com/nextcloud/desktop/issues/9240
The problem still persists in 4.0.4.
Using v3.16.6 works.
See this bug report #9240
Thanks hottehead for the update, i'm also still on 3.16.6 and everything works well...
BR Jo
The problem still persists in 4.0.4.
Using v3.16.6 works.
See this bug report #9240
For me, v.3.16.6 did only work for local connections, routing traffic over Tailscale showed me the same issue.
Well, the issue is self made in my case. The macbook was running an old macos version 13.7 and i didnt notice.
Updated to 14.8 and everything works.
In my case, having MacOS 15.6 and Nextcloud 4.0.x VFS is still really unrealiable.
Since a couple of days i'm seeing the flickering status icon between synchronized and synchronizing. After a while it shows me the yellow exclamation mark and tells me, that some files could not be synchronized. Thinking that i have a problem with my old (3.16.6) macOS client and the current server version, i upgraded the client to the latest version 4.0.4. I rebooted the mac and everything looked calm. When i was looking into some directories on mac today, i saw again duplicated empty folders with a trailing 2 appended to the folder name. Looking into the server via the web interface i couldn't see the '2ish' folders. I got a bad feeling, terminated the nextcloud client, removed the empty '2' folders on my mac, downgraded to 3.16.6, restarted the mac - and bingo: The original folders (without the 2) were gone, the activity log showed me, that they had been deleted. I was able to recover them from the server's trash-bin, but i need to verify against the last backup that all files still exist.
Bottom line: NC with vfs on a mac is still unusable with clients versions 3.17.0 and above...
Didn't see improvement in 33.0.0-rc1.
other issue that seems related: #9425
33.0.0-rc2 : Unfixed š
@Floweb05 I really doubt that #9425 is related. š¤ It is Windows which means a technically completely different client implementation than the macOS file provider extension (which works independently from classic folder synchronization and also does not share code with Windows virtual files).
@Sergeij2000 The initial description of expectations ("The folder sync should work like advertised and expected.") is too unspecific to act on. Your latest test with 4.0.4 appears to show several unrelated problems already heard of in the last months. As an example, the thing with the unsynchronized items was fixed due to other customer reports in our upcoming release. The item duplication ("2" suffixes) also was a legacy problem inherited by old client releases and overcome by organizing the client database differently, though, while maintaining backward compatibility to existing installations. Due to the ambiguity, I do not know what @Floweb05 is particularly referring to with "Unfixed". šµāš«
It might be necessary to split this issue into dedicated issues focussing on specific problems. Also, logs would be really helpful because at this detail it could be anything. š¤ Though, due to the proximity of our next release, it is better to wait for feedback based on that first.
@i2h3 Created #9553 for the issue Im having (Folder deleted Server-side but not locally) Thanks a lot.
@Floweb05 I really doubt that #9425 is related. š¤ It is Windows which means a technically completely different client implementation than the macOS file provider extension (which works independently from classic folder synchronization and also does not share code with Windows virtual files).
Hello,
I don't have anything but a virtual mac to test this, and TBH it's very slow and generally speaking a pain in the *ss. Still, I do need to test this so I can deploy for the 2 (!!) people I know that use macs on my nextcloud instance. I did update my virtual Mac and tested the new NC 33.0.0 client, and so far things look good, but my tests are synthetic.
Can anyone confirm that NC client 33.0.0 does not have anymore major VFS sync probems with Mac OS perhaps ?
@Sergeij2000 Have you evaluated the new 33.0.0 release yet?