Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When moving to a new redis instance i got : Metadata version not found for workspace x #11313

Open
grinono opened this issue Apr 1, 2025 · 1 comment
Assignees

Comments

@grinono
Copy link

grinono commented Apr 1, 2025

I moved to a new empty Redis instance, but that breaks any access.

I got the error Metadata version not found for workspace

how to resolve that. i tried running

yarn command:prod cache:flush

and some migration scripts. But nothing seems to fix it.

        at new BaseGraphQLError (/app/packages/twenty-server/dist/src/engine/core-modules/graphql/utils/graphql-errors.util.js:86:9)
        at generateGraphQLErrorFromError (/app/packages/twenty-server/dist/src/engine/core-modules/graphql/utils/generate-graphql-error-from-error.util.js:14:26)
        at /app/packages/twenty-server/dist/src/engine/core-modules/graphql/hooks/use-graphql-error-handler.hook.js:38:194
        at Array.map (<anonymous>)
        at handleResult (/app/packages/twenty-server/dist/src/engine/core-modules/graphql/hooks/use-graphql-error-handler.hook.js:36:66)
        at handleStreamOrSingleExecutionResult (/app/node_modules/@envelop/core/cjs/utils.js:113:5)
        at onExecuteDone (/app/packages/twenty-server/dist/src/engine/core-modules/graphql/hooks/use-graphql-error-handler.hook.js:73:74)
        at /app/node_modules/@envelop/core/cjs/orchestrator.js:391:42
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async YogaServer.getResultForParams (/app/node_modules/graphql-yoga/cjs/server.js:304:26) {
      path: undefined,
      locations: undefined,
      extensions: { code: 'INTERNAL_SERVER_ERROR' }
    }
@Weiko
Copy link
Member

Weiko commented Apr 3, 2025

Hi @grinono
try yarn command:prod workspace:sync-metadata, it should recompute the cache for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔖 Planned
Development

No branches or pull requests

2 participants