T
Twenty2mo ago
Leontes

Enabled Lab > Roles and now I can't access some menus

I am on Version v0.44.3 and I enabled a Lab feature that enables Roles apart from Admin and Now I can't see some menus. This is deployed in Docker-Swarm on a private VPS, working fine otherwise. I can't seem to disable it to go back to the previous setting. Is there a way I can fix this? Bonus: I also tried searching how to fix the error, but I can't seem to find the solution. "Uncompiled message detected! Message:
WsKDNF
That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used. ICU features such as interpolation and plurals will not work properly for that message. Please compile your catalog first. " Thanks for the help!
No description
9 Replies
baon99
baon992mo ago
Happened to me. A way to get around this for me is to go into the database and add role and userWorkspaceRole under metadata tables manually.
No description
Prastoin
Prastoin2mo ago
Hello there ! @Weiko nor @marie could you please give this a look ? 🙏
Weiko
Weiko2mo ago
You need to run "yarn database:migrate:prod" after the upgrade of the version, please see https://twenty.com/developers/section/self-hosting/upgrade-guide
marie
marie2mo ago
Yes, @baon99 I also recommend you removed the tables you created manually and run the command instead, otherwise you will encounter issues when you upgrade @Leontes your issue is different, I think you just need to hard refresh, sorry about that, it's something that will be fixed in the next release
Leontes
LeontesOP2mo ago
I did try hard refreshing and a new browser even, it worked the first time but now it stays like that. Thanks for the reply
marie
marie2mo ago
so you are still stuck ? If yes, can you check in the database which role is assigned to your user (you can get your user id from user table then get your userWorkspace id from userWorkspace table using the user id then checking the assigned role Id in userWorkspaceRole table) ?
Leontes
LeontesOP2mo ago
Hi, yes I'll try that
Leontes
LeontesOP2mo ago
So I think the issue is that I am missing some tables? I ended up disabling the feature flag to keep using the CRM for now.
No description
marie
marie2mo ago
Oh I see then you probably missed that step indeed then ?

Did you find this page helpful?