Page 1 of 1
Preview Not Available in Open KM 5.1.7
PostPosted:Wed Oct 10, 2012 10:24 am
by gemmajid
this is my first post
today i have installed OpenKM 5.1.7 in my Ubuntu 10.10 Sever.. Well it took some time but i managed to get it install. I'm using it through remote access in another system through web.
I'm unable to see Pdf file preview when i go to preview tab it show "Preview Unavailable" message i'm able to download it.
so kindly let me know that what i'm doing wrong.
i have search google a bit it suggested me that i should install libre office and integrate it with OpenKM but the problem is that my server is not in GUI mode so how can i install libre office in it.
Re: Preview Not Available in Open KM 5.1.7
PostPosted:Wed Oct 10, 2012 11:31 am
by macjaeger
I'd start by installing OpenKM 5.1.10 instead, it's the latest release of 5.x line. Or, if you are daring enough, you might even step up to 6.2, which was released just today! Some problems present in 5.1.7 might be solved in later versions.
In Ubuntu you don't need GUI to install OpenOffice. Usually a simple "sudo apt-get install openoffice" is enough to get the package and all its dependencies, but you can find more detailed information here:
http://wiki.openkm.com/index.php/Third- ... Office.org
Re: Preview Not Available in Open KM 5.1.7
PostPosted:Wed Oct 10, 2012 12:03 pm
by gemmajid
Well can't move to 6 version i have to keep the current one. I have installed open office which was suggested by you in the above link.
well but nothing happen. I'm facing the same problem. my OpenKM.cfg file is
Code: Select all#system.ocr=/usr/bin/cuneiform
system.openoffice.path=/usr/lib/openoffice
#system.imagemagick.convert=/usr/bin/convert
system.swftools.pdf2swf=/opt/jboss-4.2.3.GA/bin/pdf2swf
#system.antivir=/usr/bin/clamscan
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=none
#application.url=http://localhost:8080/OpenKM/com.openkm.frontend.Main/index.jsp
#system.convert=/usr/bin/convert
kindly suggest me what to do to have a preview.
Re: Preview Not Available in Open KM 5.1.7
PostPosted:Thu Oct 11, 2012 5:41 am
by gemmajid
help me please
Re: Preview Not Available in Open KM 5.1.7
PostPosted:Thu Oct 11, 2012 7:22 am
by pavila
You are running a quite old version of OpenKM. I recommend to upgrade to a more recent one.
Re: Preview Not Available in Open KM 5.1.7
PostPosted:Thu Oct 11, 2012 8:00 am
by gemmajid
my friend i can't upgrade as this is my task to keep this version at any cost.
when i'm trying to see pdf file preview it gives "Document URL not provided or invalid" error do you have any idea that what does it mean ?
Re: Preview Not Available in Open KM 5.1.7
PostPosted:Fri Oct 12, 2012 4:15 pm
by jllort
Basically indicates there's some error on previsualization calls. Can be caused by several causes, try it to identify the nature of the problem:
- First you should test if you can convert doc files to pdf , otherside you have got a soffice problem ( you got this option in toolbar )
- Second try in your teminal execute pdf2swf with your converted pdf file.
Why you can not upgrade to 5.1.11 ? have you modified source code ? in fact this changes should be compatible with 5.1.11 too, Otherside I do not know why can not be upgraded your system ?
Re: Preview Not Available in Open KM 5.1.7
PostPosted:Sat Oct 13, 2012 4:48 am
by gemmajid
well thanks for your reply i have manged the problem it was damn easy to sort out. But now let me know that can i run OpenKM as a service if yes than how let me know the procedure.
Re: Preview Not Available in Open KM 5.1.7
PostPosted:Sat Oct 13, 2012 10:00 am
by jllort
It's explained in our wiki or you can google for "install jboss as service"