Dear DSpace people, Recently I noticed that our PDFs were not getting thumbnails generated for them. I ran the filter-media script manually and saw an error like this:
org.im4java.core.InfoException: org.im4java.core.CommandException: org.im4java.core.CommandException: identify: not authorized `/tmp/impdfthumb5039464037201498062.pdf' @ error/constitute.c/ReadImage/412. According to an Ubuntu Security Notice from 2018-10 the Ubuntu developers have decided to disable PDF processing by default in their ImageMagick[0] package. This affects all currently supported Ubuntu long-term support releases. If you are using DSpace 5.x or 6.x with ImageMagick thumbnail support, you will need to change your system's ImageMagick policy.xml file to re-enable PDF processing. On Ubuntu 16.04 the file is /etc/ImageMagick-6/policy.xml. Delete or comment out the following line: <policy domain="coder" rights="none" pattern="PDF" /> Regards, [0] https://usn.ubuntu.com/3785-1/ -- Alan Orth [email protected] https://picturingjordan.com https://englishbulgaria.net https://mjanja.ch "In heaven all the interesting people are missing." ―Friedrich Nietzsche -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
