Open PaulStogov opened 4 months ago
Some illustrations. Scan time with the SMB share unavailable: Scan time with the SMB share connected: It took 7+ hrs more. And the contents of the SMB share is like this: So it is easily calculable five times overhead.
Depends on how the share is made available to the users. See https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/external_storage/auth_mechanisms.html#considerations-for-shared-storage
Depends on how the share is made available to the users. See https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/external_storage/auth_mechanisms.html#considerations-for-shared-storage
Thank you very much for the reply, I read the doc you provided. But it seems for me that my case does not include "user specific authorization":
Or it should be "all people" checked?
⚠️ This issue respects the following points: ⚠️
Bug description
TIL that running
occ files:scan --all
command scans over and over again the same SMB share attached to our NC installation and being available for a number of users for every single user account.I got the same pair of errors for every user connected to that one network share. Is seems like a huge overhead for me to scan the same network drive over and over again.
Steps to reproduce
occ files:scan --all
commandExpected behavior
One network connected share over anyhow protocol must be scanned one time only.
Installation method
Other Community project
Nextcloud Server version
29
Operating system
Other
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response