Re: Error uploading .pdf document to Whiteboard in 6.3.0 - additional info:

2023-01-10 Thread Maxim Solodovnik
My bad :((( You definitely need to comment PDF in policy.xml So it WAS like this: And SHOULD BE like this: On Tue, 10 Jan 2023 at 20:47, Maxim Solodovnik wrote: > Hello Ed, > > I was just able to convert ~4.5MB PDF at demo server > the command line for

Re: Error uploading .pdf document to Whiteboard in 6.3.0 - additional info:

2023-01-10 Thread Maxim Solodovnik
Hello Ed, I was just able to convert ~4.5MB PDF at demo server the command line for `convert ` ws more or less the same "Version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 " What is your OS and ImageMagic version? Maybe you can privately share your PDF with me so I can test? /etc/ImageMagick

Re: Error uploading .pdf document to Whiteboard in 6.3.0 - additional info:

2023-01-10 Thread info
Hello, I tried modifying the file /etc/ImageMagick-6/policy.xml but that didn't work (unless that file is still in some kind of OP cache ?) - I noticed that there appeared to be errors in the file settings - I have commented at the end of line: should this be "anonymous" ? this was orig

Re: Error uploading .pdf document to Whiteboard in 6.3.0

2023-01-10 Thread info
Hello, Thanks for your response. The file exists, and it is a valid .pdf - when downlaoded it opens fine on my windows desktop. Running that command produced this: root@server1:~# convert -density 150 -define pdf:use-cropbox=true /opt/om_data/upload/files/d3615d92-6778-4074-a1c6-c441419d024

Re: Error uploading .pdf document to Whiteboard in 6.3.0

2023-01-10 Thread Maxim Solodovnik
Hello Ed, I guess there is something wrong with PDF and/or ImageMagic I would check 1) file "/opt/om_data/upload/files/d3615d92-6778-4074-a1c6-c441419d024a/d3615d92-6778-4074-a1c6-c441419d024a.pdf" exists and it is valid PDF 2) try to run ``` convert -density 150 -define pdf:use-cropbox=true

Error uploading .pdf document to Whiteboard in 6.3.0

2023-01-10 Thread info
Hi, Using 6.3.0 : when I try to upload a very small .pdf file, I receive this error (and it does not display on the Whiteboard): THERE WERE ERRORS WHILE PROCESSING THE FILE FILE IS NOT FOUND EXIT VALUE CONVERSION MESSAGES 1 process: convert PDF to images command: convert -density 150 -defin