I am struggling with the performance of my nextcloud instance running on a small odroid n2+. It turns out, that mariadb-server is runnig at 100% CPU usage, when I am browsing my files in nextcloud via the browser.
For details on the configuration see:
Therefore I set ‘enable_previews’ => false in config.php and deleted all entries in oc_filecache table containing ‘appdata%/preview%’ and deleting all files and directories in /appdata_xxxx/preview.
After this preview files (.jpg, .jpeg, .png - files containing the preview bitmaps) are no longer created.
But the directories where these files are normally stored in (/appdata_xxxxxxx/preview/…) are still created. I also find these directories in the oc_filecache table., where they are killing the performance of the mariadb instance.
Why are the directories and corresponding database entries are still created even though the parameter tells the system not to do so?