Difference between revisions of "Knowledge:Migration from 6.2.8 to 6.2.9"
From OpenKM Documentation
Line 13: | Line 13: | ||
'''MySQL''' | '''MySQL''' | ||
<source lang="sql"> | <source lang="sql"> | ||
+ | -- Check if there are pending tasks | ||
+ | select * from OKM_PENDING_TASK; | ||
+ | |||
+ | -- Rename table field | ||
alter table OKM_PENDING_TASK change PTK_PARAM PTK_PARAMS varchar(512); | alter table OKM_PENDING_TASK change PTK_PARAM PTK_PARAMS varchar(512); | ||
</source> | </source> |
Revision as of 09:39, 11 January 2013
- Download update from http://openkm.com/download/okm/OpenKM-6.2.9.zip (password eMpg8eIjY5)
- Make a backup!!!
- Before upgrade to version 6.2.3 ensure you do not have any profile with web skin set to test.
- Stop Tomcat
- Run from your preferred SQL client these queries:
MySQL
-- Check if there are pending tasks
select * from OKM_PENDING_TASK;
-- Rename table field
alter table OKM_PENDING_TASK change PTK_PARAM PTK_PARAMS varchar(512);
- Edit OpenKM.cfg and set hibernate.hbm2ddl to update
- Replace the OpenKM.war
- Start Tomcat again
- Enjoy OpenKM 6.2.9!
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 |