Difference between revisions of "Knowledge:Migration from 6.4.1 to 6.4.2"

From OpenKM Documentation
Jump to: navigation, search
Line 14: Line 14:
 
* Run from your preferred SQL client these queries:
 
* Run from your preferred SQL client these queries:
  
'''MySQL'''
 
 
<source lang="sql">
 
<source lang="sql">
 +
UPDATE OKM_CONFIG SET CFG_KEY='text.banner' WHERE CFG_KEY='logo.banner';
 +
UPDATE OKM_CONFIG SET CFG_KEY='text.welcome' WHERE CFG_KEY='logo.welcome';
 
</source>
 
</source>
  

Revision as of 19:58, 12 July 2013


Nota clasica.png OpenKM 6.4.2 is currently under development.

  • Make a backup!!!
  • All OKM_NODETYPE* tables should be deleted
  • All OKM_TASK_MANAGER* tables should be deleted
  • Stop Tomcat
  • Run from your preferred SQL client these queries:
UPDATE OKM_CONFIG SET CFG_KEY='text.banner' WHERE CFG_KEY='logo.banner';
UPDATE OKM_CONFIG SET CFG_KEY='text.welcome' WHERE CFG_KEY='logo.welcome';
  • 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
  • Enjoy OpenKM 6.4.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.


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