nextcloud / nextcloud/desktop

[Bug]: metadata.opf files do not sync

Open
#6,329 1 comment 0 reactions 0 assignees View on GitHub
0. Needs triage bug feature: :arrows_counterclockwise: sync engine
Dominant language
C++
Stars
3.9k
Forks
1k
Avg merge
1d 21h
Merged PRs (30d)
127

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

I am having problems syncing _metadata.opf_ files from my eBooks Calibre library. After a change to my library, these specific .opf files do not sync, while everything else works fine.

The folder is on my server and accessible to Nextcloud via SMB share. On Windows, I access it using the Nextcloud folder.

I now regularly have thousands of errors in my logs every few minutes.

### Steps to reproduce

1. Existing synchronization of a folder with a Calibre library
2. Modifying your files with Calibre
3. Nextcloud Desktop synchronizes everything except metadata.opf
4. Fail again and again every few minutes

### Expected behavior

Everything synchronizes flawlessly.

### Which files are affected by this bug

metadata.opf

### Operating system

Windows

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

11

### Package

Appimage

### Nextcloud Server version

28.0.1

### Nextcloud Desktop Client version

3.11

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

```shell
Nextcloud Desktop log exemple:

11:00:19||***REMOVE_SENSITIVE_VALUE***/metadata.opf|64|1|1703539674|6542b45934519|2781|02591467oc96nb2wcji5|12|Le serveur a répondu "403 Forbidden" à "PUT https://***REMOVE_SENSITIVE_VALUE***/metadata.opf" (Sabre\DAV\Exception\Forbidden)|403|2782|1698859007|1fd86463-4e65-4326-95e2-b19d22b46ed4|

Nextcloud Server log exemple:

[no app in context] Erreur: Could not create path "/***REMOVE_SENSITIVE_VALUE***/metadata.opf"
POST /remote.php/dav/bulk
de 192.168.X.X par ***REMOVE_SENSITIVE_VALUE*** à 4 janv. 2024, 10:50:48
```

### Additional info

Maybe it's something to do with permissions, but everything worked fine before, as well as for every other file.

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.