Skip to content
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

Failed to enable index_advisor: failed to create pg.extensions: permission denied to create extension "index_advisor" #22934

Closed
thedevdavid opened this issue Apr 20, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@thedevdavid
Copy link
Contributor

Trying to enable index_advisor extension in dashboard but always getting this error: Failed to enable index_advisor: failed to create pg.extensions: permission denied to create extension "index_advisor"

@thedevdavid thedevdavid added the bug Something isn't working label Apr 20, 2024
@encima
Copy link
Member

encima commented Apr 22, 2024

Thanks for opening this! Can you please open a support ticket so that a member of the team can confirm the permissions on your project.

@encima encima closed this as completed Apr 22, 2024
@NiklasPor
Copy link

I'm running into the exact same issue with a local CLI project (1.167.4). @thedevdavid did you get any insights on fixing it?

@thedevdavid
Copy link
Contributor Author

@NiklasPor I think I just installed the extensions from SQL editor.

create extension if not exists hypopg;
create extension index_advisor;

@NiklasPor
Copy link

Ah well, I'm getting the same error from the SQL editor (for the index-advisor) 😅

@seivad
Copy link

seivad commented May 28, 2024

I am having the same problem, requires superuser to install index_advisor of a fresh setup of supabase cli and docker containers. What is the work around guys as this ticket has been open for a while now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants