Supabase Docker self-hosting throws 500 errors
See original GitHub issueBug report
Describe the bug
The web interface loads but other areas either load infinity or throw various server errors.
To Reproduce
Follow the steps at Docker https://supabase.com/docs/guides/hosting/docker and head to localhost:3000 as instructed. The web interface (studio) loads but navigating to areas such as tables, API, and database, will show 500 errors.
Expected behavior
Able to navigate to areas such as tables, API, and database, without seeing 500 errors.
Screenshots
Below are screenshots of errors I get when running docker-compose up
.
After these errors the images are constantly rebooted due to errors (mostly about connecting to the DB).
On the web panel:
System information
Ubuntu 20.04 on Raspberry Pi, using docker-compose
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Self-Hosting with Docker - Supabase
Learn how to configure and deploy Supabase with Docker. ... However, you might miss important log messages such as database errors.
Read more >Ask HN: Do you self-host your database? - Hacker News
Self-hosting in the cloud is ludicrously complicated in comparison. Docker, Sandstorm, Cloudron, your command line script - these are ...
Read more >Self-hosting with Supabase - DEV Community
Tagged with docker, supabase, nginx, postgres. ... signUp() method from the supabase-js library, you may get an error 500.
Read more >supabase/supabase (Raised $0.00) - Issuehunt
Project cannot be deleted, showing error code 500 ... self-hosting supabase with docker on ubuntu 22 ... Edge Functions throws error when deployed....
Read more >Supabase Self Hosted responded with 404 - Stack Overflow
Here are my started containers. enter image description here. docker · docker-compose · self-hosting · supabase.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@xMdb try changing
to
in your
docker/env
file(sorry for the late reply, been busy)
@franklinharvey I did
docker-compose
with--build
and it worked, but also after wiping my images/volumes and omitting the--build
it worked. Not sure what happened, could have been those old images, my Docker version, or someone fixing it since the last time I tried (which was when I opened this issue)@rotemrevivo91 this also could have been my issue, as this time I re-cloned the repo and made sure to edit the kong.yml file.
I’m going to close this issue, as either wiping the images/volumes, using
docker-compose up
with--build
, updating Docker, or changing the values inkong.yml
was obviously the issue.Edit: come to think of it, I also omitted special characters in my JTW secret. One special character could have also been messing up the API.