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

From OpenKM Documentation
Jump to: navigation, search
(Created page with '* Make a backup!!! * Stop Tomcat * Edit OpenKM.cfg and set '''hibernate.hbm2ddl''' to '''update''' * Replace the OpenKM.war * Start Tomcat again * Enjoy OpenKM 6.0! If …')
 
 
(9 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
* Replace the OpenKM.war
 
* Replace the OpenKM.war
 +
 +
* Run from your preferred SQL client these queries:
 +
 +
<source lang="sql">
 +
update OKM_CONFIG set CFG_TYPE='list' where CFG_KEY='registered.text.extractors';
 +
update OKM_CONFIG set CFG_TYPE='list' where CFG_KEY='principal.ldap.user.search.base';
 +
update OKM_CONFIG set CFG_TYPE='list' where CFG_KEY='principal.ldap.role.search.base';
 +
delete from OKM_NODE_PROPERTY where NPG_NODE is null;
 +
drop table OKM_PROFILING;
 +
</source>
  
 
* Start Tomcat again
 
* Start Tomcat again
  
* Enjoy OpenKM 6.0!
+
* Enjoy OpenKM 6.1!
  
 
If you have any weird problem try to stop Tomcat, delete these folders:
 
If you have any weird problem try to stop Tomcat, delete these folders:

Latest revision as of 10:21, 6 October 2012

  • Make a backup!!!
  • Stop Tomcat
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to update
  • Replace the OpenKM.war
  • Run from your preferred SQL client these queries:
update OKM_CONFIG set CFG_TYPE='list' where CFG_KEY='registered.text.extractors';
update OKM_CONFIG set CFG_TYPE='list' where CFG_KEY='principal.ldap.user.search.base';
update OKM_CONFIG set CFG_TYPE='list' where CFG_KEY='principal.ldap.role.search.base';
delete from OKM_NODE_PROPERTY where NPG_NODE is null;
drop table OKM_PROFILING;
  • Start Tomcat again
  • Enjoy OpenKM 6.1!

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.