-
Notifications
You must be signed in to change notification settings - Fork 807
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] Explorer hangs if network share is inaccessible #4304
Comments
This comment was marked as outdated.
This comment was marked as outdated.
Issue still present in version 3.4.4. |
This comment was marked as outdated.
This comment was marked as outdated.
Could someone please at least acknowledge this bug, so it doesn't go stale every 30 days? |
This comment was marked as outdated.
This comment was marked as outdated.
Same issue for me too. The hanging does not last that long for me (maybe ~30 seconds) but it is still annoying. Also once a folder is loaded in the explorer it does not hang again. Interestingly this issue applies to folders that are actually not synced with Nextcloud like "Desktop" or "Downloads". On an additional note: this issue also arises even if the folder synced over network is set to "Paused". I am using the latest version 3.5.0. The issue only happened for the last year or so. Hence it must be something that came during that time.
|
This comment was marked as resolved.
This comment was marked as resolved.
Reporting bugs for Nextcloud sure is annoying. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Issue remains with 3.6.0 |
Remains in 3.9.1 |
This comment was marked as resolved.
This comment was marked as resolved.
I wasn't able to reproduce with version 3.9.3. Can you please check if you can? @Xansala @nihues @Bizikneidi Small update: While my Explorer seems unaffected so far, the Nextcloud itself is unresponsive and opening the settings from the taskbar takes minutes. |
Unfortunately the issue remains for me. It is a bit different now. When booting the PC and the network location is not reachable, then it seems to work. But when I open Firefox, Print a page and save as PDF, the explorer still hangs with 3.9.3. |
This comment was marked as resolved.
This comment was marked as resolved.
Still an issue |
This comment was marked as resolved.
This comment was marked as resolved.
Remains with 3.10.1 |
Issue remains with 3.13.2 |
@tryallthethings Your original report says "network share". Are you referring to a server-side Nextcloud External Storage mount? |
@joshtrichards My original network post said "Samba network share". Or call it a windows share / SMB protocol if you like. |
Yes, but where/how is the network share associated with the client? Is it an SMB-based External Storage mount on the Nextcloud Server? Or are you referring to an SMB mount you have on your client device? |
@joshtrichards thanks a lot for your help and looking into this annoying bug! I let @tryallthethings answer as well for his situation ;) . For me it is a SMB mount I have on the client device that I sync only once a while for a backup into the cloud. To be concrete: it is a picture folder I have on my NAS for which I have a backup in the cloud on my VPS and I use nextcloud to sync it. However, the NAS is not always running, so when the NAS is not connected, the client is hanging. |
My apologies, I assumed my initial post was clear on that matter, and I was under the impression that folder sync is only available in the desktop client.
So my setup at the time I raised the issue was very similar to what @Xansala is using. I just tried to reproduce the issue with the latest desktop client (3.13.3). While I still saw some issues with the Windows Explorer behaving odd / slow, I couldn't get it to freeze up completely as it did before. So I'd assume the issue is still present. At least the client stays mostly responsive, and I can get into the settings or show the status |
Expected behavior
Nextcloud Desktop sync client should just mark the folder sync as error if the network share is not reachable at the moment.
Actual behavior
tldr: Nextcloud Desktop sync client causes explorer.exe and related processes to hang or have a huge delay in response.
I got 3 Folder Syncs configured in my desktop sync client. One of those was a Samba network share on an Ubuntu server. Last week I retired that server. Naturally, the share wasn't available anymore after that. This caused the Nextcloud client to behave weirdly. When it was started during after logging into Windows or via Start menu, it almost never got to a responsive state. Neither right nor left click worked on the icon in the taskbar to change the settings. Sometimes (after right-clicking and waiting for 10-15 minutes), I could select settings. The settings window would open and immediately be unresponsive again. So I was never able to remove or change the folder sync location. Additionally, while Nextcloud was running, Windows Explorer wouldn't open at all or freeze (application is not responding) during copy / pasting and especially while opening the context menu on files inside and outside of Nextcloud sync folders. The start menu was showing similar issues (late response / freezes). As soon as I "killed" the nextcloud.exe process via task manager, my system would work as normal. (In case it's relevant: I tried removing and reinstalling the client with the same result. Sync configuration was kept between installations) In the end, I had to edit nextcloud.cfg manually to change the folder sync to the new path. I can reproduce the issue by switching the server hostname in the nextcloud.cfg between the old (offline) and new server share.
Steps to reproduce
Client configuration
Client version: 3.4.2
Operating system: Windows 10 Pro 21H1
OS language: en-us
Installation path of client: default (C:\Program Files\Nextcloud)
Server configuration
Nextcloud version: 22.2.5
Logs
As I couldn't upload the debug archive as a single file (~34MB in size) I split it into 2:
nextcloud_1.zip
nextcloud_2.zip
The text was updated successfully, but these errors were encountered: