Difference between revisions of "Migrating from 6.2.2 to 6.2.3"
From OpenKM Documentation
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
* Before upgrade to version 6.2.3 ensure you do not have any profile with web skin set to test. | * Before upgrade to version 6.2.3 ensure you do not have any profile with web skin set to test. | ||
Line 21: | 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> | ||
Line 35: | Line 38: | ||
{{Note|Recommended to clear browser cache and [http://www.java.com/en/download/help/plugin_cache.xml Java Plugin cache]}} | {{Note|Recommended to clear browser cache and [http://www.java.com/en/download/help/plugin_cache.xml Java Plugin cache]}} | ||
+ | |||
+ | [[Category: Migration Guide]] |
Latest revision as of 07: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.
Recommended to clear browser cache and Java Plugin cache |