Difference between revisions of "Migration from 5.1.8 to 5.1.9"

From OpenKM Documentation
Jump to: navigation, search
m
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
* 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}".
 +
 +
* If you have configured an Cuneiform OCR, change the '''system.ocr''' value from "/usr/bin/cuneiform" to "/usr/bin/cuneiform ${fileIn} -o ${fileOut}".
  
 
* Change '''system.swftools.pdf2swf''' configuration property from "/usr/bin/pdf2swf" to "/usr/bin/pdf2swf -T 9 -f ${fileIn} -o ${fileOut}"
 
* Change '''system.swftools.pdf2swf''' configuration property from "/usr/bin/pdf2swf" to "/usr/bin/pdf2swf -T 9 -f ${fileIn} -o ${fileOut}"
Line 39: Line 41:
  
 
{{Note|Repository export metadata files extension has been changed from '''.json''' to '''.okm'''.}}
 
{{Note|Repository export metadata files extension has been changed from '''.json''' to '''.okm'''.}}
 +
 +
[[Category: Migration Guide]]

Latest revision as of 13:00, 27 August 2012

  • 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 Cuneiform OCR, change the system.ocr value from "/usr/bin/cuneiform" to "/usr/bin/cuneiform ${fileIn} -o ${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 week. 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.


Nota clasica.png Repository export metadata files extension has been changed from .json to .okm.