[Bug]: Nextcloud not responding which also causes File Explorer/ALL file access on Windows to freeze
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 127
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
Nextcloud client is not responding and causes entire local Windows file system to freeze/not respond. This is a **HIGHLY** disruptive problem - priority #1 in the helpdesk. First symptom is not been able to open any files that aren't already downloaded. They get the "Downloading 1 item" window but it sticks at 100%.
### Steps to reproduce
1. Kill nextcloud.exe process from task manager or **stop-process nextcloud**
2. Open Nextcloud client
3. Icon goes green for a second and then switches to synchronising status
4. Clicking on the Nextcloud client icon doesn't do anything - can't right-click either
5. Try and open File Explorer and it freezes
6. Run that stop-process again and File Explorer immediately opens. Nextcloud is clearly blocking File Explorer
### Expected behavior
Nextcloud should synchronise and download files normally. It should not cause File Explorer to freeze.
### Which files are affected by this bug
All files
### Operating system
Windows
### Which version of the operating system you are running.
Windows 11
### Package
Appimage
### Nextcloud Server version
28.0.2
### Nextcloud Desktop Client version
3.11.1
### Is this bug present after an update or on a fresh install?
Fresh desktop client install
### Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
### Are you using an external user-backend?
- [ ] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Nextcloud Server logs
```shell
Too many logs to include here. Can be downloaded from my OneDrive:
https://maltsystems-my.sharepoint.com/:u:/g/personal/rob_nicholson_maltsystems_co_uk/ESTfwyRlcHxHrdIPFteeOQ8BTYuW4b_oZiyFBhmNkpJ8rA?e=Chrbbw
```
### Additional info
My client is rightly pulling their hair out as they can't work effectively. The problem has effected the entire company.
I had to work this evening to try and fix the finance director's installation. I managed to get access to their laptop for an hour. I was only able to fix it by remove their entry from [account] in config and logging them in again using the same folder.
This sort of worked except the client kept reporting this notification every few seconds: https://i.imgur.com/w5xl78X.png
This rang alarm bells as I'd been doing some work in that folder this morning. This is a bit of a vague memory but what I did was this:
1. Unzipped a large printer driver into the same folder as the zip file
2. Nextcloud on my PC will have started to upload the unzip file
3. I immediately re-zipped the folder using 7-Zip with delete option set
4. This will have deleted the unzipped files most likely before Nextcloud had finished uploading them
A key bit of information here - this is in a group folder that's read-only to most users (it's a library folder). I have write access.
When I looked in the local Nextcloud folder on the laptop above, there was part of the unzipped folder present. Here is the above with some screenshots
1. The original folder looked like this: https://i.imgur.com/CtMIzAs.png - it will have been like this for a long time.
2. I unzipped the file to this: https://i.imgur.com/GnZpSbl.png
3. Immediately zipped up the folder again with delete option set in 7-zip
Some screenshots:






Contributor guide
Assessment
This issue has not been assessed yet.