Difference between revisions of "Knowledge:Migration from 6.2.1 to 6.2.2"

From OpenKM Documentation
Jump to: navigation, search
Line 7: Line 7:
 
* Replace the OpenKM.war
 
* Replace the OpenKM.war
  
* '''If using Oracle''', run from your preferred SQL client these queries:
+
* Run from your preferred SQL client these queries:
  
 +
'''MySQL'''
 +
<source lang="sql">
 +
ALTER TABLE OKM_NODE_MAIL MODIFY NML_CONTENT LONGTEXT
 +
</source>
 +
 +
'''Oracle'''
 
<source lang="sql">
 
<source lang="sql">
 
ALTER TABLE OKM_NODE_MAIL MODIFY (NML_CONTENT CLOB);
 
ALTER TABLE OKM_NODE_MAIL MODIFY (NML_CONTENT CLOB);

Revision as of 11:14, 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:

MySQL

ALTER TABLE OKM_NODE_MAIL MODIFY NML_CONTENT LONGTEXT

Oracle

ALTER TABLE OKM_NODE_MAIL MODIFY (NML_CONTENT CLOB);
  • Start Tomcat again
  • Enjoy OpenKM 6.2.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.

Also is recommended to clear browser cache and Java Plugin cache.