Skip to content

Notify Push events make the File Provider extension walks every (known) folder #10656

Description

@nicokaiser

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

Bug description

When the client is notified using notify_push, according to Library/Containers/com.nextcloud.desktopclient.FileProviderExt/Data/Documents/Logs/log.txt it crawls every folder it has ever seen. Instead of only the one affected (or its parent folders).
This might or might not be by design, but it feels like a huge waste of resources.

Steps to reproduce

  1. Use macOS File Provider extension
  2. Browse through the folders on macOS a bit (so macOS knows parts of the folder structure on the server)
  3. Make a change on the server (create/delete a file, etc.)
  4. Watch log file, the client crawls every folder it has seen.

Expected behavior

When receiving a push event, I'd expect the client to only download the changes of the folder affected (and maybe its parent folders), not the entire tree.

Which files are affected by this bug

any

Operating system

macOS

Which version of the operating system you are running.

macOS 26.6.2

Installation method

Other

Nextcloud Server version

34.0.3

Nextcloud Desktop Client version

34.0.2

Did this occur after an update or on a clean installation?

Minor version update (i.e. 33.0.0 → 33.0.1)

Are you using the Nextcloud Server Encryption module?

No

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP or Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagebugfeature: 📁 file providermacOS File Provider Extension, more general also known as virtual file system.os: 🍎 macOSApple macOS, formerly also known as OS X

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions