Difference between revisions of "Migration from 5.1.7 to 5.1.8"

From OpenKM Documentation
Jump to: navigation, search
m
Line 7: Line 7:
 
* 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, and "getName()" which give a name to the extension.
+
** 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'''.

Revision as of 13:20, 27 July 2011


Nota advertencia.png 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 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.7!

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.