desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Initial scan with virtual filesystem enabled starts from scratch if it's interrupted

Open wonx opened this issue 4 years ago • 22 comments

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Expected behaviour

When setting up Nextcloud with virtual filesystem enabled, it tries to scan every single folder in Nextcloud. This can take a while (hours or days) since TB of data comprising hundreds of thousands of files must be scanned for changes.

Sometimes it's not possible to leave a computer on for such a longs periods, or sometimes there's a small network downtime that interrupts that scan. In those case, I'd expect that the scan continues at the point where it left.

Moreover, I noticed that the "symbolic links" (probably not the correct term) to the files stored in the server are not created until all files have been checked for changes once, so it's not possible to access any of them until the very end. It would be more convenient if they were created on the go.

Actual behaviour

The initial scan starts from scratch once again. In my case, I have to make sure that the computer that is going to use nextcloud is not turned off for ~15 hours, and make sure there will be network interruptions or nothing accesses the Nextcloud folder, since these things might trigger it to start once again from scratch.

Once workaround that I had used in the past was to exclude the largest folders first, by editing the ignored files options. But since that configuration is also saved in the nextcloud folder, and it's often still not available, it is not until the first scan has finished that you can edit that file.

Steps to reproduce

  1. Install Desktop client.
  2. Configure your account.
  3. Start the initial sync.
  4. Pause and resume the sync.

Client configuration

Client version: 3.3.5,

Operating system: both in Windows 10 and Ubuntu 20.04.

OS language: English

Installation path of client: C:\Program Files\Nextcloud

Server configuration

Nextcloud version: 22.1.0

Storage backend (external storage): sshfs

wonx avatar Oct 20 '21 17:10 wonx

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!

github-actions[bot] avatar Nov 22 '21 16:11 github-actions[bot]

This is still a current issue.

wonx avatar Nov 24 '21 18:11 wonx

I can confirm that this behavior also happens in MacOS Monterrey. I have been trying to do the initial sync in a macbook pro, and for reason, if it gets interrupted, it starts all over again. So far it's been syncing for more than 6 hours, but most of the time it's just checking the same folders over and over again.

wonx avatar Nov 30 '21 18:11 wonx

This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you!

github-actions[bot] avatar Dec 15 '21 01:12 github-actions[bot]

@wonx let me reopen should not have been closed sorry

mgallien avatar Dec 16 '21 11:12 mgallien

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!

github-actions[bot] avatar Jan 13 '22 17:01 github-actions[bot]

bump

wonx avatar Jan 24 '22 06:01 wonx

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!

github-actions[bot] avatar Feb 21 '22 16:02 github-actions[bot]

bump

wonx avatar Feb 23 '22 18:02 wonx

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!

github-actions[bot] avatar Mar 24 '22 08:03 github-actions[bot]

bump. Still a current issue.

wonx avatar Mar 24 '22 16:03 wonx

I can confirm this issue is still present with the client v3.4.4. I reinstalled the operating system, and now the initial sync started. I estimate that it will take 10-15 uninterrupted hours to complete.

wonx avatar Apr 06 '22 17:04 wonx

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!

github-actions[bot] avatar May 05 '22 00:05 github-actions[bot]

Bump.

tomdereub avatar May 05 '22 07:05 tomdereub

This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you!

github-actions[bot] avatar May 19 '22 08:05 github-actions[bot]

This bug is still present.

wonx avatar May 21 '22 01:05 wonx

Hi, can we reopen this bug? It's still present.

wonx avatar Jun 23 '22 17:06 wonx

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!

github-actions[bot] avatar Jul 22 '22 16:07 github-actions[bot]

This bug is still present.

wonx avatar Jul 22 '22 22:07 wonx

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!

github-actions[bot] avatar Aug 20 '22 00:08 github-actions[bot]

The bug is still present.

wonx avatar Aug 20 '22 02:08 wonx

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!

github-actions[bot] avatar Sep 17 '22 08:09 github-actions[bot]

This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you!

github-actions[bot] avatar Oct 01 '22 08:10 github-actions[bot]

This is still a current issue with client 3.6.0. Please reopen.

wonx avatar Oct 01 '22 16:10 wonx

This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you!

github-actions[bot] avatar Oct 18 '22 00:10 github-actions[bot]

Hi, can you reopen this bug again? It's still an issue.

wonx avatar Oct 18 '22 19:10 wonx

This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you!

github-actions[bot] avatar Nov 02 '22 00:11 github-actions[bot]

Bump!

wonx avatar Nov 02 '22 00:11 wonx

This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you!

github-actions[bot] avatar Nov 16 '22 16:11 github-actions[bot]

Hi, can you reopen this bug again? It's still an issue.

KaeTuuN avatar Nov 16 '22 18:11 KaeTuuN