Difference between revisions of "Migration from 5.1.9 to 5.1.10"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '{{Note|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 * Edit [[OpenK…')
 
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Note|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!!!
 
* Make a backup!!!
  
 
* Stop JBoss
 
* 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'''
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update'''
Line 12: Line 15:
  
 
* 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 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');
 +
</source>
 +
 +
* 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!
 
* Enjoy OpenKM 5.1.10!
Line 21: Line 36:
  
 
And start JBoss again.
 
And start JBoss again.
 +
 +
[[Category: Migration Guide]]

Latest revision as of 14:00, 27 August 2012

  • 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.