-
Notifications
You must be signed in to change notification settings - Fork 890
Description
⚠️ Before submitting, please verify the following: ⚠️
- This is a bug, not a question or a configuration issue.
- This issue is not already reported on Github (I've searched it).
- Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- I agree to follow Nextcloud's Code of Conduct
Bug description
Next to #8915 issue, I haven't clients with 4.0.0 version anymore. Clients are with 3.17.x or 4.0.1 version only.
I tried to clean folder structure to purge all duplicates empty folders. But these empty subfolders are recreated every day, by any user.
What I tries to cleanup in a bash script:
- list all empty folders with
find /data/nextcloud/path -type d -empty - keep only empty folders that have the same name as parent
- remove them
I tried 3 methods for removing:
rm -r subfolderin filesystem, followed byocc files:scanandocc maintenance:data-fingerprintocc files:delete -f -q subfolder- delete manually some folders via web interface
No matter how I remove these folders, they are recreated later.
I asked users to upgrade to 4.0.1, but I also notice there are some empty subfolders that are recreated by users already in 4.0.1…
Not sure, but it seams that reconfigure totally the client (remove all sync config and then recreate conf in a new empty root folder) could solve the problem. But I have more than 1000 subfolders and more than 100 users, so I can't go on every desktop to do so! And users won't understand why.
Another "not sure", but I think recreating these folders is done only by Windows clients.
Steps to reproduce
- Instance with many empty subfolders named as their parents due to [Bug]: V4.0.0 - a folder, a subfolder with the same name as the parent folder is created #8915 issue
- Many users (>100), none with version 4.0.0
- Try to delete some or all subfolders created by the issue
- These folders comes back from a user
Expected behavior
Deleting these subfolders should be permanent.
Which files are affected by this bug
1000 subfolders
Operating system
Windows
Which version of the operating system you are running.
Mixed 10 and 11
Package
Official Windows MSI
Nextcloud Server version
31.0.8
Nextcloud Desktop Client version
3.17.x and 4.0.1
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 3.16.1 to 3.16.2)
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
Additional info
No response