Skip to content

[Bug]: NextCloud Desktop vfs working in local cache without warning, local files deleted when virtual files environment reset. #9417

@spikusmax

Description

@spikusmax

⚠️ Before submitting, please verify the following: ⚠️

Bug description

On several occasion now directories have stopped syncing (as per bug #9393). When this happens users have been able to continue working in a local cache of the directory that has stopped syncing, without any error or notice that this is happening. Work in these directories is not reflected in the Nextcloud activity log. When the virtual environment is reset, or the account added and re-added, the work that has been complete locally is removed and irretrievable.

Most recently:

A financial spreadsheet was created by User A in Folder X. This spreadsheet did not appear in User B's sync client. User B then created a spreadsheet with the same name in the Folder X, they also created a subfolder and put numerous PDFs in it, none of the files/folders created by User B were synced to NextCloud and no errors were given. These files are completely absent in the activity logs but there is ample evidence that the work was being done so it is not a case of 'the server ate my homework'. User B worked within this cached version of the directory for several weeks before we reset the virtual environment (to resolve not-appearing files for a different directory). Once we did this the local version of User Bs folder disappeared, attempting to access from Excel's "Recent Files" gave errors that the file no longer existed/had been moved.

Steps to reproduce

Unable to reproduce because the trigger event - a directory that stops syncing - is not reproducible - there appears no pattern in which folders stop syncing.

Expected behavior

I'd expect that all files and folders sync. I'd also expect that an error would be displayed if there are discrepancies between server and client versions, and if there was some issue with the desktop client getting updates on any given directory.
...

Which files are affected by this bug

Nextcloud Desktop VFS client

Operating system

macOS

Which version of the operating system you are running.

Mac OS 15.7.3

Package

Official macOS Virtual files 12+ universal pkg

Nextcloud Server version

31.0.13

Nextcloud Desktop Client version

4.0.6

Is this bug present after an update or on a fresh install?

Updated to a major version (ex. 3.16.3 to 3.17.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

Additional info

So far this issue has been discovered well after the the fact and haven't been captured by the debug logs can be created in the desktop client.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions