@abuaboud upgrading to 0.73.0-rc.1 didn’t resolve the issue. After the upgrade, the server fails to restart and shows the following error in the logs:
ry":"\n ALTER TABLE \"flow_run\" DROP COLUMN \"tasks\"\n ","driverError":{"type":"DatabaseError","message":"column \"tasks\" of relation \"flow_run\" does not exist","stack":"error: column \"tasks\" of relation \"flow_run\" does not exist\n at /usr/src/app/dist/packages/server/api/node_modules/pg/lib/client.js:526:17\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async PostgresQueryRunner.query (/usr/src/app/dist/packages/server/api/node_modules/typeorm/driver/src/driver/postgres/PostgresQueryRunner.ts:254:25)\n at async UnifyCommunityWithEnterprise1764567780604.up (/usr/src/app/packages/server/api/src/app/database/migration/postgres/1764567780604-UnifyCommunityWithEnterprise.ts:285:9)\n at async MigrationExecutor.executePendingMigrations (/usr/src/app/dist/packages/server/api/node_modules/typeorm/migration/src/migration/MigrationExecutor.ts:336:17)\n at async DataSource.runMigrations (/usr/src/app/dist/packages/server/api/node_modules/typeorm/data-source/src/data-source/DataSource.ts:404:13)\n at async DataSource.initialize (/usr/src/app/dist/packages/server/api/node_modules/typeorm/data-source/src/data-source/DataSource.ts:273:17)\n at async initializeDatabase (/usr/src/app/packages/server/api/src/app/database/index.ts:5:5)\n at async Redlock.using (/usr/src/app/dist/packages/server/api/node_modules/redlock/src/index.ts:742:14)\n at async main (/usr/src/app/packages/server/api/src/main.ts:61:9)","length":117,"name":"error","severity":"ERROR","code":"42703","file":"tablecmds.c","line":"9012","routine":"ATExecDropColumn"},"length":117,"severity":"ERROR","code":"42703","file":"tablecmds.c","line":"9012","routine":"ATExecDropColumn"},"msg":"[Main#main]"}
2025-12-07T12:06:58.572071026Z AP_APP_TITLE: Activepieces
2025-12-07T12:06:58.572086266Z AP_FAVICON_URL: https://cdn.activepieces.com/brand/favicon.ico
2025-12-07T12:06:58.574842514Z Starting backend server with Node.js (WORKER mode or default)
2025-12-07T12:07:04.196965974Z Migration "UnifyCommunityWithEnterprise1764567780604" failed, error: column "tasks" of relation "flow_run" does not exist
2025-12-07T12:07:04.762183822Z {"level":50,"time":1765109224199,"pid":10,"hostname":"54d19a3756a6","err":{"type":"QueryFailedError","message":"column \"tasks\" of relation \"flow_run\" does not exist","stack":"QueryFailedError: column \"tasks\" of relation \"flow_run\" does not exist\n at PostgresQueryRunner.query (/usr/src/app/dist/packages/server/api/node_modules/typeorm/driver/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async UnifyCommunityWithEnterprise1764567780604.up (/usr/src/app/packages/server/api/src/app/database/migration/postgres/1764567780604-UnifyCommunityWithEnterprise.ts:285:9)\n at async MigrationExecutor.executePendingMigrations (/usr/src/app/dist/packages/server/api/node_modules/typeorm/migration/src/migration/MigrationExecutor.ts:336:17)\n at async DataSource.runMigrations (/usr/src/app/dist/packages/server/api/node_modules/typeorm/data-source/src/data-source/DataSource.ts:404:13)\n at async DataSource.initialize (/usr/src/app/dist/packages/server/api/node_modules/typeorm/data-source/src/data-source/DataSource.ts:273:17)\n at async initializeDatabase (/usr/src/app/packages/server/api/src/app/database/index.ts:5:5)\n at async Redlock.using (/usr/src/app/dist/packages/server/api/node_modules/redlock/src/index.ts:742:14)\n at async main (/usr/src/app/packages/server/api/src/main.ts:61:9)","query":"\n ALTER TABLE \"flow_run\" DROP COLUMN \"tasks\"\n ","driverError":{"type":"DatabaseError","message":"column \"tasks\" of relation \"flow_run\" does not exist","stack":"error: column \"tasks\" of relation \"flow_run\" does not exist\n at /usr/src/app/dist/packages/server/api/node_modules/pg/lib/client.js:526:17\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async PostgresQueryRunner.query (/usr/src/app/dist/packages/server/api/node_modules/typeorm/driver/src/driver/postgres/PostgresQueryRunner.ts:254:25)\n at async UnifyCommunityWithEnterprise1764567780604.up (/usr/src/app/packages/server/api/src/app/database/migration/postgres/1764567780604-UnifyCommunityWithEnterprise.ts:285:9)\n at async MigrationExecutor.executePendingMigrations (/usr/src/app/dist/packages/server/api/node_modules/typeorm/migration/src/migration/MigrationExecutor.ts:336:17)\n at async DataSource.runMigrations (/usr/src/app/dist/packages/server/api/node_modules/typeorm/data-source/src/data-source/DataSource.ts:404:13)\n at async DataSource.initialize (/usr/src/app/dist/packages/server/api/node_modules/typeorm/data-source/src/data-source/DataSource.ts:273:17)\n at async initializeDatabase (/usr/src/app/packages/server/api/src/app/database/index.ts:5:5)\n at async Redlock.using (/usr/src/app/dist/packages/server/api/node_modules/redlock/src/index.ts:742:14)\n at async main (/usr/src/app/packages/server/api/src/main.ts:61:9)","length":117,"name":"error","severity":"ERROR","code":"42703","file":"tablecmds.c","line":"9012","routine":"ATExecDropColumn"},"length":117,"severity":"ERROR","code":"42703","file":"tablecmds.c","line":"9012","routine":"ATExecDropColumn"},"msg":"[Main#main]"}
2025-12-07T12:08:05.025692092Z AP_APP_TITLE: Activepieces
2025-12-07T12:08:05.025714652Z AP_FAVICON_URL: https://cdn.activepieces.com/brand/favicon.ico
2025-12-07T12:08:05.028290500Z Starting backend server with Node.js (WORKER mode or default)