Page 1 of 1

404 error after upgrading ubuntu 18

PostPosted:Thu May 13, 2021 11:50 am
by mciv
I have been running OpenKM for years on an ubuntu 16 server. After upgrading the server to ubuntu 18 I get a 404 error when accessing OpenKM. Log file shows startup failed due to previous errors. I've read various fixes for 404 errors after installation but in this case everything was working and I don't want to jeopardize losing all the configuration and data. Any help is appreciated.
Code: Select all
13-May-2021 07:38:32.054 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
13-May-2021 07:38:32.058 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/OpenKM] startup failed due to previous errors

Re: 404 error after upgrading ubuntu 18

PostPosted:Fri May 14, 2021 5:48 pm
by jllort
1- what java version did you have in verion 16 and what do you have in version 18?
2- stop openkm, remove all log files, start openkm -> share here all the logs folder into zip file

Re: 404 error after upgrading ubuntu 18

PostPosted:Sat May 15, 2021 3:34 am
by mciv
Not sure what java version was running in 16 but I did update it to the latest once I upgraded to ubuntu 18 so I'm guessing it's not the same version I was running. Do I need to keep the java version the same or is there a way to edit config files in openkm to allow a newer version? I thought of java as the reason but couldn't figure out how to fix it.

Re: 404 error after upgrading ubuntu 18

PostPosted:Thu May 20, 2021 2:34 pm
by jllort
Will not working because are using JDK-11
Code: Select all
14-May-2021 23:16:00.426 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/lib/jvm/java-11-openjdk-amd64
14-May-2021 23:16:00.426 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           11.0.11+9-Ubuntu-0ubuntu2.18.04
Install JDK 1.8 and make as default