Migration from 5.1.9 to 5.1.10

From OpenKM Documentation
Jump to: navigation, search
  • Make a backup!!!
  • Stop JBoss
  • OpenKM now shows the username and not the user id. If you has configured LDAP integration, you need to take care of these new configuration options. For more info, read Active Directory OpenKM 5.1:
    • principal.ldap.username.attribute
    • principal.ldap.username.search.base
    • principal.ldap.username.search.filter
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to update
  • Replace the OpenKM.war
  • Start JBoss again
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to none.
  • Insert these translations at Administration > Database query:
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.dragdrop.document', 'Are you sure you want to move  this document ?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.dragdrop.folder', 'Are you sure you want to move this folder ?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.dragdrop.mail', 'Are you sure you want to move this e-mail ?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.category.delete', 'Are you sure you want to delete this category ?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.keyword.delete', 'Are you sure you want to delete this keyword ?', 'en-GB');
  • The registered workflows need to be configured in the user profile to be used by the users. This means you can select which user (profiles) can start a registered workflow.
  • Enjoy OpenKM 5.1.10!

If you have any weird problem try to stop JBoss, delete these folders:

  • $JBOSS_HOME/server/default/work
  • $JBOSS_HOME/server/default/tmp

And start JBoss again.