Page 1 of 1

[Solved]Preview tab Ubuntu 14.04 LTS not working

PostPosted:Sat Sep 13, 2014 6:07 pm
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 4141 times
Error produced when using preview tab
Error produced when using preview tab
Selection_001.png (9.59 KiB) Viewed 4141 times
configuration file check all OK
configuration file check all OK
Selection_004.png (10.92 KiB) Viewed 4141 times

Re: Preview tab Ubuntu 14.04 LTS not working

PostPosted:Sun Sep 14, 2014 9:45 am
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.

Re: Preview tab Ubuntu 14.04 LTS not working

PostPosted:Mon Sep 15, 2014 1:17 am
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

Re: Preview tab Ubuntu 14.04 LTS not working

PostPosted:Mon Sep 15, 2014 7:44 pm
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 :(

Re: Preview tab Ubuntu 14.04 LTS not working

PostPosted:Tue Sep 16, 2014 11:43 am
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.

Re: Preview tab Ubuntu 14.04 LTS not working

PostPosted:Wed Sep 17, 2014 1:19 am
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)

Re: Preview tab Ubuntu 14.04 LTS not working

PostPosted:Thu Sep 18, 2014 5:04 pm
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.

[closed]Preview tab Ubuntu 14.04 LTS not working

PostPosted:Fri Sep 19, 2014 12:53 am
by silverspr
Ok I'll open a new thread
I am running Ubuntu btw.