• 6.3 community install issues on OMV nas

  • 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.
 #29809  by gwaitsi
 
hi all, i'm a beginner here with both openkm and linux.

i'm trying to install openkm 6.3 community on my OpenMediaVault box.
Java seems to have been successfully installed as i am returned Java Version 1.7.0_67 when using java -version

I downloaded the bundled and executed the following commands;
unzip openkm-6.3.0-community-tomcat-bundle.zip
mv tomcat /usr/local/openkm

if i execute /usr/local/openkm/bin/catalina.sh or /usr/local/openkm/bin/startup.sh i get the following error;
Cannot find /usr/local/apache-tomcat-7.0.55/bin/bin/setclasspath.sh

how/why is it looking in the wrong location?

what else do i have to do, to get it to use the MySQL install i have on the box? i have created the db and user already
 #29810  by gwaitsi
 
ok, i made some progress by resetting the CATALINA_HOME and modified the tomcat files for mysql.

when i run catalina.sh it populated the mysql database with the structure.

but i now get a blank screen when i try to connect to the http://nas:8080

when i start with "catalina.sh run" i get the following error

http-bio-0.0.0.0-8080-exec-2 INFO org.apache.coyote.http11.http11Processor - Error parsing HTTP request header

any help please....
 #29825  by jllort
 
You should not change anything, revert file changes.
Ensure if you execute "java -version" goes right
To execute start openkm should use "./catalina.sh run" or "catalina.sh start" not the command you've used. I suggest take a look here if you want to configure as service http://wiki.openkm.com/index.php/Config ... at_service
 #29831  by gwaitsi
 
you took it too literal jilort. Of course the command i ran was "./catalina.sh run"

I have managed to get to the root of the problem.
OpenMediaVault 5.x has the tomcat APR libtcnative-1 version 1.1.20.

When i try to run, i am recieving the error that the dependency for tomcat APR is version 1.1.29
It seems that i am not able to upgrade this in OMV distribution of debian because of the other dependencies in the short term.

I installed OpenKM on my Ubuntu 14.04 client, which meets dependency requirements however, i would like to switch the database to using mysql on the OMV box.

Can you please tell me, how i can change to a remove mysql, rather than the local db.

Thanks
 #29840  by jllort
 
Take a look here about MySQL configuration http://wiki.openkm.com/index.php/MySQL_-_OpenKM_6.2

About remote server, it's easy. Where it says localhost you must set your MySQL server IP. Take in mind is not enought create the user ( in our documentation is shown how to set grants for localhost connection but you'll want remote connection be able to connect MySQL server. That means this command GRANT ALL ON okmdb.* TO openkm@localhost WITH GRANT OPTION; should be change to get access from external ip to database. I can give you some ideas about it http://stackoverflow.com/questions/8348 ... ip-address
 #29861  by gwaitsi
 
just a quick gracias jllort for the help.
I've got mysql working on the nas, and openkm on the ubuntu desktop.

now i just have to figure out the best way to structure for my intended purpose.......

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.