• Can not Preview with Libreoffice

  • 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.
 #20062  by thapnhathieu
 
Dear All,

I have follow guide on wiki to config enable preview but still not see anything.

http://wiki.openkm.com/index.php/Applic ... rg_service

Here is my config:
Code: Select all
    system.swftools.pdf2swf
    OK - /usr/bin/pdf2swf
    system.imagemagick.convert
    OK - /usr/bin/convert
    system.ocr
    OK - /usr/bin/tesseract
    system.openoffice.path
    OK - /opt/libreoffice3.6/program/soffice.bin
Code: Select all
[root@serv1 readmes]# ps -ef | grep libreoffice
root      5245  5118  0 18:55 pts/0    00:00:00 /opt/libreoffice3.6/program/soffice.bin -accept=socket,host=127.0.0.1,port=2002;urp; -env:UserInstallation=file:///opt/openkm/temp/.jodconverter_socket_host-127.0.0.1_port-2002 -headless -nocrashreport -nodefault -nofirststartwizard -nolockcheck -nologo -norestore
root     10235  3486  0 21:29 pts/0    00:00:00 grep libreoffice
I have include the log file. Please help me to resolve.

Thanks

Thap Nhat
Attachments
(14.9 KiB) Downloaded 253 times
 #20076  by jllort
 
Seems is correctly configured. Ensure you have restarted tomcat to take effect the configuration and see if soffice service is started ( seems it's ok ).
Do you have flashplayer installed in browser ?
Can you convert .doc to pdf -> then soffice is correctly installed, otherside you'll get some error.
 #20548  by thapnhathieu
 
Dear Jllort,

Thanks you for your support. I had checked and see no flash player install in browser. I had installed and just test with docx file then preview is OK now.

Could you update it into Wiki to help everybody the same problem as me.

Thanks

Thap Nhat

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.