Can't delete a db role from the dashboard or SQL
Something has gone wrong and we're stuck with a database role. It can't be deleted from the dashboard or using SQL. Here's the error message:
This is preventing us from setting up supabase locally as well, as we get errors saying the
metabase_app user couldn't be found. I've tried many different things, logging in with different users, trying to transfer objects owned or transfer ownership to another user, but nothing works. Looks like a bug causing a permission denied endless loop. Would appreciate some help.5 Replies
Not a dashboard or setup issue in general.
Where are you dropping from and what user?

I've tried deleting the user from the dashboard UI in Database > Roles, using the SQL editor, and logging in through psql with different users. The user is
metabase_app.I assume you created that user as that is a 3rd party app.
But if the dashboard role UI can't delete it and the SQL editor (with postgres as the impersonation role) then support is likely the only solution.
Yes we've created that user. Okay I've already opened a ticket let's see if they have a solution. Thanks.