# Upgrading from 6.3.0.1 to 6.5.0.6 failing

**URL:** <https://forum.flowable.org/t/upgrading-from-6-3-0-1-to-6-5-0-6-failing/6668>\
**Category:** Flowable Engine\
**Created:** [September 4, 2020, 11:44am UTC](https://forum.flowable.org/t/upgrading-from-6-3-0-1-to-6-5-0-6-failing/6668 "2020-09-04T11:44:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![khushboo](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@khushboo](https://forum.flowable.org/u/khushboo)\
**Post date:** [September 4, 2020, 11:44am UTC](https://forum.flowable.org/t/upgrading-from-6-3-0-1-to-6-5-0-6-failing/6668/1 "2020-09-04T11:44:07Z")

</div>

I am trying to upgrade flowable engine from 6.3.0.1 to 6.5.0.6.

It is throwing below exception-

[org.flowable.common.engine.impl.interceptor.CommandContext]- Error while closing command context org.apache.ibatis.exceptions.PersistenceException:  
Error querying database. Cause: org.postgresql.util.PSQLException: ERROR: relation “flw\_channel\_definition” does not exist  
Position: 33  
The error may exist in org/flowable/eventregistry/db/mapping/entity/ChannelDefinition.xml  
The error may involve org.flowable.eventregistry.impl.persistence.entity.ChannelDefinitionEntityImpl.selectChannelDefinitionsByQueryCriteria-Inline  
The error occurred while setting parameters  
SQL: select RES.\* from FLW\_CHANNEL\_DEFINITION RES WHERE RES.VERSION\_ = (select max(VERSION\_) from FLW\_CHANNEL\_DEFINITION where KEY\_ = RES.KEY\_ and ( (TENANT\_ID\_ IS NOT NULL and TENANT\_ID\_ = RES.TENANT\_ID\_) or (TENANT\_ID\_ IS NULL and RES.TENANT\_ID\_ IS NULL) ) ) order by RES.ID\_ asc  
Cause: org.postgresql.util.PSQLException: ERROR: relation “flw\_channel\_definition” does not exist  
Position: 33  
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)  
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:149)  
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)  
at org.flowable.common.engine.impl.db.DbSqlSession.selectListWithRawParameter(DbSqlSession.java:269)  
at org.flowable.common.engine.impl.db.DbSqlSession.selectListWithRawParameter(DbSqlSession.java:234)  
at org.flowable.common.engine.impl.db.DbSqlSession.selectList(DbSqlSession.java:158)  
at org.flowable.eventregistry.impl.persistence.entity.data.impl.MybatisChannelDefinitionDataManager.findChannelDefinitionsByQueryCriteria(MybatisChannelDefinitionDataManager.java:82)  
at org.flowable.eventregistry.impl.persistence.entity.ChannelDefinitionEntityManagerImpl.findChannelDefinitionsByQueryCriteria(ChannelDefinitionEntityManagerImpl.java:49)  
at org.flowable.eventregistry.impl.ChannelDefinitionQueryImpl.executeList(ChannelDefinitionQueryImpl.java:319)  
at org.flowable.common.engine.impl.query.AbstractQuery.execute(AbstractQuery.java:153)  
at org.flowable.common.engine.impl.interceptor.DefaultCommandInvoker.execute(DefaultCommandInvoker.java:22)  
at org.flowable.common.engine.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:53)  
at org.flowable.common.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:72)  
at org.flowable.common.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)  
at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:56)  
at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:51)  
at org.flowable.common.engine.impl.query.AbstractQuery.list(AbstractQuery.java:117)  
at org.flowable.eventregistry.impl.EventRegistryEngineImpl.handleDeployedChannelDefinitions(EventRegistryEngineImpl.java:68)  
at org.flowable.eventregistry.impl.EventRegistryEngineConfiguration.buildEventRegistryEngine(EventRegistryEngineConfiguration.java:193)  
at org.flowable.eventregistry.impl.configurator.EventRegistryEngineConfigurator.initEventRegistryEngine(EventRegistryEngineConfigurator.java:87)  
at org.flowable.eventregistry.impl.configurator.EventRegistryEngineConfigurator.configure(EventRegistryEngineConfigurator.java:64)  
at org.flowable.common.engine.impl.AbstractEngineConfiguration.configuratorsAfterInit(AbstractEngineConfiguration.java:1006)  
at org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl.init(ProcessEngineConfigurationImpl.java:1065)  
at org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:957)  
at org.flowable.spring.SpringProcessEngineConfiguration.buildProcessEngine(SpringProcessEngineConfiguration.java:73)

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [September 7, 2020, 11:52am UTC](https://forum.flowable.org/t/upgrading-from-6-3-0-1-to-6-5-0-6-failing/6668/2 "2020-09-07T11:52:19Z")

</div>

How did you build that version? That’s not an officially released version (which is 6.5.0).

---

<div class="post-metadata">

**Author:** ![khushboo](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@khushboo](https://forum.flowable.org/u/khushboo)\
**Post date:** [September 7, 2020, 12:06pm UTC](https://forum.flowable.org/t/upgrading-from-6-3-0-1-to-6-5-0-6-failing/6668/3 "2020-09-07T12:06:58Z")

</div>

Sorry for confusion here, I am referring to schema version here.  
I downloaded jar from [https://github.com/flowable/flowable-engine/releases](https://github.com/flowable/flowable-engine/releases), which has schema version as 6.5.0.6

---

<div class="post-metadata">

**Author:** ![khushboo](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@khushboo](https://forum.flowable.org/u/khushboo)\
**Post date:** [September 9, 2020, 2:17pm UTC](https://forum.flowable.org/t/upgrading-from-6-3-0-1-to-6-5-0-6-failing/6668/7 "2020-09-09T14:17:54Z")

</div>

solved by setting disableEventRegistry=true
