Difference between revisions of "Migrating from 6.2.2 to 6.2.3"
From OpenKM Documentation
Line 2: | Line 2: | ||
* 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. | ||
+ | |||
+ | * 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> | ||
+ | |||
+ | * 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]}} |
Revision as of 12:47, 9 February 2013
OpenKM 6.2.3 Community is currently under development. |
- 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;
- 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 |