Manually Scan Files
:::info This is useful if you do a mass copy/import of files into your Nextcloud data directory - without it they will not show up in the web UI. :::
- Make sure the Nextcloud and MariaDB (or whatever DB you are using) are both stopped.
- Copy the files into the Nextcloud data directory where you want them to be.
- From within the container or VM where Nextcloud is installed, run the following command to kick off a manual scan:
occ files:scan --all
- Wait for the scan to complete, and then you can start the Nextcloud and MariaDB containers/VM.
- If the server is in maintenance mode, change directory to the
config/www/nextcloud/configdirectory:
cd /config/www/nextcloud/config
- Open the
config.phpfile in your editor of choice and find the line in the file that contains themaintenanceflag and set it tofalse