Nextcloud version (eg, 20.0.5): 28.0.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.52
PHP version (eg, 7.4): 8.1
The issue you are facing:
When I run occ files:scan --all
the scan process works for most of the users, but for some the commend outputs the following error as scan result:
Path not found: /username
When I do this for the single user with occ files:scan username
I get the following result:
Starting scan for user 1 out of 1 (username)
Path not found: /username
+---------+-------+-----+---------+---------+--------+--------------+
| Folders | Files | New | Updated | Removed | Errors | Elapsed time |
+---------+-------+-----+---------+---------+--------+--------------+
| 1320 | 28103 | 0 | 0 | 0 | 1 | 00:00:07 |
+---------+-------+-----+---------+---------+--------+--------------+
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
It just happens, I don’t know how to replicate it.
The output of your Nextcloud log in Admin > Logging:
(there is no log for the scan)
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
(there is no relevant config which affects the scan as it only happens for 8 of about 50 users)
The output of your Apache/nginx/system log in /var/log/____
:
(this log is way too big! we talk about an instance for more than 50 users!)
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
(there are no errors in the log)