Service 'openkm' is missing the ImageFile

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.
Post Reply
ShaharEldad
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Tue Nov 28, 2017 2:39 pm

Service 'openkm' is missing the ImageFile

Post by ShaharEldad » Tue Nov 28, 2017 2:51 pm

Hi all

I am trying to install the community edition.
My OS is Windows 10 pro.
Browser is Chrome version 62.
JDK 1.8
MYSQL server 5.7
OpenKM jar 6.3.4

When I run "java -jar OKMInstaller.jar" I get "Failed installing 'OpenKM' service".
When I run "service.bat install" I get the same.
When I run "openkm.exe" I get "Service 'openkm' is missing the ImageFile" and "Failed to run service as console application".
Also in the bin folder I do not see the tomcat7.exe file and tomcat7w.exe file even though I installed this via openkm installer.

Anyone has any idea?
I attached a screen shot of the console window of the commands output

Thanks
Shahar
Attachments
ScreenShot.jpg

jllort
Moderator
Moderator
Posts: 9709
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Service 'openkm' is missing the ImageFile

Post by jllort » Wed Nov 29, 2017 10:11 am

I think might be some error with installer, try following the steps described here manually:
https://docs.openkm.com/kcenter/view/ok ... asaservice

Please add the issue here
https://github.com/openkm/document-management-system

ShaharEldad
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Tue Nov 28, 2017 2:39 pm

Re: Service 'openkm' is missing the ImageFile

Post by ShaharEldad » Wed Nov 29, 2017 2:35 pm

jllort wrote:
Wed Nov 29, 2017 10:11 am
I think might be some error with installer, try following the steps described here manually:
https://docs.openkm.com/kcenter/view/ok ... asaservice

Please add the issue here
https://github.com/openkm/document-management-system
I tried this link already:
https://docs.openkm.com/kcenter/view/ok ... asaservice
But as I said I get an error when runngin "service.bat install"
and I also do not have the file tomcat7.exe (which is also weird bu I used the officail installer from here).

I`ll post it in github

jllort
Moderator
Moderator
Posts: 9709
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Service 'openkm' is missing the ImageFile

Post by jllort » Thu Nov 30, 2017 6:48 pm

I think in the latest version we have replaced tomcat7.exe and tomcat7w.exe to openkm.exe and openkmw.exe.
Try the same description is shown in the documentation but changing tomcat for openkm ( meanwhile we will investigate what happens with the installer ).

ShaharEldad
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Tue Nov 28, 2017 2:39 pm

Re: Service 'openkm' is missing the ImageFile

Post by ShaharEldad » Mon Dec 04, 2017 8:42 am

jllort wrote:
Thu Nov 30, 2017 6:48 pm
I think in the latest version we have replaced tomcat7.exe and tomcat7w.exe to openkm.exe and openkmw.exe.
Try the same description is shown in the documentation but changing tomcat for openkm ( meanwhile we will investigate what happens with the installer ).
Hi

I cleared the current installation of the openkm and started new. I managed to install the openkm service all the way to the third party apps (which I skipped at the moment).
I checked the configuration and started the service.
When I try to run the app under http://localhost:8080/OpenKM I get the following:
===================================================================================================
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.

Apache Tomcat/8.5.13
===================================================================================================

Any idea what did I miss?

Thanks

jllort
Moderator
Moderator
Posts: 9709
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Service 'openkm' is missing the ImageFile

Post by jllort » Tue Dec 05, 2017 6:03 pm

Is not possible you see in the screen Apache Tomcat/8.5.13 because the installer will try to installing Tomcat 7.0.61. I suspect you have a previous tomcat installed and might be the reason why the application is not starting correctly. Did you have a service named tomcat or OpenKM ( check the path where is pointing ).

ShaharEldad
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Tue Nov 28, 2017 2:39 pm

Re: Service 'openkm' is missing the ImageFile

Post by ShaharEldad » Wed Dec 06, 2017 7:35 am

jllort wrote:
Tue Dec 05, 2017 6:03 pm
Is not possible you see in the screen Apache Tomcat/8.5.13 because the installer will try to installing Tomcat 7.0.61. I suspect you have a previous tomcat installed and might be the reason why the application is not starting correctly. Did you have a service named tomcat or OpenKM ( check the path where is pointing ).
Thank you, now I actually get to the login page.

Last actions done for the record if anyone else needs them:

Now I get this error message on connection to DB
================================================================================================
Class: org.apache.jasper.JasperException
Message: javax.servlet.ServletException: com.openkm.core.DatabaseException: Cannot open connection
Date: Wed Dec 06 09:18:41 IST 2017
================================================================================================
I tried the answer from this post:
viewtopic.php?t=10536

But it did not work.
One of the steps was to delete folder repositories so I moved it and now I don`t even get above DB message. I just get
================================================================================================
This site can’t be reached

localhost refused to connect.
Search Google for localhost 8080 OpenKM log
ERR_CONNECTION_REFUSED
================================================================================================
I tried moving back the repositories folder but it didn`t help and I still get the message "The site can`t be reached".

Last I stopped the service, cleared the logs directory, started the service again and refreshed the page so I can post the latest logs here and now I actually get to the login page.

Thanks :)

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests