Difference between revisions of "Knowledge:Migration from 6.2 to 6.2.1"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '* 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 que…')
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
* See [http://issues.openkm.com/changelog_page.php?version_id=50 changelog at Mantis]
 +
 
* Make a backup!!!
 
* Make a backup!!!
  
Line 7: Line 9:
 
* Replace the OpenKM.war
 
* Replace the OpenKM.war
  
* Run from your preferred SQL client these queries:
+
* '''If using Oracle''', run from your preferred SQL client these queries:
  
 
<source lang="sql">
 
<source lang="sql">
alter table OKM_NODE_DOCUMENT modify (NDC_TEXT CLOB)
+
ALTER TABLE OKM_ACTIVITY MODIFY (ACT_PATH CLOB);
 +
ALTER TABLE OKM_AUTO_ACTION_PARAMS MODIFY (AAP_PARAM CLOB);
 +
ALTER TABLE OKM_CONFIG MODIFY (CFG_VALUE CLOB);
 +
ALTER TABLE OKM_MIME_TYPE MODIFY (MT_IMAGE_CONTENT CLOB);
 +
ALTER TABLE OKM_NODE_DOCUMENT MODIFY (NDC_TEXT CLOB);
 +
ALTER TABLE OKM_WIKI_PAGE MODIFY (WKP_CONTENT CLOB);
 
</source>
 
</source>
  
Line 23: Line 30:
  
 
And start Tomcat again.
 
And start Tomcat again.
 +
 +
{{Note|Recommended to clear browser cache and [http://www.java.com/en/download/help/plugin_cache.xml Java Plugin cache]}}
  
 
{{Note|Property Group section from the export metadata has been modified a bit. The "type" property has changed from Integer to String.}}
 
{{Note|Property Group section from the export metadata has been modified a bit. The "type" property has changed from Integer to String.}}
 
[[Category: Migration Guide]]
 

Latest revision as of 15:18, 10 October 2012

  • Make a backup!!!
  • Stop Tomcat
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to update
  • Replace the OpenKM.war
  • If using Oracle, run from your preferred SQL client these queries:
ALTER TABLE OKM_ACTIVITY MODIFY (ACT_PATH CLOB);
ALTER TABLE OKM_AUTO_ACTION_PARAMS MODIFY (AAP_PARAM CLOB);
ALTER TABLE OKM_CONFIG MODIFY (CFG_VALUE CLOB);
ALTER TABLE OKM_MIME_TYPE MODIFY (MT_IMAGE_CONTENT CLOB);
ALTER TABLE OKM_NODE_DOCUMENT MODIFY (NDC_TEXT CLOB);
ALTER TABLE OKM_WIKI_PAGE MODIFY (WKP_CONTENT CLOB);
  • Start Tomcat again
  • Enjoy OpenKM 6.2.1!

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


Nota clasica.png Property Group section from the export metadata has been modified a bit. The "type" property has changed from Integer to String.