T
Twentyβ€’2mo ago
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.
11 Replies
Prastoin
Prastoinβ€’2mo ago
Hey currrently working on a patch for this, it will be available in around 2 hours. Thanks for reporting cc @charles seems to be an issue for new fresh installs too
charles
charlesβ€’2mo ago
good catch
keno
kenoOPβ€’2mo ago
Hello @prastoin , is there a status update on the patch? 😁
Prastoin
Prastoinβ€’2mo ago
We will release the patch tomorrow morning
keno
kenoOPβ€’2mo ago
@prastoin Sorry to bother, but was just checking in once again as we are completetly unable to use Twenty until this is resolved. Also, this means i will have to upgrade Twenty to branch with fix on no?
Prastoin
Prastoinβ€’2mo ago
Hey @keno sorry we had a major outage on webhook that took prio About to release a patch πŸ˜› this time for real I promise
keno
kenoOPβ€’2mo ago
Completely understandable, thank you πŸ™Œ 😁
Prastoin
Prastoinβ€’2mo ago
Quick followup we will do the release during the evening Flushing cache should resolve your issue though yarn command:prod cache:flush in twenty-server container
keno
kenoOPβ€’2mo ago
Worked like a charm. Thank you very much, very excited to start using Twenty for my business.
charles
charlesβ€’2mo ago
v1.7.7 is currently being deployed, I'll ping you once it's out
Prastoin
Prastoinβ€’2mo ago
Cool ! Feel free to reach out if you have any questions

Did you find this page helpful?