Knowledge:Migration from 6.2.10 to 6.2.11
From OpenKM Documentation
- Download update from http://openkm.com/download/okm/OpenKM-6.2.11.zip (eMpg8eIjY5)
- Make a backup!!!
- Stop Tomcat
- Run from your preferred SQL client these queries:
update OKM_CONFIG set CFG_VALUE='<b>Message: </b>${notificationMessage}<br/>\n<b>User: </b>${userId}<br/>\n<#list documentList as doc>\n<b>Document: </b><a href="${doc.url}">${doc.path}</a><br/>\n</#list>' where CFG_KEY='notification.message.body';
update OKM_CONFIG set CFG_VALUE='OpenKM - NOTIFICATION' where CFG_KEY='notification.message.subject';
MySQL
alter table OKM_PENDING_TASK modify PTK_PARAMS varchar(1024);
- 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 > Configuration, and add okm_searchImage to tinymce.theme.buttons1 parameter.
- Go to Administration > Database Query, and execute this query for cleaning orphaned bookmarks:
delete from Bookmark bm where bm.node not in (select nd.uuid from NodeDocument nd);
- Set installation customer at License Manager.
- Enjoy OpenKM 6.2.11!
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.
- Deprecated translation:
delete from OKM_TRANSLATION where TR_KEY='user.info.chat.user.yet.logged';
Recommended to clear browser cache and Java Plugin cache |