Difference between revisions of "Migrating from 6.2.2 to 6.2.3"

From OpenKM Documentation
Jump to: navigation, search
m
 
Line 19: Line 19:
 
<source lang="sql">
 
<source lang="sql">
 
alter table OKM_NODE_MAIL modify NML_CONTENT longtext;
 
alter table OKM_NODE_MAIL modify NML_CONTENT longtext;
 +
</source>
 +
 +
'''PostgreSQL'''
 +
<source lang="sql">
 +
ALTER TABLE OKM_NODE_MAIL ALTER NML_CONTENT TYPE text;
 
</source>
 
</source>
  

Latest revision as of 08:27, 6 February 2014

  • Before upgrade to version 6.2.3 ensure you do not have any profile with web skin set to test.
  • 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:

HSQL

ALTER TABLE OKM_NODE_MAIL ALTER COLUMN NML_CONTENT clob;

MySQL

alter table OKM_NODE_MAIL modify NML_CONTENT longtext;

PostgreSQL

ALTER TABLE OKM_NODE_MAIL ALTER NML_CONTENT TYPE text;
  • Start Tomcat again
  • Enjoy OpenKM 6.2.3!

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