Difference between revisions of "Migration from 5.1.9 to 5.1.10"

From OpenKM Documentation
Jump to: navigation, search
Line 17: Line 17:
  
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''none'''.
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''none'''.
 +
 +
* Insert these translations at Administration > Database query:
 +
 +
<source lang="sql">
 +
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.dragdrop.document', 'Are you sure to move document ?', 'en-GB');
 +
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.dragdrop.folder', 'Are you sure to move folder ?', 'en-GB');
 +
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.dragdrop.mail', 'Are you sure to move e-mail ?', 'en-GB');
 +
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.category.delete', 'Are you sure deleting category ?', 'en-GB');
 +
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.keyword.delete', 'Are you sure deleting keyword ?', 'en-GB');
 +
</source>
  
 
* Enjoy OpenKM 5.1.10!
 
* Enjoy OpenKM 5.1.10!

Revision as of 10:40, 8 March 2012


Nota clasica.png OpenKM 5.1.10 is not officially released, but you can download a night build from http://integration.openkm.com/5.1.x/.

  • 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 to move document ?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.dragdrop.folder', 'Are you sure to move folder ?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.dragdrop.mail', 'Are you sure to move e-mail ?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.category.delete', 'Are you sure deleting category ?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.keyword.delete', 'Are you sure deleting keyword ?', 'en-GB');
  • 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.