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

From OpenKM Documentation
Jump to: navigation, search
m
Line 10: Line 10:
  
 
* Run from your preferred SQL client these queries:
 
* Run from your preferred SQL client these queries:
 +
 +
{{Note|The '''NDC_SIGNED''' field won't be created until OpenKM 6.2.2 is started.}}
  
 
'''MySQL'''
 
'''MySQL'''
Line 28: Line 30:
 
update OKM_NODE_DOCUMENT set NDC_SIGNED='F';
 
update OKM_NODE_DOCUMENT set NDC_SIGNED='F';
 
</source>
 
</source>
 
{{Note|The NDC_SIGNED field won't be created until OpenKM 6.2.2 is started.}}
 
  
 
* Start Tomcat again
 
* Start Tomcat again

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

Nota clasica.png The NDC_SIGNED field won't be created until OpenKM 6.2.2 is started.

MySQL

alter table OKM_NODE_MAIL modify NML_CONTENT longtext;
update OKM_NODE_DOCUMENT set NDC_SIGNED='F';

PostgreSQL

alter table OKM_NODE_MAIL alter NML_CONTENT TYPE text;
update OKM_NODE_DOCUMENT set NDC_SIGNED='F';

Oracle

alter table OKM_NODE_MAIL modify (NML_CONTENT clob);
update OKM_NODE_DOCUMENT set NDC_SIGNED='F';
  • 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.


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