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

No ability to create users or add storage items on self-hosted instance #24902

Open
danielrosehill opened this issue May 5, 2024 · 1 comment
Labels
bug Something isn't working needs-analysis Issue status is unknown and/or not possible to triage with the current info self-hosted Issues related to self hosting

Comments

@danielrosehill
Copy link

danielrosehill commented May 5, 2024

Installed Supabase onto a self-hosted instance (underlying server: Ubuntu Linux VPS, installation via Docker Compose).

Behavior being experienced

Not able to create any users or add storage. The create user screen hangs and the storage fails to upload.

Attempted troubleshooting

Checked access permissions on the main database and can verify that the following users have permissions on the auth schema in the main database (postgres):

-> supabase_admin
-> supabase_auth_admin
-> 'dashboard_user'

I also checked the supabase-kong container and verified that the following credentials have been configured as environment variables:

-> DASHBOARD_USERNAME
-> DASHBOARD_PASSWORD

@danielrosehill danielrosehill added the bug Something isn't working label May 5, 2024
@cyluss
Copy link
Contributor

cyluss commented May 6, 2024

Are you using example .env file? If so you need to adjust API_EXTERNAL_URL and SUPABASE_PUBLIC_URL environment variables to your instance's ip address or hostname. URLs like http://localhost:3000 will not work. This will solve storage upload failure. Make sure that docker compose stop and docker compose up applies .env changes.

I am not sure about create user hang issue, but can you check out network tab in the devtools?

@encima encima added self-hosted Issues related to self hosting needs-analysis Issue status is unknown and/or not possible to triage with the current info labels May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-analysis Issue status is unknown and/or not possible to triage with the current info self-hosted Issues related to self hosting
Projects
Status: No status
Development

No branches or pull requests

3 participants