Can some one shed a little light on prevewgenerator for me, should i remove it ? Was i not supposed to use it? Did i use it wrong? Is it working exactly as it is supposed to? Im really not sure.
I only started looking at the previewgenerator because i needed mp4 video thumbnails. I think all i needed to do was to install ffmpeg and adjust the config.php file a little, but i ended up installing previewgenerator.
Truenas / Nextcloud in a jail (both fully up to date on stable branches)
What i have already done :-
I installed & activated the app.
su -m www -c 'php /usr/local/www/nextcloud/occ preview:pre-generate'
to crontab (every 30 mins.
crontab -u www -e
su -m www -c 'php /usr/local/www/nextcloud/occ preview:generate-all -vvv'
When i ran It, it was indexing all the image files that it could find. It took a few hours but it did finish without error.
It created a 10GB folder called preview that I’m not sure about, i mean 10GB for thumbnails? But i do have a lot of photos so maybe.
root@nextcloud:/mnt/files/appdata_ocfuu1fbyyca # du -sh preview/*
The mp4 files now do have thumbnails, but i think that was just because i installed ffmpeg. I don’t see exactly what else previewgenerator is supposed to do as the thumbnails in both “photos” and “memories” still seem to load on demand. If you scroll down reasonably fast you have to wait a few seconds for the thumbnails to catch up.
Can some one shed a little light for me, should i remove previewgenerator ? Was i not supposed to use it? Did i use it wrong? Is it working exactly as it is supposed to? Im really not sure.
I was about to remove it & remove the “preview” folder and see what happens because i don’t think its actually doing anything that i can tell.
I thought i would ask here though.