TwentyT
Twenty2y ago
4 replies
thilles

upgrade from 0.11.2 to 0.12.1

Are there any breaking changes stopping from upgrading 0.11.2 -> 0.12.x

When I try the usual routine in dev, i.e.

1. update containers using TAG=0.12.1
2. upgrading core and metadata schemas yarn database:migrate:prod
3. check workspace health yarn command:prod workspace:health -w <workspaceid>

the healthcheck finds 5 issues.
[Nest] 50 - 05/28/2024, 7:52:38 PM LOG [WorkspaceHealthCommand] Workspace is not healthy, found 5 issues

Trying step 4 migrating to the latest version yarn command:prod workspace:sync-metadata -w <workspaceid> -f then failes with some type errors, and finishes with this

` [Nest] 384 - 05/28/2024, 7:51:39 PM ERROR [TransactionNotStartedError] Transaction is not started yet, start transaction before committing or rolling it back. Exception Captured undefined [ TransactionNotStartedError: Transaction is not started yet, start transaction before committing or rolling it back. at PostgresQueryRunner.rollbackTransaction (/app/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:159:19) at WorkspaceSyncMetadataService.synchronize (/app/packages/twenty-server/dist/src/engine/workspace-manager/workspace-sync-metadata/workspace-sync-metadata.service.js:86:31) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async SyncWorkspaceMetadataCommand.run (/app/packages/twenty-server/dist/src/engine/workspace-manager/workspace-sync-metadata/commands/sync-workspace-metadata.command.js:52:54) at async Command.<anonymous> (/app/node_modules/nest-commander/src/command-runner.service.js:156:24) at async Command.parseAsync (/app/node_modules/commander/lib/command.js:936:5) at async CommandRunnerService.run (/app/node_modules/nest-commander/src/command-runner.service.js:196:9) at async CommandFactory.runApplication (/app/node_modules/nest-commander/src/command.factory.js:37:9) at async bootstrap (/app/packages/twenty-server/dist/src/command/command.js:29:5) ]
Skjermbilde_2024-05-28_kl._21.57.25.png
Was this page helpful?