Difference between revisions of "Knowledge:Migration from 6.2.7 to 6.2.8"

From OpenKM Documentation
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
* See [http://issues.openkm.com/changelog_page.php?version_id=62 changelog at Mantis]
 
* See [http://issues.openkm.com/changelog_page.php?version_id=62 changelog at Mantis]
  
* Download update from http://openkm.com/download/okm/OpenKM-6.2.8.zip (password eMpg8eIjY5)
+
* Download update from http://openkm.com/download/okm/OpenKM-6.2.8.zip (eMpg8eIjY5)
  
 
* Make a backup!!!
 
* Make a backup!!!
Line 9: Line 9:
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update'''
 
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update'''
  
* Run from your preferred SQL client these queries:
+
* Replace the OpenKM.war
  
'''MySQL'''
+
* Start Tomcat again
<source lang="sql">
+
 
alter table OKM_PENDING_TASK change PTK_PARAM PTK_PARAMS varchar(512);
+
* Check for database errors:
 +
 
 +
<source lang="bash">
 +
$ grep "ERROR .*hbm2ddl" $TOMCAT_HOME/logs/catalina.log
 
</source>
 
</source>
  
* Replace the OpenKM.war
+
* Set installation customer at [http://update.openkm.com/admin/license_list.php License Manager].
 +
 
 +
* Review file descriptor limit and, eventually, [http://okm07.openkmcloud.com/OpenKM/index.jsp?docPath=%2Fokm%3Aroot%2FKnowledge+Base%2FSet+ulimit+in+Ubuntu.html increase it].
  
 
* Enjoy OpenKM 6.2.8!
 
* Enjoy OpenKM 6.2.8!

Latest revision as of 11:52, 24 January 2013

  • Make a backup!!!
  • Stop Tomcat
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to update
  • Replace the OpenKM.war
  • Start Tomcat again
  • Check for database errors:
$ grep "ERROR .*hbm2ddl" $TOMCAT_HOME/logs/catalina.log
  • Review file descriptor limit and, eventually, increase it.
  • Enjoy OpenKM 6.2.8!

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