• problem with instalation

  • 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.
 #45978  by Lamya
 
hello
I try to in install OKMInstaller.jar on windows 10 64 bit but I have to get the login page but I cant http://localhost:8080/openKM
HTTP Status 404 – Not Found

Type Status Report

Message /openKM

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
can you help me?
 #45984  by lnovoa
 
Hi!,
first of all, you are not writing the context well, it would be http://localhost:8080/OpenKM
If this does not solve your problem ... check that the server is up and send us the log files: catalina.out and openkm.log
 #50175  by Lessy
 
after installing openkm of ubuntu 14.04 server i am also getting the same error.

can anyone please help!

**HTTP Status 404 - /OpenKM**

**type Status report**

**message /OpenKM**

**description The requested resource is not available.**

**Apache Tomcat/7.0.52 (Ubuntu)**
(19.65 KiB) Downloaded 214 times
 #50185  by jllort
 
First of all, you are installing in a very older and non supported Ubuntu release. Ubuntu version 14.04 is a prehistoric version and you should start thinking change to one of the latest 20.04 LTS ( always Long Term Support releases ) https://ubuntu.com/download/server/than ... ture=amd64

Second, this is an strange tomcat version for OpenKM "Apache Tomcat/7.0.52", did you really watched the installation video we have in download section ? because I suspect you have gone in a wrong way. Take a look at the videos available in https://www.openkm.com/en/download.html ( https://www.youtube.com/watch?v=WJrkD2B ... e=emb_logo ). I suggest following the steps described in the video, the wizard will do almost work for you. This URL will describe what actions are needed https://docs.openkm.com/kcenter/view/ok ... ebian.html ( almos are done by wizard, but someones like database installation must be done by hand )
 #50194  by Lessy
 
i reinstalled openkm on ubuntu 18.04 and followed the steps on this video https://www.youtube.com/watch?v=WJrkD2BdAJo ,i have done everything correctly but i am getting the error when i am starting the application **tail -f /home/openkm/tomcat/log/catalina.log**

do i create the catalina.log file?
and what code should i put in the file?

thanks
@jllort
 #50205  by jllort
 
The file must created automatically. The application should be installed under user openkm and registeres with a service name named openkm. I suggest login with user openkm and execute go into $TOMCAT_HOME/bin folder and execute ./catalina.sh run ( will starting the application from command line, please do not close the terminal or press CTRL+C because you will stop the application ). Share the terminal output in a txt file here.
 #50251  by jllort
 
You must execute ( you forget runt at the end ):
Code: Select all
./catalina.sh run
 #50265  by Lessy
 
oh sorry, now l have executed including "run". here is the output
Attachments
output for ./catalina.sh run
(24 KiB) Downloaded 190 times
 #50294  by jllort
 
Application seems started correctly. You should not stop the command line with CTRL+C when executing catalina.sh run otherwise the application is stopped.

If you have not stopped the terminal with CTRL+C then , stop, remove all the files into logs folder and share the logs folder compressed as a zip.
 #50316  by Lessy
 
so does it mean I will be able to run the openkm from my server now?

here is the zip file:
Attachments
logs
(42.1 KiB) Downloaded 182 times
 #50322  by jllort
 
I think you might have some issue with grans, in the catalina.log is shown
Code: Select all
java.io.FileNotFoundException: /home/becsa/tomcat-8.5.34/logs/host-manager.2020-07-20.log (Permission denied)
When you starting the application from command line with root users, the temporary files security changes in favour of root user.
Did you created openkm user, because you installed application into /home/becsa and should use /home/openkm ( here you have two options, create openkm user and move tomcat folder into /home/openkm and update the script /etc/init.d/openkm or change the script for working with becsa without changin the openkm location ).

Finally should change the grants from the home ( /home/becsa or /home/openkm ) you should execute
chown openkm:openkm tomcat-8.5.34 or chown becsa:becsa tomcat-8.5.34 ( if you do not decide to move the location ).

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.