Difference between revisions of "Migrating from 6.2.5 to 6.3"
From OpenKM Documentation
(Created page with "{{Note|This section is currently under development.}}") |
|||
Line 1: | Line 1: | ||
{{Note|This section is currently under development.}} | {{Note|This section is currently under development.}} | ||
+ | |||
+ | {{Note|OpenKM 6.2.6 Community is currently under development.}} | ||
+ | |||
+ | * 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: | ||
+ | |||
+ | '''PostgreSQL''' | ||
+ | <source lang="sql"> | ||
+ | alter table OKM_MIME_TYPE add column MT_SEARCH char(1); | ||
+ | update OKM_MIME_TYPE set MT_SEARCH='T'; | ||
+ | OKM_MIME_TYPE alter column MT_SEARCH set NOT NULL; | ||
+ | </source> | ||
+ | |||
+ | * Start Tomcat again | ||
+ | |||
+ | * Go to Administration > Database Query, and remove obsolete configuration properties: | ||
+ | |||
+ | '''HSQL''' | ||
+ | <source lang="sql"> | ||
+ | |||
+ | </source> | ||
+ | |||
+ | * Enjoy OpenKM 6.2.6! | ||
+ | |||
+ | 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]] |
Revision as of 12:47, 22 May 2014
This section is currently under development. |
OpenKM 6.2.6 Community is currently under development. |
- 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:
PostgreSQL
alter table OKM_MIME_TYPE add column MT_SEARCH char(1);
update OKM_MIME_TYPE set MT_SEARCH='T';
OKM_MIME_TYPE alter column MT_SEARCH set NOT NULL;
- Start Tomcat again
- Go to Administration > Database Query, and remove obsolete configuration properties:
HSQL
- Enjoy OpenKM 6.2.6!
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 |