Difference between revisions of "Migration from 5.1.8 to 5.1.9"
From OpenKM Documentation
(Created page with 'Versión 5.1.9 is still not available to download <source type="sql"> INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'calendar.first.d…') |
|||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | * Make a backup!!! | |
+ | * Stop JBoss | ||
− | <source | + | * 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. | ||
+ | |||
+ | <source lang="sql"> | ||
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'calendar.first.day.of.week', '0', 'en-GB'); | INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'calendar.first.day.of.week', '0', 'en-GB'); | ||
</source> | </source> | ||
+ | |||
+ | * 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. | ||
+ | |||
+ | {{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.
Repository export metadata files extension has been changed from .json to .okm. |