desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: macOS Nextcloud-3.17.0-macOS-vfs and later has severe sync problems

Open Sergeij2000 opened this issue 1 year ago • 50 comments

āš ļø Before submitting, please verify the following: āš ļø

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.

Image Image Image Image

Sergeij2000 avatar Sep 03 '25 18:09 Sergeij2000

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.

Image

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).

DanielJacksonRSA avatar Sep 03 '25 20:09 DanielJacksonRSA

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

Rello avatar Sep 04 '25 05:09 Rello

@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...

Sergeij2000 avatar Sep 04 '25 05:09 Sergeij2000

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 avatar Sep 11 '25 15:09 Rello

@Rello Thanks for the update and your support...

Jo

Sergeij2000 avatar Sep 11 '25 17:09 Sergeij2000

@Rello Thanks man!

DanielJacksonRSA avatar Sep 12 '25 13:09 DanielJacksonRSA

The problem is still there even with 4.1 The client is pretty much unusable because it freezes every few minutes.

umrath avatar Nov 12 '25 17:11 umrath

Thanks for the update; iā€˜m still on 3.16.6…

BR Jo

Sergeij2000 avatar Nov 12 '25 20:11 Sergeij2000

The problem still persists in 4.0.4.

Using v3.16.6 works.

See this bug report https://github.com/nextcloud/desktop/issues/9240

hottehead avatar Dec 21 '25 23:12 hottehead

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

Sergeij2000 avatar Dec 21 '25 23:12 Sergeij2000

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.

ghost avatar Dec 23 '25 17:12 ghost

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.

hottehead avatar Dec 29 '25 11:12 hottehead

In my case, having MacOS 15.6 and Nextcloud 4.0.x VFS is still really unrealiable.

deajan avatar Jan 06 '26 12:01 deajan

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...

Sergeij2000 avatar Jan 14 '26 18:01 Sergeij2000

Didn't see improvement in 33.0.0-rc1.

other issue that seems related: #9425

Floweb05 avatar Feb 25 '26 11:02 Floweb05

33.0.0-rc2 : Unfixed 😭

Floweb05 avatar Mar 02 '26 17:03 Floweb05

@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 avatar Mar 02 '26 19:03 i2h3

@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).

Floweb05 avatar Mar 02 '26 19:03 Floweb05

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 ?

deajan avatar Mar 27 '26 07:03 deajan

@Sergeij2000 Have you evaluated the new 33.0.0 release yet?

i2h3 avatar Mar 27 '26 08:03 i2h3