Pastebin
Paste #27863: No description
< previous paste - next paste>
Pasted by Anonymous Coward
Nest] 96 - 03/17/2025, 10:02:10 AM LOG [UpgradeTo0_41Command] Running command to upgrade to 0.41
[Nest] 96 - 03/17/2025, 10:02:10 AM LOG [RemoveDuplicateMcmasCommand] Removing duplicate mcmas for workspace: e18ca250-01de-47bb-9cf5-aca66cfda693
[Nest] 96 - 03/17/2025, 10:02:10 AM LOG [WorkspaceMetadataCacheService:recomputeMetadataCache] Execution time: 663.04ms
[Nest] 96 - 03/17/2025, 10:02:10 AM ERROR [RemoveDuplicateMcmasCommand] Error removing duplicate mcmas for workspace e18ca250-01de-47bb-9cf5-aca66cfda693: Error: Metadata version not found for workspace e18ca250-01de-47bb-9cf5-aca66cfda693
[Nest] 96 - 03/17/2025, 10:02:10 AM LOG [AddContextToActorCompositeTypeCommand] Running add-context-to-actor-composite-type command
[Nest] 96 - 03/17/2025, 10:02:10 AM LOG [WorkspaceDatasourceFactory] Creating workspace data source for workspace e18ca250-01de-47bb-9cf5-aca66cfda693 and metadata version 6
[Nest] 96 - 03/17/2025, 10:02:16 AM LOG [WorkspaceMetadataCacheService:recomputeMetadataCache] Execution time: 5132.27ms
[Nest] 96 - 03/17/2025, 10:02:16 AM LOG [WorkspaceMetadataVersionService:incrementMetadataVersion] Execution time: 5159.10ms
[Nest] 96 - 03/17/2025, 10:02:16 AM LOG [SyncWorkspaceMetadataCommand] Attempting to sync 1 workspaces.
[Nest] 96 - 03/17/2025, 10:02:16 AM LOG [SyncWorkspaceMetadataCommand] Running workspace sync for workspace: e18ca250-01de-47bb-9cf5-aca66cfda693 (1 out of 1)
[Nest] 96 - 03/17/2025, 10:02:16 AM LOG [WorkspaceSyncMetadataService] Syncing standard objects and fields metadata
[Nest] 96 - 03/17/2025, 10:02:16 AM LOG [WorkspaceSyncMetadataService] Syncing standard objects and fields metadata
[Nest] 96 - 03/17/2025, 10:02:16 AM LOG [WorkspaceSyncObjectMetadataService] Comparing standard objects and fields metadata
[Nest] 96 - 03/17/2025, 10:02:16 AM LOG [WorkspaceSyncObjectMetadataService] Updating workspace metadata
[Nest] 96 - 03/17/2025, 10:02:16 AM LOG [WorkspaceSyncObjectMetadataService] Generating migrations
[Nest] 96 - 03/17/2025, 10:02:16 AM LOG [WorkspaceSyncObjectMetadataService] Saving migrations
[Nest] 96 - 03/17/2025, 10:02:16 AM LOG [WorkspaceSyncFieldMetadataService] Updating workspace metadata
[Nest] 96 - 03/17/2025, 10:02:16 AM LOG [WorkspaceSyncFieldMetadataService] Generating migrations
[Nest] 96 - 03/17/2025, 10:02:16 AM LOG [WorkspaceSyncFieldMetadataService] Saving migrations
[Nest] 96 - 03/17/2025, 10:02:17 AM LOG [WorkspaceSyncIndexMetadataService] Syncing index metadata
[Nest] 96 - 03/17/2025, 10:02:18 AM LOG [WorkspaceSyncMetadataService] Executing pending migrations
Error executing migration TypeORMError: Column "bodyV2" was not found in table "workspace_dcpkptm4ed4pf267z0tmx2snn.note"
at PostgresQueryRunner.dropColumn (/app/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:1120:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async WorkspaceMigrationRunnerService.handleColumnChanges (/app/packages/twenty-server/dist/src/engine/workspace-manager/workspace-migration-runner/workspace-migration-runner.service.js:211:21)
at async WorkspaceMigrationRunnerService.handleTableChanges (/app/packages/twenty-server/dist/src/engine/workspace-manager/workspace-migration-runner/workspace-migration-runner.service.js:94:25)
at async WorkspaceMigrationRunnerService.executeMigrationFromPendingMigrations (/app/packages/twenty-server/dist/src/engine/workspace-manager/workspace-migration-runner/workspace-migration-runner.service.js:60:17)
at async WorkspaceSyncMetadataService.synchronize (/app/packages/twenty-server/dist/src/engine/workspace-manager/workspace-sync-metadata/workspace-sync-metadata.service.js:92:13)
at async SyncWorkspaceMetadataCommand.executeActiveWorkspacesCommand (/app/packages/twenty-server/dist/src/engine/workspace-manager/workspace-sync-metadata/commands/sync-workspace-metadata.command.js:64:58)
at async UpgradeTo0_41Command.executeActiveWorkspacesCommand (/app/packages/twenty-server/dist/src/database/commands/upgrade-version/0-41/0-41-upgrade-version.command.js:40:9)
at async UpgradeTo0_41Command.executeBaseCommand (/app/packages/twenty-server/dist/src/database/commands/active-workspaces.command.js:65:9)
at async UpgradeTo0_41Command.run (/app/packages/twenty-server/dist/src/database/commands/base.command.js:43:13)
[Nest] 96 - 03/17/2025, 10:02:18 AM ERROR [WorkspaceSyncMetadataService] Sync of standard objects failed with:
[Nest] 96 - 03/17/2025, 10:02:18 AM ERROR [WorkspaceSyncMetadataService] TypeORMError: Column "bodyV2" was not found in table "workspace_dcpkptm4ed4pf267z0tmx2snn.note"
[Nest] 96 - 03/17/2025, 10:02:19 AM LOG [WorkspaceMetadataCacheService:recomputeMetadataCache] Execution time: 632.89ms
[Nest] 96 - 03/17/2025, 10:02:19 AM LOG [WorkspaceMetadataVersionService:incrementMetadataVersion] Execution time: 649.36ms
[Nest] 96 - 03/17/2025, 10:02:19 AM LOG [SyncWorkspaceMetadataCommand] Finished synchronizing all active workspaces (1 workspaces). Errors during sync:
Failed to synchronize workspace e18ca250-01de-47bb-9cf5-aca66cfda693: Transaction is not started yet, start transaction before committing or rolling it back.
[Nest] 96 - 03/17/2025, 10:02:19 AM LOG [SeedWorkflowViewsCommand] Seeding workflow views for workspace: e18ca250-01de-47bb-9cf5-aca66cfda693
New Paste
Go to most recent paste.