Difference between revisions of "Knowledge:Migration from 6.4.6 to 6.4.7"

From OpenKM Documentation
Jump to: navigation, search
m
Line 1: Line 1:
{{Note|OpenKM 6.4.7 is currently under development.}}
+
* See [http://issues.openkm.com/changelog_page.php?version_id=93 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.7.zip (eMpg8eIjY5)
 
* Download update from http://openkm.com/download/okm/OpenKM-6.4.7.zip (eMpg8eIjY5)
Line 8: Line 6:
  
 
* 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 18: Line 11:
 
* Replace the OpenKM.war
 
* Replace the OpenKM.war
  
* Review file descriptor limit and, eventually, [http://okm07.openkmcloud.com/OpenKM/index.jsp?uuid=23ce359a-3568-4a2e-994d-91f924e9fa08 increase it].
+
* Review file descriptor limit and, eventually, [http://entopia.openkmcloud.com/OpenKM/index.jsp?uuid=23ce359a-3568-4a2e-994d-91f924e9fa08 increase it].
  
 
* Start Tomcat again
 
* Start Tomcat again
Line 28: Line 21:
 
</source>
 
</source>
  
* Go to Administration > Database Query, and update configuration properties:
+
* Go to Administration > Crontab, and delete the "Repository Info" task.
 
 
<source lang="sql">
 
</source>
 
  
 
* 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].

Revision as of 18:24, 16 January 2014

  • 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 > Crontab, and delete the "Repository Info" task.
  • Enjoy OpenKM 6.4.7!

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