-
Notifications
You must be signed in to change notification settings - Fork 814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Windows Desktop Client UI completely unresponsive during preparation for sync #5031
Comments
Hello, I see the same problem. The client freezes as the synchronization starts. I stopped the sync in the short time after starting the nextcloud application. Then I removed the Dir sync settings, deleted all local files and added it again. but it still crashed when I change a file. Nextcloud Server Version: Nextcloud Hub 3 (25.0.0) |
Commenting on this bug report, since it seems to match the symptoms the closest:
Upon start, the desktop application completely freezes (no possibility to open it from the systray) and uses a high amount of CPU. It does not recover after several hours of leaving it. To make matters worse, it blocks opening the File Explorer until I kill the nextcloud process via task manager. And to complicate things further, running As a workaround, disabling bulkupload on the server seems to alleviate the issue, though that's far from ideal. |
I also have a possible idea for another reason of freezing (unverified): It seems that conflicts might lead to this: Nextcloud should implement something like git, where line endings are normalized on the server and only updated for the OS-depending local downloads. But as said: unverified, it might not be the case at all, it is just a possible idea. Don't know how many people use nextcloud with two different OSes. |
nextcloud neither cares about line endings, nor should it touch them. That might have been appropriate in ancient FTP times, but not in 2022. |
Pretty much what I see on my laptop since a few months ago, unsure if it started "randomly" or when I upgraded to 25.0.x and 22H2 because I did both in 48 hours and then it started. OwnCloud's client does work (with the same 25.0.x server and files). |
Hello all, disabling the bulkupload described in #4106 (comment) helped on my side. Not the best solution, but it's a workaround. Regards |
I have the same problem since I have upgraded the Nextcloud server to 25.x on different instances. The probleme occurs with different machines on Windows 11 and 10. It's look like it concerns the association of the client sync and the version of the server. For example with a client in 3.4.x it was working well with a server in 25.x For another machine with a client on 3.5 the problem came with the new version of the server. I have solved the problem on one machine installing and desintalling the sync application but I don't know exactly what did the trick. Update : I have solved it, uninstalling the client and reinstalling the last version it on three other machines. I don't have a clue about what exactly is happening. |
Re-assessing the problem, it seems to occur for specific files only, but I do not know which ones yet. However, it uploads and downloads several hundret MB of data until it suddenly freezes. I now reactivated the client on my Windows computer and it synced 200MB but froze for the last 8MB. I have the same issue for different synced folders. It really seems to boil down to some specific files. I also tried to delete all conflicted local copies, but that did not resolve the problem. |
I have finally found a workaround / interesting bug insight: The error only happens during uploads but that might be because I have already synced all downloads and cannot verify the below steps for downloads as well: When I switch to "No limit", the upload starts, BUT: The displayed amount of bytes is weird, as you can see in the video. When I switch back to "automatically limit" the client freezes again. nextbug.mp4This has been tested with the latest update for the client. |
I confirm that removing the upload limit (and the download one too, just to be sure) fixed the problem in my case too. |
I'm running Nextcloud 25.0.2 and yesterday downloaded the Windows client on my Win11 PC after successfully using the MacOS client just minutes before without issues. But on Win11 I'm seeing the same freezing issues reported here where Windows Explorer and the Nextcloud client locks up completely for 10-30 seconds at a time. All while watching the memory usage of the Nextcloud client climb at a rapid ~40MB/s. Adding or removing the limit makes no difference in my case. And I'm only trying to sync roughly 1GB of data. |
Same with me, Yesterday for the first time played with speed limitations, and Client froze and gave response only for couple of seconds after desktop client start. Thanks to @electrocnic comment, switched to "no limit" both "up & down". And no freezing anymore. For me there was few hundred GB data to sync (upload) to server |
I have the same issue I downgrade the desktop client to 3.3.6 and the issue just disappear. |
Same issue here server 25.0.2 |
Can confirm: Just updated my server from 24.0.9 to 25.0.3 and now my windows client also freezes upon start. I tested to revoke Desktop client access - afterwards, the client would open again without freezing. Signing in again, immediatly afterwards when the sync starts, the app freezes again. I think this is a critical issue, since a) I cannot sync anymore and b) there's no workaround. Some observations:
|
Luckily, I found this issue yesterday after having this problem for a week or so, and I can confirm that removing the network bandwidth limit allows the client to sync again. Additionally, I want to add that if you can't even get into the settings UI (because it is immediately unresponsive), you can change the variable Maybe this helps someone with less "technical" knowledge to apply the workaround without the need to revoke the client access. |
I can confirm @alexjung's comment and workaround. I have exactly the same problem, probably after changing the server to version 25.0.2. After removing all upload and download limitations, the client is working again. |
I can confirm that I have found this issue too. Disabling bulk upload like described in #4106 has worked for now. |
I had a freezing issue syncing to my v25.03 Windows/WSL2 server after my desktop client upgraded to v3.7.X. Downgraded client back to v3.6.6 and the sync is now working as it was before the upgrade. |
Windows client 3.7.3 |
Changing from "Automatically Limit Upload" to "no limit" worked for me. Windows client: 3.7.4 |
The Setting "No Limit" for upload helped to solve my issue too. |
This is still an issue |
Can confirm the "No Limit" Workaround. Windows Client 3.10.1 |
I have same issue I think its a Windows problem cause I was tired of having the same problem with OneDrive so decided to migrato to NextCloud and it has the same issue so maybe the problem is not the app? |
If I do this how I see my files from nextcloud? |
You could simply pin your Nextcloud folder to your Explorer favorites. -> This is how I do it :) cheers |
I thought this option doesn't let you see nextcloud files from windows explorer. If I can still see them when I pin it what does this check makes? |
For me both solutions did not work. The UI and Upload process were very unresponsive for most time. Configuring anything was difficult. |
So this is still a valid issue for Client 3.13 on the latest Windows 10. |
@litetex Have you tried disabling virtual files? |
Yes the problem occured when I had virtual files disabled (didn't check if it also happens when they are enabled) |
@litetex everybody else in this issue doesn't have the problem when virtual files are disabled. Are you sure you did disable them? If you find it difficult because the system freezes, try disconnecting the network before opening the settings, that way the bug doesn't trigger and you can save the client's settings properly. |
I have the same or a similar issue and this workaround also works for me. Thanks for sharing and hopefully the underlying bug will be fixed soon. |
Bug description
The UI of the client is unresponsive (see screenshots).
Sometimes, when the connection times out (indicated by a grey symbol and a timeout error message), the UI is normally responsive again.
I have to wait for several minutes until the UI pops up after I once click on the nextcloud icon when it is in either state "preparing for sync" or "Waiting to start syncing".
I even tried to delete all nextcloud database files from the folder to be synced, i.e.
.sync_2e9e607b5567.db
and*.db-wal
and so on PLUS deleted the nextcloud cache in AppData, restarted the app and it freezes again.Interestingly, a TestFolder with just one very small txt file (containing only "test" as text and the file itself called "test.txt") worked immediately and was successfully synced to the server. The Folder I actually want to sync contains
1.477.544 Files
in232.580 Folders
, and is only84,3 GB (90 590 769 152 bytes)
in size. This should not be an issue, especially because 9/10 from that should be ignored by the ignore list of the nextcloud client. I had this folder already completely synced in my old nextcloud server instance but wanted to migrate to a new one, therefore a wanted to freshly sync the folder and uninstalled and reinstalled the client completely.Also I observed, that the Windows explorer itself is frozen by nextcloud when it tries to prepare for sync. As soon as I kill nextcloud, the Windows Explorer is responsive again.
EDIT: I deleted half of the files, in the hope to speed up the process a little bit, and it now worked after 1h of preparation for sync the files are now indeed syncing and the UI is responsive again. Therefore: The UI seems to be responsive while syncing, but the initial process when a new Folder is added to the list ("preparation for sync") seems to be implemented very inefficiently.
Steps to reproduce
Expected behavior
UI should be always responsive, no matter how busy the thread in the background currently is.
UI should be implemented in a separate thread than other tasks.
Which files are affected by this bug
no files
Operating system
Windows
Which version of the operating system you are running.
Windows 10, windows-10.0.19044
Package
Other
Nextcloud Server version
24.0.6
Nextcloud Desktop Client version
3.6.0
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 Disabled
Are you using an external user-backend?
Nextcloud Server logs
No errors related to the syncing process (only login token errors when I manually logged in to the webservice).
Additional info
Download debug-archive.zip: https://www.file-upload.net/download-15019081/nextcloud_client_debug-archive.zip.html
The text was updated successfully, but these errors were encountered: