Difference between revisions of "Migrating from 6.3 to 6.3.1"

From OpenKM Documentation
Jump to: navigation, search
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Warning|Still under development.}}
 
 
 
* Make a backup!!!
 
* Make a backup!!!
  
Line 13: Line 11:
 
<source lang="sql">
 
<source lang="sql">
 
delete from OKM_CONFIG where CFG_KEY='system.ghostscript.ps2pdf';
 
delete from OKM_CONFIG where CFG_KEY='system.ghostscript.ps2pdf';
 +
update OKM_CONFIG set CFG_VALUE='OpenKM - NOTIFICATION' where CFG_KEY='notification.message.subject';
 +
update OKM_CONFIG set CFG_VALUE='Message: ${notificationMessage} User: ${userId} <#list documentList as doc>Document: ${doc.path}</#list>' where CFG_KEY='notification.message.body';
 
</source>
 
</source>
  

Latest revision as of 08:04, 19 October 2016

  • Make a backup!!!
  • Stop Tomcat
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to update
  • Replace the OpenKM.war
  • Execute these queries:
delete from OKM_CONFIG where CFG_KEY='system.ghostscript.ps2pdf';
update OKM_CONFIG set CFG_VALUE='OpenKM - NOTIFICATION' where CFG_KEY='notification.message.subject';
update OKM_CONFIG set CFG_VALUE='Message: ${notificationMessage} User: ${userId} <#list documentList as doc>Document: ${doc.path}</#list>' where CFG_KEY='notification.message.body';

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