Difference between revisions of "Knowledge:Migration from 6.1.1 to 6.2"
From OpenKM Documentation
Line 18: | Line 18: | ||
</source> | </source> | ||
− | * The configuration property '''restrict.file.extension''' has been renamed to '''restrict.file.name'''. | + | * 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> | ||
* Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update''' | * Edit [[OpenKM.cfg]] and set '''hibernate.hbm2ddl''' to '''update''' |
Revision as of 15:46, 25 September 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.