Difference between revisions of "Migration from 5.1.7 to 5.1.8"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '{{Warning|OpenKM 5.1.8 currently has not been released. If you wan to try it, grab a night build from http://integration.openkm.com/5.1.x/.}} * Make a backup!!! * Modify these c…')
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Warning|OpenKM 5.1.8 currently has not been released. If you wan to try it, grab a night build from http://integration.openkm.com/5.1.x/.}}
 
 
 
* Make a backup!!!
 
* Make a backup!!!
 
* Modify these configuration properties (remember they are in database, so don't touch OpenKM.cfg file):
 
* Modify these configuration properties (remember they are in database, so don't touch OpenKM.cfg file):
Line 7: Line 5:
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update'''
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update'''
 
* Replace the OpenKM.war
 
* Replace the OpenKM.war
 +
** Core extensions should now implement the "getUuid()" method which returns an unique UUID which identifies the extension.
 
* Start JBoss again
 
* Start JBoss again
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''none'''.
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''none'''.
* Enjoy OpenKM 5.1.7!
+
* Enjoy OpenKM 5.1.8!
  
 
If you have any weird problem try to stop JBoss, delete these folders:
 
If you have any weird problem try to stop JBoss, delete these folders:
Line 17: Line 16:
  
 
And start JBoss again.
 
And start JBoss again.
 +
 +
[[Category: Migration Guide]]

Latest revision as of 13:02, 27 August 2012

  • Make a backup!!!
  • Modify these configuration properties (remember they are in database, so don't touch OpenKM.cfg file):
    • If you have configured an Cuneiform OCR, change the system.ocr value from "/usr/bin/cuneiform" to "/usr/bin/cuneiform ${fileIn} -o ${fileOut}".
  • Stop JBoss
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to update
  • Replace the OpenKM.war
    • Core extensions should now implement the "getUuid()" method which returns an unique UUID which identifies the extension.
  • Start JBoss again
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to none.
  • Enjoy OpenKM 5.1.8!

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.