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

From OpenKM Documentation
Jump to: navigation, search
Line 5: Line 5:
 
<source lang="sql">
 
<source lang="sql">
 
update Config cfg set cfg.type='list' where cfg.key='registered.text.extractors';
 
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';
 
</source>
 
</source>
  

Revision as of 02:00, 10 August 2012

  • Make a backup!!!
  • 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';
  • Stop Tomcat
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to update
  • Replace the OpenKM.war
  • Start Tomcat again
  • 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.