nextcloud / nextcloud/desktop

[Bug]: Can't upload sparsebundle image

Open
#9,119 2 comments 0 reactions 0 assignees View on GitHub
0. Needs triage bug
Dominant language
C++
Stars
3.9k
Forks
1k
Avg merge
1d 17h
Merged PRs (30d)
123

Description

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

- [x] This is a **bug**, not a question or a configuration issue.
- [x] This issue is **not** already reported on Github (I've searched it).
- [x] Nextcloud Server and Desktop Client are **up to date**. See [Server Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)

### Bug description

Can't upload .sparsebundle disk image

### Steps to reproduce

1. Create sparse bundle disk image from MacOS (let's say a.dmg.sparsebundle)
2. Copy the image to VFS mounted nextcloud directory
3. Unexpected behavior happens.
- it seems like that the upload is failed, backup created, fail again, backup created, try n times..)
- broken imgs created like `a.dmg.sparsebundle, a 2.dmg.sparsebundle`, `a 3.dmg.sparsebundle`, not uploaded properly.
- normal img created like `a 4.dmg.sparsebundle`, but not uploaded properly

Image

### Expected behavior

The metadata for the sparsebundle and the actual data bundle consisting of the bands must both be uploaded as appropriate.
I've checked Google Drive handles it correctly.

### Which files are affected by this bug

a.dmg.sparsebundle

### Operating system

macOS

### Which version of the operating system you are running.

macOS Sequoia 15.7.2

### Package

Official macOS Virtual files 12+ universal pkg

### Nextcloud Server version

32.0.0

### Nextcloud Desktop Client version

4.0.1

### 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?

- [x] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other

### Nextcloud Server logs

```shell

```

### Additional info

Desktop Client Log [debug.zip](https://github.com/user-attachments/files/23675810/debug.zip)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.