Difference between revisions of "Knowledge:Migration from 6.1.1 to 6.2"

From OpenKM Documentation
Jump to: navigation, search
Line 2: Line 2:
  
 
* Stop Tomcat
 
* Stop Tomcat
 +
 +
* These configuration properties have been removed from administration and need to be configured from OpenKM.cfg
 +
 +
<source lang="java">
 +
hibernate.search.index.home
 +
repository.datastore.home
 +
repository.cache.home
 +
</source>
 +
 +
* So you can delete the with these queries:
 +
 +
<source lang="sql">
 +
delete from OKM_CONFIG where CFG_KEY='hibernate.search.index.home';
 +
delete from OKM_CONFIG where CFG_KEY='repository.datastore.home';
 +
delete from OKM_CONFIG where CFG_KEY='repository.cache.home';
 +
</source>
  
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update'''
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update'''

Revision as of 22:27, 4 September 2012

  • Make a backup!!!
  • Stop Tomcat
  • These configuration properties have been removed from administration and need to be configured from OpenKM.cfg
hibernate.search.index.home
repository.datastore.home
repository.cache.home
  • So you can delete the with these queries:
delete from OKM_CONFIG where CFG_KEY='hibernate.search.index.home';
delete from OKM_CONFIG where CFG_KEY='repository.datastore.home';
delete from OKM_CONFIG where CFG_KEY='repository.cache.home';
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to update
  • Replace the OpenKM.war
  • Start Tomcat again
  • Enjoy OpenKM 6.2!

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.