• No any Document shows the Preview

  • 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.
 #44477  by pra838
 
Hi,

I am new to OpenKM and install "OpenKM - Knowledge Management Version: 6.3.2 (build: 8289)".
But I can not get any document's preview.

Path in configuration.
system.openoffice.path String /usr/bin/libreoffice

When click preview nothing show in "catalina.log ".

Please Help.

Thanks/
Pra838
Attachments
Capture1.JPG
Capture1.JPG (35.63 KiB) Viewed 1407 times
 #44482  by pra838
 
PDF and JPG are working... But word/exel/txt not preview work.
Please help.
Code: Select all
system.ocr	String	system.ocr=/usr/bin/tesseract ${fileIn} ${fileOut} -l deu
system.openoffice.path	String	/usr/lib64/libreoffice/program/soffice.bin
system.openoffice.port	Integer	2002	Edit    Delete
system.openoffice.server	String		Edit    Delete
system.openoffice.tasks	Integer	200
system.swftools.pdf2swf	String	/home/openkm/tomcat/bin/pdf2swf -f -T 9 -t -s storeallcharacters ${fileIn} -o ${fileOut}
Log :
Code: Select all
017-08-04 09:49:24,601 [ajp-bio-127.0.0.1-8009-exec-3] ERROR com.openkm.servlet.frontend.ConverterServlet- Error in applicati                                                                                                               on/vnd.openxmlformats-officedocument.wordprocessingml.document to PDF conversion
com.openkm.core.ConversionException: Error in application/vnd.openxmlformats-officedocument.wordprocessingml.document to PDF c                                                                                                               onversion
        at com.openkm.util.DocConverter.doc2pdf(DocConverter.java:330)
        at com.openkm.servlet.frontend.ConverterServlet.toPDF(ConverterServlet.java:253)
        at com.openkm.servlet.frontend.ConverterServlet.toSWF(ConverterServlet.java:308)
        at com.openkm.servlet.frontend.ConverterServlet.service(ConverterServlet.java:152)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:1
 #44492  by jllort
 
Seems the problem is that you do not have configured libreoffice or openoffice ( I suggest the first option ).
Take a look at:
https://docs.openkm.com/kcenter/view/ok ... ation.html
https://docs.openkm.com/kcenter/view/ok ... eters.html

After get it configured you must restart OpenKM. To ensure all is right, you should have a process named "soffice.bin" or with similar name ( also you can check catalina.log file for an office error while starting up the application.

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.