nextcloud / desktop

đź’» Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
3.06k stars 804 forks source link

Windows explorer frequently hangs #3451

Open claell opened 3 years ago

claell commented 3 years ago

How to use GitHub

Expected behaviour

Nextcloud should seamlessly integrate

Actual behaviour

I find the Windows Explorer hanging

Steps to reproduce

  1. Use Virtual Filesystem on Windows
  2. Use a larger folder, versioned with git
  3. Work inside that folder

Client configuration

Client version: 3.2.2

Operating system: Windows 10

OS language: German

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From Nextcloud or distro) (Linux only):

Installation path of client:

Server configuration

Nextcloud version:

Storage backend (external storage):

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer logs.

  1. Client logfile: Since 3.1: Under the "General" settings, you can click on "Create Debug Archive ..." to pick the location of where the desktop client will export the logs and the database to a zip file. On previous releases: Via the command line: nextcloud --logdebug --logwindow or nextcloud --logdebug --logfile log.txt (See also https://docs.nextcloud.com/desktop/3.0/troubleshooting.html#log-files)

  2. Web server error log:

  3. Server logfile: nextcloud log (data/nextcloud.log):

claell commented 3 years ago

Currently, I am not sure what causes the problem. I assume that some of the points mentioned might be factors (like having a git repository synced and Virtual Filesystem enabled).

Possibly having the git repository open in VS Code causes problems where both VS Code and Nextcloud are checking files or something like that.

The explorer seems to try to refresh things, causing it to hang. This also applies to newly opened Windows of it.

claell commented 3 years ago

This has nothing to do with VS Code being open. I am currently experiencing the problem without that.

I have started the computer, used it for a while (did not access any files or opened a Windows explorer window). Now when I opened a Windows explorer window, it loads and loads (the content of the start display folder) and is not responsive.

A bit similar to the symptoms here (but worse in my experience): https://stackoverflow.com/questions/67824428/windows-explorer-has-problems-with-refreshing-folders-when-network-drive-is-offl.

gaschka commented 3 years ago

I don't use a virtual file system or git, but I'm dealing with large file sequences of PNG and EXR files.

claell commented 3 years ago

Might have been a duplicate of #3417 that got fixed with #3390. Not sure about that, though. Need to test first on the affected system.

github-actions[bot] commented 3 years ago

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

claell commented 3 years ago

Push, currently we probably need feedback of the affected people whether the issue still occurs.

gaschka commented 3 years ago

Push, currently we probably need feedback of the affected people whether the issue still occurs.

I can say, that I still have these locking up issues, when working with large files and file sequences.

JensUweB commented 2 years ago

I'm using nextcloud desktop version 3.4.0 (windows-10.0.19043). I added a folder with approximately 12000 files (~512MiB in total) to the nextcloud folder to sync. The app just stopped working after a few seconds of trying to sync the files. In the nextcloud app settings I had the download & upload bandwith limited to a fixed value. It seems, that this bandwith limitation causes the app to stop responding. After I disabled the bandwith limitation, the syncronisation of the 12000 files worked well (but took some time). Virtual files are enabled.

Hope this helps someone.

RedFox134 commented 2 years ago

I'm using nextcloud desktop version 3.4.0 (windows-10.0.19043). I added a folder with approximately 12000 files (~512MiB in total) to the nextcloud folder to sync. The app just stopped working after a few seconds of trying to sync the files. In the nextcloud app settings I had the download & upload bandwith limited to a fixed value. It seems, that this bandwith limitation causes the app to stop responding. After I disabled the bandwith limitation, the syncronisation of the 12000 files worked well (but took some time). Virtual files are enabled.

Hope this helps someone.

This appears to have been the issue I was having as well. The desktop app would freeze and become unresponsive within seconds of launching. After disabling my upload limit the sync began and completed with no issues.

Glad it's working, but frustrating for those of us with monthly data caps. I have another library I'd like to back up to NextCloud, but it's over 500GB of video files. That'll take up a good chunk of my monthly bandwidth cap if I upload it all at once. Limiting it was a way to spread out the data usage for me across a few months. May have to see if there is an option to limit it from the server side so I don't have to worry about uploading a TB of data in a day.

OS: Windows 10 Pro (windows-10.0.19044) NextCloud Desktop Client Version: 3.6.0

Edit: Disabled Virtual Files and issues appear to have gone away. I'm able to enable bandwidth limits as well. Not sure if Virtual Files is a new feature of Next Cloud, but it appears to be not ready for production. Hopefully it'll be fixed as I can see Virtual Files being really handy to free up space while still having a copy.

Edit 2: Was still running into some occasionally freezes. Upon further investigation the application wasn't exactly freezing. Yes it would lock up, but it was still working. The client appears to first read the files from harddrive (which can take a while to do if you have a lot or large files). Once it's completely "read" or cached the file it then will begin the upload. This can cause large files to appear as if nothing is occurring when really it's still prepping the file for upload. Haven't tried re-enabling virtual files yet, but I'm guessing it was a combination of the size and how many files I was trying to sync at once causing the seemingly indefinite freezes.

TL;DR: Freezing is normal. Check Task Manager for disk usage and if there is some it's prepping the files before upload.

godfuture commented 1 year ago

Not sure if Virtual Files is a new feature of Next Cloud, but it appears to be not ready for production.

Good point. In terms of quality, the Nextcloud client is one of the weak points. I have so many issues and ask myself, if others do not have the same issues. Being here in Github I guess I am not alone. Apparently the client is not ready for production in my opinion.