
pdf thumbs not generated
Installed latest FileRun on ubuntu 18.04 LXC container in Proxmox Virtual Environment.
Everything seems to be running fine, however pdf thumbs are not generated. All other thumbs, including video thumbs (ffmpeg) are displayed correctly.
Imagemagick and ghostscript are installed. Convert path is correct. Running the make_thumbs.php script gives an OK for all files.
Any clues where to look for a solution?
Answer

Try, from the command line:
convert file.pdf file.jpg
(Or "magick" in newer ImageMagick versions)
Does it produce a JPG image from the document?

no i get an error:
convert-im6.q16: not authorized `welkom.pdf' @ error/constitute.c/ReadImage/412.
convert-im6.q16: no images defined `file.jpg' @ error/convert.c/ConvertImageCommand/3258.

I found this on internet and it solved the issue:
In file /etc/ImageMagick-6/policy.xml
(or /etc/ImageMagick/policy.xml
)
- comment line<pre><code><!-- <policy domain="coder" rights="none" pattern="MVG" /> --></code></pre>
- change line<pre><code><policy domain="coder" rights="none" pattern="PDF" /></code></pre>
to
<policy domain="coder" rights="read|write" pattern="PDF" />
- add line
<policy domain="coder" rights="read|write" pattern="LABEL" />
Customer support service by UserEcho
I found this on internet and it solved the issue:
In file
/etc/ImageMagick-6/policy.xml
(or/etc/ImageMagick/policy.xml
)to