My new Nextbox now runs smoothly (and way faster than the former system based on Odroid/USB-HD) and I start to wonder how I can tweak it some more. Alas, I only have close to none experience with Docker.
- I’d like to enable a cron job for the Preview Generator app. How?
- Admin page says: “Module php-imagick in this instance has no SVG support” and recommends installing it. How?
- I understand that NC upgrades are pushed by Nitrokey. (BTW: How often? Is there an RSS feed or the like I can use to keep up to date?)
Does this include OS updates? Or should I run
apt update && apt upgrade once in a while?
- Speaking of security: I think I’d like to install and configure fail2ban also on this server (cf. NC documentation). Can you give some advice?
Where is the config.php file located? I have the Preview Generator App installed on the nextbox and I would like to configure it so my video’s (MP4) have thumbnails.
you should find it here:
/srv/nextcloud/config/ , be careful with changes there.
Thanks I found the file and added these lines at the bottom of the file
'enable_previews' => true,
0 => 'OC\\Preview\\Movie',
1 => 'OC\\Preview\\PNG',
2 => 'OC\\Preview\\JPEG',
3 => 'OC\\Preview\\GIF',
4 => 'OC\\Preview\\BMP',
5 => 'OC\\Preview\\XBitmap',
6 => 'OC\\Preview\\MP3',
7 => 'OC\\Preview\\MP4',
8 => 'OC\\Preview\\TXT',
9 => 'OC\\Preview\\MarkDown',
10 => 'OC\\Preview\\PDF',
I currently have ffmpeg installed in
I then ran
sudo docker exec -it -u www-data nextbox-compose_app_1 /var/www/html/occ preview:generate-all and I see it scanning through my files but I dont see it scanning any .MP4 files and none of the previews are showing up for those files eather.
Any ideas what I am missing?
If Nextcloud needs
ffmpeg then the reason might be that there is no
ffmpeg inside the Nextcloud container, cannot check right now, but this might be the reason. Currently also don’t have an idea how you could solve this without rebuilding the container by yourself…