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

From OpenKM Documentation
Jump to: navigation, search
m
Line 1: Line 1:
{{Note|OpenKM 6.4.4 is currently under development.}}
+
* See [http://issues.openkm.com/changelog_page.php?version_id=89 changelog at Mantis]
  
* See [http://issues.openkm.com/changelog_page.php?version_id=84 changelog at Mantis]
+
* Download update from http://openkm.com/download/okm/OpenKM-6.4.5.zip (eMpg8eIjY5)
 
 
* Download update from http://openkm.com/download/okm/OpenKM-6.4.4.zip (eMpg8eIjY5)
 
  
 
* Make a backup!!!
 
* Make a backup!!!
  
 
* Stop Tomcat
 
* Stop Tomcat
 
* Run from your preferred SQL client these queries:
 
 
<source lang="sql">
 
</source>
 
  
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update'''
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update'''
Line 26: Line 19:
 
<source lang="bash">
 
<source lang="bash">
 
$ grep "ERROR .*hbm2ddl" $TOMCAT_HOME/logs/catalina.log
 
$ grep "ERROR .*hbm2ddl" $TOMCAT_HOME/logs/catalina.log
</source>
 
 
* Go to Administration > Database Query, and update configuration properties:
 
 
<source lang="sql">
 
 
</source>
 
</source>
  

Revision as of 13:33, 11 November 2013

  • 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
  • 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