• Document Preview Intermittent - Not Working

  • 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.
 #21345  by Jay
 
Sorry to add to the threads on Preview (this is my first post) but I've read as many others as I can plus the documentation and am still at a loss as to why my document preview stops working. Hoping someone can please help.

Yesterday I had MS Word document preview working perfectly under the settings below. Today it is not working. In the interim I made a simple config change and restarted OpenKM. Now the only doc previews are the ones from yesterday stored in cache. Nothing new works. The error in the preview tab is "There was a problem with the conversion generation".

I should note that PDF, image, and other media previews work well and consistently. And I have had .doc, .docx and .xls file preview working well but it stops working.

I'm on OpenKM 5.1.10, Windows Server 2008, JBoss 4.2.3, OpenOffice 3.2, and using various browsers. My config is:
Code: Select all
system.openoffice.path	String	 C:\\Users\\Administrator\\Desktop\\OpenKM\\OpenOffice.org_3_2	   
system.openoffice.port	Integer	 8100	   
system.openoffice.server	String		   
system.openoffice.tasks	Integer	 5
I have read that
If you have a OpenOffice / LibreOffice instance running when you start JBoss / OpenKM, the service won't start properly and when you close your OpenOffice / LibreOffice instance you would not use it to convert an MS Office / OpenOffice document to PDF, or generate a document preview. Retrieved from "http://wiki.openkm.com/index.php/OpenOf ... ion_issues"
I am not sure if the above is the clue for me or not. Perhaps I should be shutting down Openoffice somehow but not sure. This is the only remaining config for me. Love OpenKM but hate that I can't keep this working.
Attachments
Server Log
(81.63 KiB) Downloaded 206 times
 #21360  by jllort
 
Tree suggestions:
- upgrade to 5.1.11
- read http://wiki.openkm.com/index.php/Previsualization
- upgrade to 6.2.3

Is not normal today show preview and tomorrow with same document not seeing. Is a production server or you're using for other things ? Pay attention soffice will not start correctly if you have opened before openoffice in the server and you're editing some document etc...
 #21369  by Jay
 
Problem Solved...I think!

Thanks for the reply. I believe I have the issue solved. You know how they say the problem is sometimes between the keyboard and the chair :) ? I think that is the case here. I was not shutting down Jboss. Simply closing and restarting OpenKM. This never seeed to have any negative affect. Now that I am shutting down jboss the preview seems to be working consistently. Thanks!
 #21399  by jllort
 
soffice service is started and stopped by jboss if stop is not correctly done daemon continues running and then not allow to create new one whe openkm starts again ( probably this could be the reason of your problem ).

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.