Difference between revisions of "Migration from 5.1.8 to 5.1.9"
From OpenKM Documentation
Line 4: | Line 4: | ||
* 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} ${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}" |
Revision as of 08:39, 31 March 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.
Repository export metadata files extension has been changed from .json to .okm. |