• OpenKM problem with preview files pdf, doc and images

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #43647  by Florentin
 
Hi!
I'm using OpenKM 6.2 with a Mysql database. At first I used it with the default database (Hsql) and then following the tutorial: https://www.openkm.com/wiki/index.php/M ... OpenKM_6.2
This is my configuration:
Image
I was able to move it On a Mysql database. When I was on Hsql the preview worked well but since I'm on Msql it does not work anymore.
Can you help me?
Thanks in advance!
 #43658  by jllort
 
Try to preview some document, and then share with us the catalina.log file to see if there's some error ( please try uploading the catalina.log file section with error, is not necessary you send us the full log file ) .
 #43699  by Florentin
 
Hi i have this error in catalina.log
Code: Select all
2017-04-28 08:29:00,367 [http-bio-0.0.0.0-8080-exec-10] WARN  com.openkm.util.ExecutionUtils- Abnormal program termination: 1
2017-04-28 08:29:00,367 [http-bio-0.0.0.0-8080-exec-10] WARN  com.openkm.util.ExecutionUtils- CommandLine: [/usr/bin/pdf2swf, -f, -T, 9, -t, -s, storeallcharacters, /opt/openkm-6.3.2-community/tomcat/temp/okm7821634268099211346.pdf, -o, /opt/openkm-6.3.2-community/tomcat/repository/cache/swf/0e06ac5f-89eb-4e2e-969b-5ace027b93f7.swf]
2017-04-28 08:29:00,367 [http-bio-0.0.0.0-8080-exec-10] WARN  com.openkm.util.ExecutionUtils- STDERR: Error: May not be a PDF file (continuing anyway)
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table

2017-04-28 08:29:00,368 [http-bio-0.0.0.0-8080-exec-10] ERROR com.openkm.servlet.frontend.ConverterServlet- Error: May not be a PDF file (continuing anyway)
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table

com.openkm.core.ConversionException: Error: May not be a PDF file (continuing anyway)
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table
Thanks in advance
 #43715  by jllort
 
If you are user of the latest OpenKM version 6.3.3 there's a bug with previewer, we are working in source code to solve it. I think next week will be available the solution, really in the source code there's the patch yet ready to be merged.
 #43726  by jllort
 
In your case should now have problems with preview. Ensure openoffice / libreoffice start up correctly ( watch catalina.log file at start up for error ). Browser will need Adobe Flash Player plugin installed and running ( check for it )

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.