• [Solved]Preview tab Ubuntu 14.04 LTS not working

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #29911  by silverspr
 
hello
I have not been successful getting the previewer to work, I get an error attached. I installed the enterprise trial version where the previewer works. Then uninstalled the trial, re-installed the community edition 6.3 and configured mimicking the enterprise version. Still No luck using the preview tab, conversion error...see uploaded files. I can create pdf from a document but cannot view it. Not sure if this is a document viewer problem or something more. See uploaded files. Included a configuration check to show file paths.

Thanks for your help
Document viewer error opening pdf
Document viewer error opening pdf
Document Viewer_003.png (25.72 KiB) Viewed 4143 times
Error produced when using preview tab
Error produced when using preview tab
Selection_001.png (9.59 KiB) Viewed 4143 times
configuration file check all OK
configuration file check all OK
Selection_004.png (10.92 KiB) Viewed 4143 times
Last edited by silverspr on Sat Sep 20, 2014 1:47 pm, edited 1 time in total.
 #29912  by jllort
 
Use an .odt file to do the test.
1- try converting .odt to pdf ( user toolbar icon for it ). In case is going right then OpenOffice service is sure well configured.
2- then go to preview tab ( ensure your browser has flash player support ). If fails take a look at catalina.log to see the error. I suggest download pdf file and try to execute pdf2swf command from terminal to see with more detail what's the cause of the conversion error.
 #29914  by silverspr
 
Thanks jllort
I was able to get it working, I ended up uninstalling OpenKm 6.3 CE, reinstalling Firefox and flashplayer, however the installer indicated flashplayer was already installed. Nonetheless preview tab is working, download document to pdf and viewer are all working. I now have working OpenKM 6.3 CD in both Linux Ubuntu 14.04 and Windows 8.1 Woohooo...

I only have one small thing left: the start/stop OpenKM scripts don't work the same way as in Windows. clicking the stop OpenKM in windows closes the open terminal window, this does not happen in Linux. Is the configuration different?


Chrome doesn't support java anymore, on linux this only leaves Firefox as a viable browser. Just FYI.

thanks again
 #29925  by pavila
 
Yes, I know the issue with Java and Linux in latest Chrome releases. I don't know when be released a new Chrome which Java support included again. Very sad, Google :(
 #29938  by silverspr
 
Thanks pavila
what about the OpenKm start and stop scripts in Linux,the stop script doesn't close the previously opened terminal window called by the start script. Is there something in the script needing to be changed. How do I know the application has stopped without visually seeing all the terminal windows close.
 #29948  by silverspr
 
Hi, I've run the shutdown script from the terminal window:
Code: Select all
[sudo] password for optimus: 
Using CATALINA_BASE:   /home/optimus/openkm-ce/tomcat
Using CATALINA_HOME:   /home/optimus/openkm-ce/tomcat
Using CATALINA_TMPDIR: /home/optimus/openkm-ce/tomcat/temp
Using JRE_HOME:        /home/optimus/openkm-ce/java
Using CLASSPATH:       /home/optimus/openkm-ce/tomcat/bin/bootstrap.jar:/home/optimus/openkm-ce/tomcat/bin/tomcat-juli.jar
Using CATALINA_PID:    /home/optimus/openkm-ce/tomcat/catalina.pid
$CATALINA_PID was set but the specified file does not exist. Is Tomcat running? Stop aborted.
Not sure what the next step is...(windows guy here)
 #29971  by jllort
 
on windows the command should be something like
catalina.bat start
catalina.bat stop

Will be better if you configure as service, here we try to explain how http://wiki.openkm.com/index.php/Config ... ce_windows if you're in this stage please do not continue in this post and add a newer. This post should only for the initial question.

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.