Migration from 5.1.8 to 5.1.9

From OpenKM Documentation
Revision as of 19:50, 1 February 2012 by Pavila (talk | contribs)

Jump to: navigation, search

General instruction

  • Make a backup!!!
  • Stop JBoss
  • If you have configured an Tesseract OCR, change the system.ocr value from "/usr/bin/tesseract" to "/usr/bin/tesseract ${fileIn} ${fileOut}".
  • Change system.swftools.pdf2swf configuration property from "/usr/bin/pdf2swf" to "/usr/bin/pdf2swf -T 9 -f ${fileIn} -o ${fileOut}"
  • Starting from version 5.1.9 in calendar can be indicated the first day of the month. Should insert this value to English translation and complete in other language packages if there's others installed.
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'calendar.first.day.of.week', '0', 'en-GB');
  • In your locale translations should indicate which is your day of the month. Possible values are:
    • sunday = 0
    • monday = 1
    • tuesday = 2
    • wednesday = 3
    • thursday = 4
    • friday = 5
    • saturday = 6
  • 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.
  • Enjoy OpenKM 5.1.9!

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.