1
Running "occ files:scan" ignores request to scan (and clear) a missing file
Source: nextcloud/server#19419 · opened by @eharris
Running "occ files:scan" ignores request to scan (and clear) a missing file: Steps to reproduce
1. Upload a test file to the Nextcloud instance
2. Delete the file from the underlying file store (NOT via Nextcloud)
3. Run "occ files:scan --path=[path to now missing file] to make it realize the file is gone
4. Observe that occ errors out with "Path not found: [path to missing file]" error rather than completing the requested action and updating/removing the missing file.
1. Upload a test file to the Nextcloud instance
2. Delete the file from the underlying file store (NOT via Nextcloud)
3. Run "occ files:scan --path=[path to now missing file] to make it realize the file is gone
4. Observe that occ errors out with "Path not found: [path to missing file]" error rather than completing the requested action and updating/removing the missing file.
No pledges yet. Be the first to back this.
Comments
Similar requests
[Bug]: After update 33.0.2 → 33.0.3, occ upgrade does not populate new MIME types — files download instead of opening in viewer
0 votes · 0 comments
`--depth` parameter for `files:scan`
0 votes · 0 comments
Unified search for files: ignore hidden files
1 vote · 0 comments
Clear (invalid) checksum when upgrading from OC
0 votes · 0 comments
`files:scan-app-data` database optimization
6 votes · 0 comments
No comments yet.