-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supavisor insufficient privileges on schema _supavisor #490
Comments
I encountered the same issue with a clean setup for self-hosting Supabase.
|
I believe POSTGRES_USER is postgres. which is same as :pguser ?
|
I also believe it should - but it is not by some reason. To debug I added the following into pooler.sql:
Then if I make a clean run I can see in the logs of "db" container that
I think POSTGRES_USER is changed somewhere under the hood of custom postgres image. |
got the same problem |
got the same problem,can it be fixed correctly now? |
bro, I found a new way to fix this problem,you can add"POSTGRES_USER=postgres" into your /docker/.env file |
got the same problem for a fresh install setup |
Change your pooler.sql like this |
The same issue. |
edit ur .env file,add "POSTGRES_USER=postgres". delete the volumes/db/data file ,then restart your service |
@Illusionist0 It works, thank you. Related to data left after first start. |
yes, i found that there's no POSTGRES_USER in .env file,but in xxx.sql,there are many "set pguser $POS..",so i add this,and it finaly works. |
This has been fixed in supabase/supabase@419eba9 🎉 |
Bug report
Describe the bug
I'm self hosting supabase with the latest master branch. I've setup all the env variables and followed the self host tutorial.
However all containers spin up apart from the supavisor. On checking the logs, it throws an Ecto migrator error.
Logs
I've tried granting all permissions to this schema by adding this code to the pooler.sql file
System information
The text was updated successfully, but these errors were encountered: