Workspace Schema not found

I try to upgrade for v0.54.6 But have this error when make login: 2025-05-23T17:28:28.913356506Z TwentyORMException [Error]: Workspace Schema not found for workspace 99449ada-8490-4ee4-8bca-ab947cb1c015 2025-05-23T17:28:28.913359686Z at /app/packages/twenty-server/dist/src/engine/twenty-orm/factories/workspace-datasource.factory.js:79:23 2025-05-23T17:28:28.913368536Z at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2025-05-23T17:28:28.913373686Z at async /app/packages/twenty-server/dist/src/engine/twenty-orm/storage/promise-memoizer.storage.js:29:31 2025-05-23T17:28:28.913378786Z at async WorkspaceDatasourceFactory.create (/app/packages/twenty-server/dist/src/engine/twenty-orm/factories/workspace-datasource.factory.js:76:37) 2025-05-23T17:28:28.913382066Z at async TwentyORMGlobalManager.getRepositoryForWorkspace (/app/packages/twenty-server/dist/src/engine/twenty-orm/twenty-orm-global.manager.js:34:37) 2025-05-23T17:28:28.913385546Z at async AccessTokenService.generateAccessToken (/app/packages/twenty-server/dist/src/engine/core-modules/auth/token/services/access-token.service.js:64:47) 2025-05-23T17:28:28.913410286Z at async AuthService.verify (/app/packages/twenty-server/dist/src/engine/core-modules/auth/services/auth.service.js:154:29) 2025-05-23T17:28:28.913423336Z at async AuthResolver.getAuthTokensFromLoginToken (/app/packages/twenty-server/dist/src/engine/core-modules/auth/auth.resolver.js:208:16) { 2025-05-23T17:28:28.913426496Z code: 'WORKSPACE_SCHEMA_NOT_FOUND', 2025-05-23T17:28:28.913429326Z extensions: {} 2025-05-23T17:28:28.913432106Z } 2025-05-23T17:28:28.913434736Z ] Try a lot of commands: yarn command:prod upgrade:0-52:migrate-relations-t o-field-metadata yarn command:prod upgrade And still have same error, can anyone help me? Thanks a lot.
6 Replies
Jordan
Jordan2w ago
I am seeing the same thing I also just updated, I'll let you know if I figure it out!
Prastoin
Prastoin2w ago
Please try running in your server container
yarn command:prod cache:flush
yarn command:prod cache:flush
Jordan
Jordan2w ago
@prastoin just tried that and I'm still seeing the same error ERROR [ExceptionsHandler] Workspace Schema not found for workspace f4ac4bc2-3f8e-468b-bc2c-fcbff2abcd8f
Pedro Garcias
Pedro GarciasOP2w ago
try but have same error @prastoin any issue?
Prastoin
Prastoin2w ago
Hello there, from what version have you beend migrating from to 0.54.6 ?
lea
lea4d ago
also got this migrating from v0.53.8 let me know if there's any more info I can provide

Did you find this page helpful?