Difference between revisions of "Knowledge:Migration from 6.2.14 to 6.2.15"

From OpenKM Documentation
Jump to: navigation, search
m
Line 19: Line 19:
 
<source lang="bash">
 
<source lang="bash">
 
$ grep "ERROR .*hbm2ddl" $TOMCAT_HOME/logs/catalina.log
 
$ grep "ERROR .*hbm2ddl" $TOMCAT_HOME/logs/catalina.log
 +
</source>
 +
 +
* Go to Administration > Database Query, and remove obsolete configuration properties:
 +
 +
<source lang="sql">
 +
delete from OKM_CONFIG where CFG_KEY='kea.model.file';
 +
delete from OKM_CONFIG where CFG_KEY='kea.stopwords.file';
 +
delete from OKM_CONFIG where CFG_KEY='kea.automatic.keyword.extraction.number';
 +
delete from OKM_CONFIG where CFG_KEY='kea.automatic.keyword.extraction.restriction';
 
</source>
 
</source>
  

Revision as of 09:54, 16 April 2013

  • Make a backup!!!
  • Stop Tomcat
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to update
  • Replace the OpenKM.war
  • Review file descriptor limit and, eventually, increase it.
  • Start Tomcat again
  • Check for database errors:
$ grep "ERROR .*hbm2ddl" $TOMCAT_HOME/logs/catalina.log
  • Go to Administration > Database Query, and remove obsolete configuration properties:
delete from OKM_CONFIG where CFG_KEY='kea.model.file';
delete from OKM_CONFIG where CFG_KEY='kea.stopwords.file';
delete from OKM_CONFIG where CFG_KEY='kea.automatic.keyword.extraction.number';
delete from OKM_CONFIG where CFG_KEY='kea.automatic.keyword.extraction.restriction';
  • Enjoy OpenKM 6.2.15!

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.


Nota clasica.png Recommended to clear browser cache and Java Plugin cache