Knowledge:Migration from 6.4.2 to

From OpenKM Documentation
Jump to: navigation, search

Nota clasica.png Due to AppVersion limitation, version is not shown properly in OpenKM, so you will see 6.4.2 and need to take care of the build number. In the corresponding build number is 17272.

  • Make a backup!!!
  • Stop Tomcat
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to update
  • Replace the OpenKM.war
  • Review file descriptor limit and, eventually, increase it.
  • Start Tomcat again
  • Go to Administration > Database Query, and update configuration properties:
update OKM_CONFIG set CFG_TYPE='string' where CFG_KEY='max.file.size';
  • Go to Administration > Configuration, and update max.file.size configuration property value by appending "MB": if current value is 200, set to 200MB.
  • Go to Administration / Utilities / Rebuild lucene indexes
  • Check for database errors:
$ grep "ERROR .*hbm2ddl" $TOMCAT_HOME/logs/catalina.log
  • Enjoy OpenKM!

If you have any weird problem try to stop Tomcat, delete these folders:

  • $TOMCAT_HOME/webapps/OpenKM
  • $TOMCAT_HOME/work/Catalina/localhost

And start Tomcat again.

Nota clasica.png Recommended to clear browser cache and Java Plugin cache