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.
I added
su -m www -c 'php /usr/local/www/nextcloud/occ preview:pre-generate'
to crontab (every 30 mins.
crontab -u www -e
I ran
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/*
701M preview/0
646M preview/1
613M preview/2
622M preview/3
625M preview/4
654M preview/5
677M preview/6
705M preview/7
663M preview/8
709M preview/9
649M preview/a
635M preview/b
706M preview/c
648M preview/d
635M preview/e
627M preview/f
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.