Difference between revisions of "Knowledge:Migration from 6.4.3 to 6.4.4"

From OpenKM Documentation
Jump to: navigation, search
(Created page with "{{Note|OpenKM 6.4.4 is currently under development.}} * See [http://issues.openkm.com/changelog_page.php?version_id=84 changelog at Mantis] * Download update from http://ope...")
 
m
Line 31: Line 31:
  
 
<source lang="sql">
 
<source lang="sql">
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;
 
 
</source>
 
</source>
  

Revision as of 10:24, 25 October 2013


Nota clasica.png OpenKM 6.4.4 is currently under development.

  • Make a backup!!!
  • Stop Tomcat
  • Run from your preferred SQL client these queries:
  • 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:
  • Enjoy OpenKM 6.4.4!

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.


Nota clasica.png Recommended to clear browser cache and Java Plugin cache