Difference between revisions of "Knowledge:Migration from 6.2.15 to 6.2.16"

From OpenKM Documentation
Jump to: navigation, search
 
Line 6: Line 6:
  
 
* Stop Tomcat
 
* Stop Tomcat
 
* Run from your preferred SQL client these queries:
 
  
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update'''
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update'''

Latest revision as of 09:37, 14 August 2013

  • 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
  • Check for database errors:
$ grep "ERROR .*hbm2ddl" $TOMCAT_HOME/logs/catalina.log
  • Enjoy OpenKM 6.2.16!

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