nextcloud / nextcloud/desktop

Renamed folders are re-created as empty folders

Open
#10,122 9 comments 5 reactions 1 assignee Claimed by @mgallien View on GitHub
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

After a massive renaming of subfolders, clients are randomly re-creating empty versions of these folders using the previous folder name.
...

### Steps to reproduce

1. Folder name is updated
2. Client comes online and syncs but no longer finds a folder with the previous folder name
3. Client creates an empty folder which has the previous name of the folder

### Expected behavior

The folders should not be re-created.
...

### Which files are affected by this bug

Subfolders only

### Operating system

Windows

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

Windows 11

### Installation method

Official Windows MSI

### Nextcloud Server version

32.0.11

### Nextcloud Desktop Client version

33.0.5

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

Minor version update (i.e. 33.0.0 → 33.0.1)

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

No

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

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

### Nextcloud Server logs

```shell

```

### Additional info

_No response_

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.