TwentyT
Twenty4mo ago
14 replies
keno

"No role found for userWorkspace" Error every time container restarted

I have selfhosted Twenty on VPS using Docker Compose.

Twenty works great, then as soon as i restart all the containers suddenly none of the data loads and I get continuous errors whataver I try to do.

In the frontend and server logs i get this error "No role found for userWorkspace". I have followed docs to clear db:

docker exec -it twenty-server-1 yarn

docker exec -it twenty-server-1 npx nx database:reset --configuration=no-seed

After resetting it works again until i restart it once more.

I can change object in settings and they are saved. But it says the members section is empty for the workspace.
Was this page helpful?