Difference between revisions of "Knowledge:Migration from 6.2.15 to 6.2.16"
From OpenKM Documentation
(Created page with '{{Note|OpenKM 6.2.16 is currently under development.}} * See [http://issues.openkm.com/changelog_page.php?version_id=75 changelog at Mantis] * Download update from http://openk…') |
|||
Line 8: | Line 8: | ||
* Stop Tomcat | * Stop Tomcat | ||
+ | |||
+ | * Run from your preferred SQL client these queries: | ||
+ | |||
+ | '''MySQL''' | ||
+ | <source lang="sql"> | ||
+ | -- Rename table field | ||
+ | ALTER TABLE OKM_AUTO_ACTION_PARAMS CHANGE AAP_VALIDATION AAP_ACTION bigint(20); | ||
+ | </source> | ||
+ | |||
+ | '''PostgreSQL''' | ||
+ | <source lang="sql"> | ||
+ | ALTER TABLE OKM_AUTO_ACTION_PARAMS RENAME COLUMN AAP_VALIDATION TO AAP_ACTION; | ||
+ | </source> | ||
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update''' | * Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update''' |
Revision as of 16:49, 14 May 2013
OpenKM 6.2.16 is currently under development. |
- Download update from http://openkm.com/download/okm/OpenKM-6.2.16.zip (eMpg8eIjY5)
- Make a backup!!!
- Stop Tomcat
- Run from your preferred SQL client these queries:
MySQL
-- Rename table field
ALTER TABLE OKM_AUTO_ACTION_PARAMS CHANGE AAP_VALIDATION AAP_ACTION bigint(20);
PostgreSQL
ALTER TABLE OKM_AUTO_ACTION_PARAMS RENAME COLUMN AAP_VALIDATION TO AAP_ACTION;
- Edit OpenKM.cfg and set hibernate.hbm2ddl to update
- Replace the OpenKM.war
- Review file descriptor limit and, eventually, increase it.
- Start Tomcat again
- Check for database errors:
$ grep "ERROR .*hbm2ddl" $TOMCAT_HOME/logs/catalina.log
- Go to Administration > Database Query, and remove obsolete configuration properties:
- Set installation customer at License Manager.
- Enjoy OpenKM 6.2.16!
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 |