Difference between revisions of "Migrating from 6.2.2 to 6.2.3"
From OpenKM Documentation
(Created page with '{{Note|OpenKM 6.2.3 Community is currently under development.}}') |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Note| | + | * 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''' | ||
+ | <source lang="sql"> | ||
+ | ALTER TABLE OKM_NODE_MAIL ALTER COLUMN NML_CONTENT clob; | ||
+ | </source> | ||
+ | |||
+ | '''MySQL''' | ||
+ | <source lang="sql"> | ||
+ | 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> | ||
+ | |||
+ | * 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. | ||
+ | |||
+ | {{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 |