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



Addressbook and Calendar URL in NextCloud

Submitted by Fekete Zoltán on Mon, 08/26/2019 - 19:21

For addressbook use this format:


You find the CONTACTS_NAME in the NextClouds database's oc_addressbooks table. The column name is 'uri'.

For calendar use this one:


You find the CALENDAR_NAME in the NextClouds database's oc_calendars table. The column name is still 'uri'.