-
Notifications
You must be signed in to change notification settings - Fork 813
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
VFS - do not scan whole list of files, like android client #3120
Comments
I have the exact same problem. We are hosting around 3TB of data, and if a new computer is added, it will need to stay turned on for weeks (18 days) to be able to scan the directories and build the tree view. I was only able to make it work once. Every other attempt failed because of some sort of error in Nextcloud desktop, which made it scan from the beginning again. I abandoned the idea. OneDrive is the perfect example for this, it does it very well and is implementing the native CloudFiles API and only asks the directory the user is requesting to browse. Any idea when this feature could be implemented ? |
I do not understand what you are trying to say. |
@mgallien Yes, the hierarchy is downloaded dynamically from the server, and it is really a breeze to use in our company. For example, when adding a new shared library, the virtual files are accessibles instantly. Whereas Nextcloud needs to download beforehand the whole hierarchy. And if there is millions of files, the initial sync never ends. |
@tomdereub I guess OneDrive for example seems to have an optimization that is used when you setup the account the first time to have it faster than Nextcloud. |
@mgallien If you need another example, SeaFile with its SeaDrive virtual file system is also working very well. |
Any progress about this issue ? |
Up, any progress about this issue ? I'm trying again, with Nextcloud 25 and desktop client 3.8.2, the initial scan doesn't manage to finish (even after days), so it's still unusable with lots of data. |
Is it relevant to keep 2 issues open for this problem ? This one and #4424.
Actually, mountainduck proposes the 2 possibilities : The dev team, have you already made a choice ? Do one, the other or both ? Just tell us if we can help in some way. |
I tried webdrive, and it is much better than other webdav type solutions, but it is too expensive to implement for many users, unfortunately nextcloud and s3 also has its problems, but at least I can keep the users happy for now, really if there is not a quick solution I will leave nextcloud only to be consulted via web and I will go back to google Drive. |
Hi, I did not know seafile, if I do not find a solution to nextcloud profitable, it can be a good alternative? |
would need an implementation of |
that would be the ultimate solution to speed up initial sync especially for users with deep hierarchy |
A feature/improvement that would help in my case is if the client obeyed the ignore lists before descending further into the tree. I have several external storage mounts for ease of access through the web interface when I'm outside the local network (or for sharing externally), but I don't need them in sync in my client. So I have them listed in the ignore list (.sync-exclude.lst). What it should do is when it requests a folder listing and encounters an ignore list, it should keep track of those entries, then only continue into non-ignored child folders. |
@Gwindalmir |
@mgallien hey there :) I just wanted to o check in if you have an idea about a fix? To smh figure out when it will be done. |
@Rello you removed this from the todo? so this will not happen any time soon? |
If true it's an unfortunate decision. Nextcloud desktop windows client is basically unusable for very large instances (> 1TB, >10m files). Initially sync takes several hours. |
Hello, |
@Rello so now it is off the list? so it will not be done any time soon? |
@ne0YT the topic is not closed |
How to use GitHub
Expected behaviour
I would like the windows desktop client to behave like the android client : the tree view is downloaded only when it’s accessed for the first time, one folder at a time, and then it’s kept in cache to access it quickly, but it never needs to scan all files.
Actual behaviour
I’m trying virtual file system feature with nextcloud desktop 3.2 on Windows. I mount quite a big folder (about 1.4 To of data, about 2 million files), and it takes very long time first to scan all files, and then to create the tree view in the explorer.
Actually, scanning all files on the server took a few hours, but then creating the tree view is taking days (no internet traffic during this operation, so it seems to be just local operations). It's was quite quick at the beginning (hundred of files per second), and it's now very slow (a few files per second).
Steps to reproduce
Client configuration
Client version: 3.2
Operating system: Windows
OS language: French
Server configuration
Nextcloud version: 20.0.7
Storage backend (external storage): the synchronized folder is mounted as an external storage on Nextcloud.
Logs
Tell me if you want some logs.
Linked discussion on the forum : https://help.nextcloud.com/t/vfs-do-not-scan-whole-list-of-files-like-android-client/113623
The text was updated successfully, but these errors were encountered: