Client unable to sync/delete folder/files after them being deleted on other client (same user)
- 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
I have same user logged on two machines.
At 15.01 on machine B i downloaded few zips and copied them into folder, and it was locally on B.
Yestarday, 29.05 on machine A I was copying those *.zip-s to SMB location, it was time consuming because some of those zip-s had 2-3GB, so My A machine had to download if from cloud so Windows could copy them to SMB. I copied them successful and deleted them from machine A.
At morning I notice red icon on machine B, looking at gui I saw "unable to synchronize some files" and "Temporary error while removing local element from server".
On server the files are already deleted with parent directory. So my understanding is that client complain because it want to delete local files from server but they are not on server any more ?!?!
Could this be the after-match from many many many patches ago where there was a patch for not removing content from client if remote mounted data disk was disconnected from server ?
I had similar behavior on friends pc when it would even recreate those folders/files that where renamed/deleted - because it would stuck on similar error and made essential ghost files and folder, but I assumed it was because he used 4.0.x version of desktop and the workaround was to delete all files/folders that where already deleted from server form his copy of vfs and the client would synch correct.
### Steps to reproduce
1. create files on machine A
2. sync them to machine B
3. remove them on machine B
4. machine A complain
...
### Expected behavior
When deleting successfully folder/files from one machine on same account, other machines should comply and delete local copy
...
### Which files are affected by this bug
folder "Downloads/artysta_z_twitta/" files inside this folder like: 2019.zip 2020.zip
### Operating system
Windows
### Which version of the operating system you are running.
Windows 11 Pro (both clients)
### Installation method
Official Windows MSI
### Nextcloud Server version
33.0.3
### Nextcloud Desktop Client version
33.0.5 (with vfs enabled)
### Did this occur after an update or on a clean installation?
Clean desktop client installation
### Are you using the Nextcloud Server Encryption module?
No
### Are you using an external user-backend?
- [x] Default internal user-backend
- [ ] LDAP or Active Directory
- [ ] SSO - SAML
- [ ] Other
### Nextcloud Server logs
```shell
log: 0, does not show anything in the time client return error.
```
### Additional info
Client log from one of the time it triggers
[20260530_1105_nextcloud.log.8.zip](https://github.com/user-attachments/files/28419501/20260530_1105_nextcloud.log.8.zip)
Contributor guide
Assessment
This issue has not been assessed yet.