Add missing thumbnails
This entire feature is automatically enabled within the docker image.
In order to add missing thumbnails you need to have a chromium browser installed. Newer docker images include all of this by default without any intervention.
- install chromium or chrome (e.g.
sudo apt install chromium-browser) or use google-chrome (e.g.wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.debandsudo apt install ./google-chrome-stable_current_amd64.deb) - change in your
.envfile:GENERATE_MISSING_THUMBNAILS = true
Thumbnails can be manually created by executing the following command:
php artisan thumbnail:generateSchedule them by adding this line to your servers cron entries if you have not already done this for the backups:
0 * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1This will check every hour if there is any task to run.
By default missing thumbnails are generated every 2 hours. If you wish to change that add the following to your .env file:
THUMBNAIL_FILLER_INTERVAL = "0 0 */7 * *"This would translate to a weekly missing thumbnail creation.

