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

supabase-studio is unhealthy when self-hosting on Ubuntu #22867

Open
2 tasks done
outSH opened this issue Apr 18, 2024 · 3 comments
Open
2 tasks done

supabase-studio is unhealthy when self-hosting on Ubuntu #22867

outSH opened this issue Apr 18, 2024 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@outSH
Copy link

outSH commented Apr 18, 2024

Bug report

Describe the bug

I can't run supabase in docker using any Ubuntu machine (checked multiple environments) because studio is unhealthy. Studio container doesn't contain any helpful information (just that it's listening on port 3000), I can provide debug logs if you let me know how to enable them :)

To Reproduce

  1. Follow https://supabase.com/docs/guides/self-hosting/docker on any environment listed in system information below.
  2. The supabase-studio is unhealthy

Expected behavior

All containers should be healthy.

System information

  • OS:
    • Ubuntu 22.04.3 LTS on WSL2
    • Ubuntu 20.04.6 LTS VM on HyperV
    • Docker in docker (docker:25.0.5-dind) on both machines above.
  • Branches: master / v0.24.03. Occurred on older tags as well but I did not keep track of them.

Additional context

It used to work in v0.22.10, but this version can't be used anymore because it's docker compose file references image that is not available anymore. We use supabase in DIND container for testing purposes in Hyperledger Cacti project - https://github.com/hyperledger/cacti/tree/main/tools/docker/supabase-all-in-one.

@outSH outSH added the bug Something isn't working label Apr 18, 2024
@garrettcam
Copy link

See #20655 (comment)

@outSH
Copy link
Author

outSH commented Apr 19, 2024

@garrettcam Thanks, it does solve the issue!

However I'd prefer using the docker-compose in the repo without a change. I think the root cause might be caused by node 17+ binding to ipv6 by default:

  ▲ Next.js 13.5.6
  - Local:        http://54207504f03d:3000 # should be 127.0.0.1 for localhost ping to work
  - Network:      http://172.25.0.8:3000

 ✓ Ready in 293ms

@encima
Copy link
Contributor

encima commented Apr 22, 2024

Thanks for reporting! Feel free to open a PR to modify the Compose file!

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

No branches or pull requests

3 participants