• Cannot Preview Office files (Doc, docx, xlsx, xls) but i can preview PDF

  • 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.
 #46677  by tiyansbaby
 
tried to add

system.openoffice.path with the value .. C:\tomcat-8.5.24\extras\LibreOfficePortable\App\libreoffice\program


i can see the previewer but it would just display on the page
"There was a problem with the conversion generation.
Please, contact your OpenKM administrator."


Update: I think this is the problem.
2018-08-30 14:41:15,128 [localhost-startStop-1] [] WARN c.o.servlet.RepositoryStartupServlet - invalid officeHome: it doesn't contain soffice.bin: C:\tomcat-8.5.24\extras\LibreOfficePortable\App\libreoffice\program
java.lang.IllegalStateException: invalid officeHome: it doesn't contain soffice.bin: C:\tomcat-8.5.24\extras\LibreOfficePortable\App\libreoffice\program

but this path has soffice.bin
 #46701  by jllort
 
The path should be C:\tomcat-8.5.24\extras\LibreOfficePortable\App\libreoffice\ ( without program ), the application will looking from the path you set a folder named program.

Ensure you do not have any libreoffice running in background, otherwise the libreoffice service will not start up.

Finally ensure into environment variables you have set the paths described in this documentation section:
https://docs.openkm.com/kcenter/view/ok ... tvariables

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.