Migrating from 6.3.4 to 6.3.5

Preliminars

  • Make a backup!!!

Migration

  • Stop Tomcat
  • Edit OpenKM.cfg and set hibernate.hbm2ddl to update
  • Replace the OpenKM.war
  • And start Tomcat again
  • Go to Administration > Scripting execute
import com.openkm.core.DatabaseException;
import com.openkm.dao.bean.CronTab;
import com.openkm.dao.CronTabDAO;
static final String MAIL = "noreply@openkm.com"; try {     for (CronTab ct : CronTabDAO.findAll()) {         if (ct.getMail().equals(MAIL)) {             ct.setMail("");             CronTabDAO.update(ct);         }     } } catch (Exception e) { print("Exception: " + e); }

If you have any weird problem try to stop Tomcat, delete these folders:

  • $TOMCAT_HOME/webapps/OpenKM
  • $TOMCAT_HOME/work/Catalina/localhost

Recommended to clear browser cache and Java Plugin cache.