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

1 messages · Page 1 of 1 (latest)

grave willow
#

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.

sleek fable
#

Hey currrently working on a patch for this, it will be available in around 2 hours.
Thanks for reporting

#

cc @worldly urchin seems to be an issue for new fresh installs too

worldly urchin
#

good catch

grave willow
#

Hello @sleek fable , is there a status update on the patch? 😁

sleek fable
#

We will release the patch tomorrow morning

grave willow
#

@sleek fable 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?

sleek fable
#

Hey @grave willow sorry we had a major outage on webhook that took prio
About to release a patch 😛 this time for real I promise

grave willow
#

Completely understandable, thank you 🙌 😁

sleek fable
#

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

grave willow
#

Worked like a charm. Thank you very much, very excited to start using Twenty for my business.

worldly urchin
#

v1.7.7 is currently being deployed, I'll ping you once it's out