Page 1 of 1

Can not Preview with Libreoffice

PostPosted:Sun Dec 30, 2012 2:31 pm
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

Re: Can not Preview with Libreoffice

PostPosted:Mon Dec 31, 2012 11:11 am
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.

Re: Can not Preview with Libreoffice

PostPosted:Tue Jan 01, 2013 4:18 pm
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

Re: Can not Preview with Libreoffice

PostPosted:Wed Jan 02, 2013 7:39 pm
by jllort