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.
12 Replies
Jordan
Jordan4mo ago
I am seeing the same thing I also just updated, I'll let you know if I figure it out!
Prastoin
Prastoin4mo ago
Please try running in your server container
yarn command:prod cache:flush
yarn command:prod cache:flush
Jordan
Jordan4mo 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 GarciasOP4mo ago
try but have same error @prastoin any issue?
Prastoin
Prastoin4mo ago
Hello there, from what version have you been migrating from to 0.54.6 ?
lea
lea4mo ago
also got this migrating from v0.53.8 let me know if there's any more info I can provide
Prastoin
Prastoin4mo ago
Hello @lea sorry was off for a week Are you still facing the issue ?
lea
lea3mo ago
mhm I am
lea
lea3mo ago
think it's related to this issue, https://github.com/twentyhq/twenty/issues/12270
GitHub
WORKSPACE_SCHEMA_NOT_FOUND when updating to v0.54.6 · Issue #12270...
Bug Description After updating to v0.54.6 (commit 5428348) I get an error when trying to log in to my self hosted instance, 2025-05-23T17:28:28.913356506Z TwentyORMException [Error]: Workspace Sche...
Prastoin
Prastoin3mo ago
It seems like this issue is quite blocked, we could plan a call in order to investigate your workspace or if you don't care about the data within it please share a dump of your database so I can debug locally Please let me know @lea
lea
lea3mo ago
I'd be okay with sharing a dump, as long as you agree to keep the data confidential thanks again btw
Prastoin
Prastoin3mo ago
Yes of course, please feel free to dm me

Did you find this page helpful?