• Stuck on a installation problem openkm community windows

  • 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.
 #53926  by helloplshelp
 
HELLO I am currently stuck at an installation problem with OKMInstaller.jar, how can I fix this?
Its been stuck at "-Configure service" for 30mis :<
I've tried to set the environment variables manually but still not working...
Code: Select all
Microsoft Windows [Version 10.0.22621.819]
(c) Microsoft Corporation. All rights reserved.

C:\Windows\System32>cd ..

C:\Windows>cd ..

C:\>dir
 Volume in drive C is OS
 Volume Serial Number is BA10-610E

 Directory of C:\

10/06/2022  03:30 PM    <DIR>          eSupport
11/11/2022  10:17 AM         9,471,997 OKMInstaller.jar
05/07/2022  01:24 PM    <DIR>          PerfLogs
11/11/2022  02:38 AM    <DIR>          Program Files
11/11/2022  02:35 AM    <DIR>          Program Files (x86)
10/11/2022  12:06 PM    <DIR>          Users
11/11/2022  02:39 AM    <DIR>          Windows
               1 File(s)      9,471,997 bytes
               6 Dir(s)  440,479,498,240 bytes free

C:\>java -jar OKMInstaller.jar
Running on Windows: 0.9.23-CE (build: 1cb41ce)
Local host: LAPTOP-0HPLAO7U (192.168.1.14)
Java version: 1.8.0_121
JAVA_HOME: C:\Program Files\Java\jdk1.8.0_121
Free disk size: 410.2 GB
RAM size: 7.4 GB
CPU cores: 16
Server IP: 192.168.1.14
Supported databases: [h2, hsqldb, mariadb, mysql, oracle, postgresql, sqlserver]
Current directory: C:\

Database [h2]: mysql
Database host [localhost]:
Database name [okmdb]:
Database user [openkm]:
Database password [0IA_jvY1isJ#]:
---------------------------
- Database: mysql
- Database host: localhost
- Database name: okmdb
- Database user: openkm
- Database password: 0IA_jvY1isJ#
- OpenKM version: 6.3.12
- Tomcat version: 8.5.69
---------------------------
Start install process? [y/N]: y

- Downloading Tomcat: 8.5.69
....*.... 10% ....*.... 20% ....*.... 30% ....*.... 40% ....*.... 50% ....*.... 60% ....*.... 70% ....*.... 80% ....*.... 90% ....*.... 100%
- Unzipping archive. Done!
- Downloading Extras
....*.... 10% ....*.... 20% ....*.... 30% ....*.... 40% ....*.... 50% ....*.... 60% ....*.... 70% ....*.... 80% ....*.... 90% ....*.... 100%
- Unzipping archive. Done!
- Downloading OpenKM: 6.3.12
....*.... 10% ....*.... 20% ....*.... 30% ....*.... 40% ....*.... 50% ....*.... 60% ....*.... 70% ....*.... 80% ....*.... 90% ....*.... 100%
- Unzipping archive. Done!
- Check archive integrity... Done!
- Copy OpenKM
- Configure OpenKM

SUCCESS: Specified value was saved.
- Configure service
Here is the OKMInstaller.log file
Code: Select all
2022-11-11 10:47:34,362 [    main] INFO  com.openkm.installer.b - Download finished
2022-11-11 10:47:34,362 [    main] INFO  com.openkm.installer.Main - Unzipping archive.
2022-11-11 10:47:34,362 [    main] INFO  com.openkm.installer.b - Extracting C:\installer.tmp\OpenKM-6.3.12.zip to C:\installer.tmp
2022-11-11 10:47:35,364 [    main] INFO  com.openkm.installer.b - Extract finished
2022-11-11 10:47:35,380 [    main] INFO  com.openkm.installer.Main - Check archive integrity... 
2022-11-11 10:47:36,801 [    main] INFO  com.openkm.installer.b - MD5 hash is ok
2022-11-11 10:47:36,801 [    main] INFO  com.openkm.installer.Main - Copy OpenKM
2022-11-11 10:47:36,801 [    main] INFO  com.openkm.installer.Main - Configure OpenKM
2022-11-11 10:47:36,801 [    main] INFO  com.openkm.installer.b - Configure LibreOffice
2022-11-11 10:47:36,817 [    main] INFO  com.openkm.installer.b - Set Sigar library path
2022-11-11 10:47:36,825 [    main] INFO  com.openkm.installer.c.e - Execute: [setx, PATH, C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\Java\jdk1.8.0_121\bin;C:\Program Files\nodejs\;C:\Users\NAME\AppData\Local\Microsoft\WindowsApps;C:\Users\NAME\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\NAME\AppData\Roaming\npm;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;;C:\tomcat-8.5.69\lib\sigar, /M]
2022-11-11 10:47:37,205 [    main] INFO  com.openkm.installer.Main - 
2022-11-11 10:47:37,206 [    main] INFO  com.openkm.installer.Main - SUCCESS: Specified value was saved.
2022-11-11 10:47:37,290 [    main] INFO  com.openkm.installer.Main - Configure service
2022-11-11 10:47:37,298 [    main] INFO  com.openkm.installer.c.n - Install service: [C:\tomcat-8.5.69\bin\service.bat, install, OpenKM]
2022-11-11 10:47:37,298 [    main] INFO  com.openkm.installer.c.e - Execute: [C:\tomcat-8.5.69\bin\service.bat, install, OpenKM]
I tried to install it manually but still not working, I've manually entered environment variables to:

CATALINA_HOME: C:\tomcat-8.5.69
CATALINA_BASE: C:\tomcat-8.5.69
JAVA_HOME: C:\Program Files\Java\jdk1.8.0_121
JRE_HOME: C:\Program Files\Java\jdk1.8.0_121\jre
JVM: C:\Program Files\Java\jdk1.8.0_121\jre\bin\server\jvm.dll
Code: Select all
Microsoft Windows [Version 10.0.22621.819]
(c) Microsoft Corporation. All rights reserved.

C:\Windows\System32>cd ..

C:\Windows>cd ..

C:\>cd C:\tomcat-8.5.69\bin

C:\tomcat-8.5.69\bin>service.bat install
The file Tomcat8.exe was not found...
Either the CATALINA_HOME environment variable is not defined correctly or
the incorrect service name has been used.
Both the CATALINA_HOME environment variable and the correct service name
are required to run this program.

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.