Reindexing all files and folders in NextCloud

Submitted by Fekete Zoltán on Thu, 09/23/2021 - 14:12

If you have missing files, or any discrepancies between physical and virtual filesystem under NextCloud, do this:

Go to the root directory of the NexctCloud installation, the issue the command (use webserver's owner as user, here: www):

 sudo -u www php ./occ files:scan --all