в конфиге нет ничего что связано с качеством
на малине было
и ни одна превью не работает
только фото и тхт
[root@enk ~]# cd /var/www/html/nextcloud/config/
[root@enk config]# ls
config.php config.sample.php
[root@enk config]# less config.sample.php | grep preview
* Nextcloud supports previews of image files, the covers of MP3 files, and text
* files. These options control enabling and disabling previews, and thumbnail
* By default, Nextcloud can generate previews for the following filetypes:
* Valid values are ``true``, to enable previews, or
* ``false``, to disable previews
'enable_previews' => true,
* The maximum width, in pixels, of a preview. A value of ``null`` means there
'preview_max_x' => 4096,
* The maximum height, in pixels, of a preview. A value of ``null`` means there
'preview_max_y' => 4096,
* max file size for generating image previews with imagegd (default behavior)
* If the image is bigger, it'll try other preview generators, but will most
'preview_max_filesize_image' => 50,
'preview_libreoffice_path' => '/usr/bin/libreoffice',
'preview_office_cl_parameters' =>
* newly created previews are put into 256 dedicated buckets.
* ``-preview-NUMBER`` where NUMBER is between 0 and 255.
* Keep in mind that only previews of files are put in there that don't have
* To migrate existing previews to this new multibucket distribution of previews
* use the occ command ``preview:repair``. For now this will only migrate
* previews that were generated before Nextcloud 19 in the flat
* ``appdata_INSTANCEID/previews/FILEID`` folder structure.
'objectstore.multibucket.preview-distribution' => false,
* If the gif is bigger, it'll show a static preview
[root@enk config]#