To “reset” the preview cache
- Stop Webserver (apache / nginx)
- Moved the appdata_instaceName/preview folder outside the appdata folder.
You can just remove it if you are confident. - Run
sudo -u www-data /usr/bin/php /var/www/nextcloud/occ files:scan-app-data
to fix database - Start Webserver and Test everything works
- Finish up (delete moved folder, etc).
Reference : Fairly new with nextcloud but preview folder has huge size – ℹ️ Support – Nextcloud community
Comments are closed