These are the steps in order, i had to make it work
I am upgrading from 6.5.0.6 to 7.0.1 with java17 and spring boot 3.2.x
with this engines disabled
flowable:
dmn:
enabled: false
cmmn:
enabled: false
form:
enabled: false
content:
enabled: false
app:
enabled: false
eventregistry:
enabled: false
First error is from JobDBSchemaManager:
performing upgrade on job with resource org/flowable/job/service/db/upgrade/flowable.oracle.upgradestep.6512.to.6513.job.sql
problem during schema upgrade, statement create table ACT_RU_EXTERNAL_JOB (
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT ID_ NVARCHAR2(64) NOT NULL,
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT REV_ INTEGER,
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT CATEGORY_ NVARCHAR2(255),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT TYPE_ NVARCHAR2(255) NOT NULL,
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT LOCK_EXP_TIME_ TIMESTAMP(6),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT LOCK_OWNER_ NVARCHAR2(255),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT EXCLUSIVE_ NUMBER(1,0) CHECK (EXCLUSIVE_ IN (1,0)),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT EXECUTION_ID_ NVARCHAR2(64),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT PROCESS_INSTANCE_ID_ NVARCHAR2(64),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT PROC_DEF_ID_ NVARCHAR2(64),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT ELEMENT_ID_ NVARCHAR2(255),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT ELEMENT_NAME_ NVARCHAR2(255),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT SCOPE_ID_ NVARCHAR2(255),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT SUB_SCOPE_ID_ NVARCHAR2(255),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT SCOPE_TYPE_ NVARCHAR2(255),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT SCOPE_DEFINITION_ID_ NVARCHAR2(255),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT RETRIES_ INTEGER,
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT EXCEPTION_STACK_ID_ NVARCHAR2(64),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT EXCEPTION_MSG_ NVARCHAR2(2000),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT DUEDATE_ TIMESTAMP(6),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT REPEAT_ NVARCHAR2(255),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT HANDLER_TYPE_ NVARCHAR2(255),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT HANDLER_CFG_ NVARCHAR2(2000),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT CUSTOM_VALUES_ID_ NVARCHAR2(64),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT CREATE_TIME_ TIMESTAMP(6),
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT TENANT_ID_ NVARCHAR2(255) DEFAULT ‘’,
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT primary key (ID_)
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT )
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT java.sql.SQLSyntaxErrorException: ORA-00955: name is already used by an existing object
at
2024-08-16T14:56:09.35-0400 [APP/PROC/WEB/0] OUT at org.flowable.common.engine.impl.db.AbstractSqlScriptBasedDbSchemaManager.executeSchemaResource(AbstractSqlScriptBasedDbSchemaManager.java:325) ~[flowable-engine-common-7.0.1.jar:7.0.1]
at
problem during schema upgrade, statement create index ACT_IDX_EJOB_CUSTOM_VAL_ID on ACT_RU_EXTERNAL_JOB(CUSTOM_VALUES_ID_)
problem during schema upgrade, statement create index ACT_IDX_EJOB_SUB_SCOPE on ACT_RU_EXTERNAL_JOB(SUB_SCOPE_ID_, SCOPE_TYPE_)
problem during schema upgrade, statement create index ACT_IDX_EJOB_SCOPE_DEF on ACT_RU_EXTERNAL_JOB(SCOPE_DEFINITION_ID_, SCOPE_TYPE_)
2024-08-16T14:56:09.53-0400 [APP/PROC/WEB/0] OUT java.sql.SQLSyntaxErrorException: ORA-00955: name is already used by an existing object
So i restarted the service, since it failed , now the error was at o.f.e.impl.db.ProcessDbSchemaManager
problem during schema upgrade, statement create index ACT_IDX_HI_PRO_SUPER_PROCINST on ACT_HI_PROCINST(SUPER_PROCESS_INSTANCE_ID_)
2024-08-16T17:32:04.48-0400 [APP/PROC/WEB/0] OUT java.sql.SQLException: ORA-01408: such column list already indexed
ouldn’t upgrade db schema: create index ACT_IDX_HI_PRO_SUPER_PROCINST on ACT_HI_PROCINST(SUPER_PROCESS_INSTANCE_ID_)
So i restarted again,
this time application started with no errors