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

From OpenKM Documentation
Jump to: navigation, search
m
Line 3: Line 3:
 
* Stop Tomcat
 
* Stop Tomcat
  
* These configuration properties have been removed from administration and need to be configured from OpenKM.cfg
+
* These configuration properties have been removed from administration (or changed) and need to be configured from OpenKM.cfg
  
 
<source lang="java">
 
<source lang="java">
 
hibernate.search.index.home
 
hibernate.search.index.home
 
repository.datastore.home
 
repository.datastore.home
repository.cache.home
+
repository.cache.home (was "cache.home")
 
</source>
 
</source>
  
* So you can delete the with these queries:
+
* So you can delete the with these queries to avoid confusion:
  
 
<source lang="sql">
 
<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.datastore.home';
delete from OKM_CONFIG where CFG_KEY='repository.cache.home';
+
delete from OKM_CONFIG where CFG_KEY='cache.home';
 
</source>
 
</source>
  

Revision as of 21:30, 4 September 2012

  • Make a backup!!!
  • Stop Tomcat
  • These configuration properties have been removed from administration (or changed) and need to be configured from OpenKM.cfg
hibernate.search.index.home
repository.datastore.home
repository.cache.home (was "cache.home")
  • So you can delete the with these queries to avoid confusion:
delete from OKM_CONFIG where CFG_KEY='repository.datastore.home';
delete from OKM_CONFIG where CFG_KEY='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.