PDF preview and thumbnails

I have an environment which is using NCP 1.44.5 with NC 22.2.2 (PHP7.3)
While I was able to add previews for mp4 I am not seeing pdf previews (in details) or thumbnails (list and grid view for browser in Linux and Android).

  • Imagemagick and ghostscript are installed
  • /etc/Imagemagick/policy.xml lines for PDF, PSx, XPS are commented out or modified to read|write (I have tried both)
  • config.php does have ‘OC\Preview\PDF’ in the enabledPreviewProviders array
  • nothing in the logfile indicating a problem

Is there anything else I am missing which is needed?

Thank you for your comments!


Looks like installing php-imagick is also required!