Difference between revisions of "Knowledge:Migration from 6.4.2 to 6.4.3"
From OpenKM Documentation
m |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
* Stop Tomcat | * Stop Tomcat | ||
− | |||
− | |||
− | |||
− | |||
− | |||
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update''' | * Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update''' | ||
Line 31: | Line 26: | ||
update OKM_CONFIG set CFG_TYPE='string' where CFG_KEY='max.file.size'; | update OKM_CONFIG set CFG_TYPE='string' where CFG_KEY='max.file.size'; | ||
UPDATE OKM_OCR_TEMPLATE_FIELD SET OTF_ROTATION=0; | UPDATE OKM_OCR_TEMPLATE_FIELD SET OTF_ROTATION=0; | ||
− | ALTER TABLE OKM_OCR_TEMPLATE DROP COLUMN MT_NAME; | + | ALTER TABLE OKM_OCR_TEMPLATE DROP COLUMN MT_NAME; -- Can't DROP 'MT_NAME'; check that column/key exists |
</source> | </source> | ||
+ | |||
+ | * Modificar el OCR text extractor de '''registered.text.extractors''', el extractor '''com.openkm.extractor.CuneiformTextExtractor''' por '''com.openkm.extractor.OCRTextExtractor''' | ||
* Set installation customer at [http://update.openkm.com/admin/license_list.php License Manager]. | * Set installation customer at [http://update.openkm.com/admin/license_list.php License Manager]. |
Latest revision as of 19:53, 28 October 2013
- Download update from http://openkm.com/download/okm/OpenKM-6.4.3.zip (eMpg8eIjY5)
- Make a backup!!!
- Stop Tomcat
- Edit OpenKM.cfg and set hibernate.hbm2ddl to update
- Replace the OpenKM.war
- Review file descriptor limit and, eventually, increase it.
- Start Tomcat again
- Check for database errors:
$ grep "ERROR .*hbm2ddl" $TOMCAT_HOME/logs/catalina.log
- Go to Administration > Database Query, and update configuration properties:
update OKM_CONFIG set CFG_TYPE='string' where CFG_KEY='max.file.size';
UPDATE OKM_OCR_TEMPLATE_FIELD SET OTF_ROTATION=0;
ALTER TABLE OKM_OCR_TEMPLATE DROP COLUMN MT_NAME; -- Can't DROP 'MT_NAME'; check that column/key exists
- Modificar el OCR text extractor de registered.text.extractors, el extractor com.openkm.extractor.CuneiformTextExtractor por com.openkm.extractor.OCRTextExtractor
- Set installation customer at License Manager.
- Enjoy OpenKM 6.4.3!
If you have any weird problem try to stop Tomcat, delete these folders:
- $TOMCAT_HOME/webapps/OpenKM
- $TOMCAT_HOME/work/Catalina/localhost
And start Tomcat again.
Recommended to clear browser cache and Java Plugin cache |