Difference between revisions of "Migration from 5.1.8 to 5.1.9"

From OpenKM Documentation
Jump to: navigation, search
m
Line 1: Line 1:
{{Note|Versión 5.1.9 is still not available for download.}}
+
== 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}".
 
* If you have configured an Tesseract OCR, change the '''system.ocr''' value from "/usr/bin/tesseract" to "/usr/bin/tesseract ${fileIn} ${fileOut}".
Line 12: Line 14:
  
 
* In your locale translations should indicate which is your day of the month. Possible values are:
 
* In your locale translations should indicate which is your day of the month. Possible values are:
** sunday =0
+
** sunday = 0
 
** monday = 1
 
** monday = 1
 
** tuesday = 2
 
** tuesday = 2
Line 19: Line 21:
 
** friday = 5
 
** friday = 5
 
** saturday = 6
 
** 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.

Revision as of 20:50, 1 February 2012

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.