nextcloud / nextcloud/desktop

After renaming files and moving them to another folder, they will fail to move returning error

Open
#10,159 0 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 have searched for 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

It happens over and over with different files, but it looks the same

I move some files (right now it was 4 pdf files) into nextcloud folder which I sync with nextcloud. Then I renaming them, create new subfolder and when I want to move they return to the original place and I got:
"Unale to get header block for files'/path/to/the/file'"

### Steps to reproduce

Like above, here is some video. The pdfs files are correct ones
https://github.com/user-attachments/assets/58fe7fa3-52cd-48ac-a0a7-ab923614209b

### Expected behavior

Can do whatever with files and they will move like I want

### Which files are affected by this bug

like in video?

### Operating system

Linux

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

Fedora Silverblue 44

### Installation method

Distro package manager (please test with the AppImage package ?)

### Nextcloud Server version

34.0.0

### Nextcloud Desktop Client version

4.0.7

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

Clean desktop client installation

### Are you using the Nextcloud Server Encryption module?

Yes

### Are you using an external user-backend?

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

### Nextcloud Server logs

```shell

```

### Additional info

[debug.zip](https://github.com/user-attachments/files/28833406/debug.zip)

Let me know if I should attach more information

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.