nextcloud / nextcloud/desktop

[Bug]: 4.0.1 Adding folders with many subfolders throws error

Open
#8,998 5 comments 1 reaction 0 assignees View on GitHub
1. to develop bug Prio: normal
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

Adding folder sync with many subfolders throws unknown error in desktop client.

### Steps to reproduce

1. Add folder sync with many subfolders
2. sync -> error
3. deactivate folders with many subfolders
4. sync -> success
5. activate 1 subfolder of many subfolders
6. sync -> success
7. activate more subfolders
8. sync -> error
...

### Expected behavior

all folders and subfolders get synced without error

### Which files are affected by this bug

any

### Operating system

Windows

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

Windows 11

### Package

Official Windows MSI

### Nextcloud Server version

31.0.8

### Nextcloud Desktop Client version

4.0.1

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

Updated to a major version (ex. 3.16.3 to 3.17.0)

### 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
not available (managed nextcloud)
```

### Additional info

I am sorry, I cannot remove all the data that reveals personal identity from all the files in the debug archive. If you need the archive I can make it available to a not public address.

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.