Cant get movie previews to work - home server with LAMP

Nextcloud 23.0.0
Ubuntu 20.04.3 LTS
PHP 7.4

Hi, I have read many topics however I still can’t get clear answer how to force my nextcloud server to display movie previews (i.e. mp4 files)

  1. I installed imagemagick, imagemagick-common php-imagick ffmpeg
  2. Added
    ‘enable_previews’ => true,
    ‘preview_max_x’ => 1000,
    ‘preview_max_y’ => 1000,
    ‘enabledPreviewProviders’ => [
    to my /var/www/nextcloud/config/config.php

as stated in

  1. Installed Preview Generator according to this tutorial
    GitHub - nextcloud/previewgenerator: Nextcloud app to do preview generation

(suspiciosly command sudo -u www-data php /var/www/nextcloud/occ preview:generate-all does scan folders but doesn’t filnd any movie files)

So i still have no previews

As you might probably guess i am kinda newbie so I would be extremely happy i if you could be as precise as possible

Can you help ? What else can I do ?


There was a mishmash configuration in to my /var/www/nextcloud/config/config.php

), symbol was missing in line above ,enable_previews…" and there was one additional at the end of the file