Difference between revisions of "Knowledge:Migration from 6.0 to 6.1"

From OpenKM Documentation
Jump to: navigation, search
m
Line 1: Line 1:
 
* Make a backup!!!
 
* Make a backup!!!
 +
 +
* Stop Tomcat
 +
 +
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update'''
 +
 +
* Replace the OpenKM.war
 +
 +
* Start Tomcat again
  
 
* Run from Administration > Database query:
 
* Run from Administration > Database query:
Line 8: Line 16:
 
update Config cfg set cfg.type='list' where cfg.key='principal.ldap.role.search.base';
 
update Config cfg set cfg.type='list' where cfg.key='principal.ldap.role.search.base';
 
</source>
 
</source>
 
* Stop Tomcat
 
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update'''
 
 
* Replace the OpenKM.war
 
 
* Start Tomcat again
 
  
 
* Enjoy OpenKM 6.0!
 
* Enjoy OpenKM 6.0!

Revision as of 11:12, 10 August 2012

  • Make a backup!!!
  • Stop Tomcat
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to update
  • Replace the OpenKM.war
  • Start Tomcat again
  • Run from Administration > Database query:
update Config cfg set cfg.type='list' where cfg.key='registered.text.extractors';
update Config cfg set cfg.type='list' where cfg.key='principal.ldap.user.search.base';
update Config cfg set cfg.type='list' where cfg.key='principal.ldap.role.search.base';
  • Enjoy OpenKM 6.0!

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.