Difference between revisions of "Knowledge:Migration from 6.2.4 to 6.2.5"

From OpenKM Documentation
Jump to: navigation, search
Line 18: Line 18:
  
 
* Go to '''Administration''' > '''Database Query''' and execute:
 
* Go to '''Administration''' > '''Database Query''' and execute:
 +
Register new automation and select available which have '''okm:folder''' should be 4 ( otherside there's some problem )
 
<source lang="sql">
 
<source lang="sql">
 +
INSERT INTO OKM_AUTO_METADATA (AMD_AT, AMD_CLASS_NAME, AMD_NAME, AMD_GROUP, AMD_TYPE00, AMD_SRC00, AMD_DESC00, AMD_TYPE01, AMD_SRC01, AMD_DESC01 ) VALUES ('post','com.openkm.automation.validation.HasCategory', 'HasCategory', 'validation', 'text', 'okm:folder', 'String', '', '', '');
 +
SELECT * FROM OKM_AUTO_METADATA where AMD_SRC00='okm:folder';
 
</source>
 
</source>
  

Revision as of 13:19, 16 November 2012

  • Make a backup!!!
  • Stop Tomcat
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to update
  • Replace the OpenKM.war
  • Review file descriptor limit and, eventually, increase it.
  • Start Tomcat again
  • Go to Administration > Database Query and execute:

Register new automation and select available which have okm:folder should be 4 ( otherside there's some problem )

INSERT INTO OKM_AUTO_METADATA (AMD_AT, AMD_CLASS_NAME, AMD_NAME, AMD_GROUP, AMD_TYPE00, AMD_SRC00, AMD_DESC00, AMD_TYPE01, AMD_SRC01, AMD_DESC01 ) VALUES ('post','com.openkm.automation.validation.HasCategory', 'HasCategory', 'validation', 'text', 'okm:folder', 'String', '', '', '');
SELECT * FROM OKM_AUTO_METADATA where AMD_SRC00='okm:folder';
  • Go to Administration > Utilities > Cache Stats and reset the cache identified as xx.xx.xx.
  • Enjoy OpenKM 6.2.5!

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 (prevents "The response could not be deserialized" errors) and Java Plugin cache