Difference between revisions of "Migrating from 6.2.3 to 6.2.4"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '{{Note|OpenKM 6.2.4 Community is currently under development.}} * Make a backup!!! * Stop Tomcat * Edit OpenKM.cfg and set '''hibernate.hbm2ddl''' to '''update''' * Repla…')
 
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Note|OpenKM 6.2.4 Community is currently under development.}}
 
 
 
* Make a backup!!!
 
* Make a backup!!!
  
Line 11: Line 9:
 
* Run from your preferred SQL client these queries:
 
* Run from your preferred SQL client these queries:
  
'''HSQL'''
 
 
<source lang="sql">
 
<source lang="sql">
 +
DROP TABLE OKM_OMR_PROPERTY:
 +
DROP TABLE OKM_OMR;
 
</source>
 
</source>
  
'''MySQL'''
+
* Start Tomcat again
 +
 
 +
* Go to Administration > Database Query, and remove obsolete configuration properties:
 +
 
 
<source lang="sql">
 
<source lang="sql">
 +
delete from OKM_CONFIG where CFG_KEY='kea.model.file';
 +
delete from OKM_CONFIG where CFG_KEY='kea.stopwords.file';
 +
delete from OKM_CONFIG where CFG_KEY='kea.automatic.keyword.extraction.number';
 +
delete from OKM_CONFIG where CFG_KEY='kea.automatic.keyword.extraction.restriction';
 
</source>
 
</source>
 
* Start Tomcat again
 
  
 
* Enjoy OpenKM 6.2.4!
 
* Enjoy OpenKM 6.2.4!

Latest revision as of 12:50, 25 January 2014

  • Make a backup!!!
  • Stop Tomcat
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to update
  • Replace the OpenKM.war
  • Run from your preferred SQL client these queries:
DROP TABLE OKM_OMR_PROPERTY:
DROP TABLE OKM_OMR;
  • Start Tomcat again
  • Go to Administration > Database Query, and remove obsolete configuration properties:
delete from OKM_CONFIG where CFG_KEY='kea.model.file';
delete from OKM_CONFIG where CFG_KEY='kea.stopwords.file';
delete from OKM_CONFIG where CFG_KEY='kea.automatic.keyword.extraction.number';
delete from OKM_CONFIG where CFG_KEY='kea.automatic.keyword.extraction.restriction';
  • Enjoy OpenKM 6.2.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