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

From OpenKM Documentation
Jump to: navigation, search
m
 
(4 intermediate revisions by the same user not shown)
Line 16: Line 16:
 
delete from OKM_CONFIG where CFG_KEY='repository.datastore.home';
 
delete from OKM_CONFIG where CFG_KEY='repository.datastore.home';
 
delete from OKM_CONFIG where CFG_KEY='cache.home';
 
delete from OKM_CONFIG where CFG_KEY='cache.home';
 +
</source>
 +
 +
* The configuration property '''restrict.file.extension''' has been renamed to '''restrict.file.name''', so delete the old one to avoid confusion:
 +
 +
<source lang="sql">
 +
delete from OKM_CONFIG where CFG_KEY='restrict.file.extension';
 
</source>
 
</source>
  
Line 33: Line 39:
 
And start Tomcat again.
 
And start Tomcat again.
  
[[Category: Migration Guide]]
+
IF you have problems with the applets (Scanner, Uploader, etc.) please follow [http://www.java.com/en/download/help/plugin_cache.xml these instructions to clear the Java Plugin cache].

Latest revision as of 10:21, 6 October 2012

  • Make a backup!!!
  • Stop Tomcat
  • These configuration properties have been removed from administration (or changed) and need to be configured from OpenKM.cfg
hibernate.search.index.home
repository.datastore.home
repository.cache.home (was "cache.home")
  • So you can delete the with these queries to avoid confusion:
delete from OKM_CONFIG where CFG_KEY='repository.datastore.home';
delete from OKM_CONFIG where CFG_KEY='cache.home';
  • The configuration property restrict.file.extension has been renamed to restrict.file.name, so delete the old one to avoid confusion:
delete from OKM_CONFIG where CFG_KEY='restrict.file.extension';
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to update
  • Replace the OpenKM.war
  • Start Tomcat again
  • Enjoy OpenKM 6.2!

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.

IF you have problems with the applets (Scanner, Uploader, etc.) please follow these instructions to clear the Java Plugin cache.