I can upload PDFs created by Adobe apps into RS without issues. The thumbnail gets correctly created and the document is successfully text indexed.
However, from PDFs created by OS X (10.10 in this case, and most likely earlier versions), the generic PDF icon appears with no preview, and text indexing does not work.
From my error logs:
**** Warning: File has an invalid xref entry: 8. Rebuilding xref table.
**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> Mac OS X 10.10.2 Quartz PDFContext <<<<
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.
However, when I attempt the convert on the command line with this syntax, it works in my test directory (although the above error is still displayed, so perhaps this is just a warning):
convert -colorspace rgb -density 400 test2.pdf -resize 25% test2.pdf
I have this in my config:
$imagemagick_path = '/usr/bin';
$ghostscript_path = '/usr/bin';
$ffmpeg_path = '/usr/bin';
$exiftool_path = '/usr/bin';
$antiword_path = '/usr/bin';
$pdftotext_path = '/usr/bin';
$unoconv_path="/usr/bin";
$unoconv_extensions=array("doc","docx","odt","odp","html","rtf","txt","ppt","pptx","sxw","sdw","html","psw","rtf","sdw","pdb","bib","txt","ltx","sdd","sda","odg","sdc");
$alt_types=array("","pdf");
Ghostscript and ImageMagick claim to be up to date according to yum.
Server is running CentOS 6 and installation check passes successfully.
Does anyone have any ideas how I can troubleshoot this further, or obtain a more verbose conversion log?
Many thanks in advance.