Page 1 of 1

How to determine version

PostPosted:Thu Apr 06, 2017 10:46 am
by MKochS
I realize this one sounds pretty stupid, but still.

I am quite positive that some time ago I upgraded my installation from 6.3.0 to 6.3.1. The administration tab, however, displays this:
Code: Select all
OpenKM - Knowledge Management
Version: 6.3.0 (build: 8156)
 
© 2006-2014 OpenKM
Is there another way to make sure which version I'm actually running? AFAIK upgrading basically means just replacing the OpenKM.war.

TIA
Matthias

Re: How to determine version

PostPosted:Fri Apr 07, 2017 6:18 pm
by jllort
Try with ( sometimes seems tomcat is not cleaning and deploying war file correctly, these steps will prevent it ):
  • Stop OpenKM
  • replace war file
  • delete folders webapp/OpenKM and work/Catalina/localhost
  • start OpenKM

Re: How to determine version

PostPosted:Fri Jun 14, 2019 8:00 am
by MKochS
Removing work/Catalina/localhost makes OpenKM unstartable, although both webapps/OpenKM and work/Catalina/localhost are being created on start.
Rolled both directories back from backup. Anyway.

I'm getting this on every start:
Code: Select all
2019-06-14 09:43:50,480 [localhost-startStop-1] INFO  com.openkm.util.WarUtils- Implementation-Version: 6.3.0
2019-06-14 09:43:50,480 [localhost-startStop-1] INFO  com.openkm.util.WarUtils- Implementation-Build: 8156
2019-06-14 09:43:50,483 [localhost-startStop-1] INFO  com.openkm.servlet.RepositoryStartupServlet- *** Application version: 6.3.0 (build: 8156) ***
which is supposed to be not true, because the OpenKM.war file is Version 6.3.8.
Code: Select all
# ls -l webapps/OpenKM.war
-rw-r--r--  1 root     root     163157516 Jun  9 20:20 OpenKM.war

Re: How to determine version

PostPosted:Sun Jun 16, 2019 8:44 am
by jllort
You are doing something wrong, because when you remove work/Catalina/localhost -> you are removing the tomcat cache and these files should be created in the next start up. If are not created it is by another reason, usually because you are not using jdk 1.8 and you are using 1.7 ( it is a common issue ).

Can you please share:
1- full tomcat path
2- java -version you are using
3- with application stopped, remove all files into the logs, start tomcat and share here the catalina.log file ( should be shown some error there what can guide in the resolution )

Re: How to determine version

PostPosted:Sun Jun 16, 2019 4:41 pm
by MKochS
The said folders ARE being replaced when I start up, so it is what I would expect as normal behaviour. The application just doesn't run, and wants the old folders back.

For your questions:

1 - The whole OpenKM installation is located in /opt/openkm-6.3.0-community. There's a symlink /opt/openkm that points there.
2 - openjdk-8-jdk, 8u212-b03-2-de, as shipped with the current Devuan Ascii distro
Code: Select all
# java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b03-2~deb9u1-b03)
OpenJDK 64-Bit Server VM (build 25.212-b03, mixed mode)
3 - The log is available but I cannot upload it here. The BB system throws an "illegal extension" error.

This is where I end up:
Auswahl_008.png
Auswahl_008.png (15.05 KiB) Viewed 4071 times

Re: How to determine version

PostPosted:Wed Jun 19, 2019 1:52 pm
by jllort
* stop openkm
* remove all logs
* start openkm
share here the openkm.log file

Re: How to determine version

PostPosted:Thu Jun 20, 2019 9:46 am
by MKochS
I've pasted the log here:

https://pastebin.com/K2R908VA

Re: How to determine version

PostPosted:Sat Jun 29, 2019 10:00 am
by jllort
You should change your current tomcat what seems older /opt/openkm-6.3.0-community/tomcat by newer.
Take a look here:
https://docs.openkm.com/kcenter/view/ok ... pdate.html

1- Before make a backup
2- The files to check are OpenKM.cfg, OpenKM.xml and conf/server.xml
3- The repository folder should be moved into the new tomcat folder