Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: macOS VFS Client attempts to download all files from server when using disk space calculators #6845

Open
5 of 8 tasks
starcraft66 opened this issue Jun 26, 2024 · 1 comment

Comments

@starcraft66
Copy link

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

Bug description

This problem specifically applies to the macOS VFS provider build.
When running a disk space calculation program like GrandPerspective on my mac, it starts scanning the disk and then screeches to a halt when reading ~/Library/CloudStorage/[the nextcloud folder], presumably because simply probing files for their size appears to trigger a download of the entire file. I do not see this behaviour while indexing the size of other cloud storage providers which I have installed on my computer such as Google Drive and OneDrive which leads me to believe something funky is going on with Nextcloud Client VFS

Steps to reproduce

  1. Install Nextcloud Client VFS build
  2. Install GrandPerspective
  3. Start scanning your Macintosh HD with GrandPerspective

Expected behavior

The scan is fast and doesn't cause Nextcloud to download anything.

Which files are affected by this bug

All Files

Operating system

Mac OS

Which version of the operating system you are running.

14.5

Package

Other

Nextcloud Server version

29.0.3

Nextcloud Desktop Client version

3.13.0 VFS

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 response

Additional info

No response

@marcotrevisan
Copy link

marcotrevisan commented Jun 28, 2024

Just for the records, "du -h" works as expected, i.e. it will touch locally available data only and count the size of materialized files, without causing massive downloads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants