Skip to content

[Bug]: macOS Desktop Client with Virtual Files enabled fails to upload files larger than ~100 MB #9883

Description

@Daehnie

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

Bug description

Nextcloud_Client.zip

When using the Nextcloud Desktop Client on macOS with Virtual Files enabled, uploading files larger than about 100 MB fails consistently.

The same files can be uploaded successfully through the Nextcloud web interface, and they can also be synchronized successfully with the Desktop Client when Virtual Files are disabled and a normal folder synchronization is used.

This makes the issue appear to be specific to the macOS Virtual Files / File Provider upload path in the Desktop Client.

I originally suspected a server-side upload limit, but I have verified that this is not the case:

  • Cloudflare proxy is disabled (DNS only)
  • uploads >100 MB work in the web interface
  • PHP limits are set high enough (upload_max_filesize = 16G, post_max_size = 16G)
  • reverse proxy upload size is not limited
  • the problem only happens when Virtual Files are enabled on macOS

So the issue seems isolated to the Desktop Client on macOS when using Virtual Files.

Steps to reproduce

  1. Install and configure the Nextcloud Desktop Client on macOS
  2. Enable Virtual Files for the account
  3. Connect the client to a Nextcloud server
  4. Try to upload or sync a file larger than about 100 MB by placing it into the synchronized Nextcloud folder
  5. Wait for the client to process and upload the file
  6. Observe that the upload/sync does not complete successfully
  7. Disable Virtual Files and switch the same account to normal folder synchronization
  8. Try the same file again
  9. Observe that the file now uploads successfully
  10. Upload the same file via the Nextcloud web interface
  11. Observe that the upload also succeeds there

Expected behavior

Files larger than 100 MB should upload successfully with the macOS Desktop Client when Virtual Files are enabled, just like they do:

  • in the web interface
  • and in the Desktop Client when normal folder synchronization is used

Which files are affected by this bug

Large media files are affected, especially: - .wav audio files - .m4a audio files - large project/media files above about 100 MB

Operating system

macOS

Which version of the operating system you are running.

Tahoe 26.4.1

Package

Official macOS 12+ universal pkg

Nextcloud Server version

33.0.2

Nextcloud Desktop Client version

33.0.2

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

Fresh desktop client install

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 obvious server-side upload limit errors were observed during successful web uploads.

The most important observation is:
- uploads >100 MB succeed via the web interface
- uploads >100 MB fail only in the macOS Desktop Client with Virtual Files enabled
- uploads >100 MB succeed in the Desktop Client when Virtual Files are disabled

PHP limits on the server:
- upload_max_filesize = 16G
- post_max_size = 16G

Reverse proxy upload size limit is disabled.

Additional info

Server setup:

  • Nextcloud AIO
  • reverse proxy in front of AIO
  • Cloudflare proxy disabled (DNS only)
  • web uploads of files >100 MB work correctly
  • normal desktop synchronization of files >100 MB also works correctly

This strongly suggests that the issue is specific to the macOS Virtual Files / File Provider path in the Desktop Client.

I also tried creating a nextcloud.cfg manually to reduce chunk size, but that did not change the behavior. It is possible that this config file is not being used in the current macOS Virtual Files setup.

Metadata

Metadata

Assignees

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

Relationships

None yet

Development

No branches or pull requests

Issue actions