Difference between revisions of "Knowledge:Migration from 6.1.1 to 6.2"
From OpenKM Documentation
(5 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
* Stop Tomcat | * Stop Tomcat | ||
− | * These configuration properties have been removed from administration and need to be configured from OpenKM.cfg | + | * These configuration properties have been removed from administration (or changed) and need to be configured from OpenKM.cfg |
<source lang="java"> | <source lang="java"> | ||
hibernate.search.index.home | hibernate.search.index.home | ||
repository.datastore.home | repository.datastore.home | ||
− | repository.cache.home | + | repository.cache.home (was "cache.home") |
</source> | </source> | ||
− | * So you can delete the with these queries: | + | * So you can delete the with these queries to avoid confusion: |
<source lang="sql"> | <source lang="sql"> | ||
− | |||
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=' | + | 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 34: | Line 39: | ||
And start Tomcat again. | And start Tomcat again. | ||
− | [ | + | 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 09: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.