"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:
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.
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 yarndocker exec -it twenty-server-1 npx nx database:reset --configuration=no-seedAfter 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.