-
Hi there, I tried to self-host supabase on my server with docker and used their tutorial (https://supabase.com/docs/guides/self-hosting/docker). Everything worked perfectly fine until I adjusted the .env file. As described in their tutorial I adjusted
But after that I always get "container supabase-analytics is unhealthy" as a response to "docker compose up". If I use the standard .env file with the default values I can run and access my supabase environment. Can anyone help me out? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 7 replies
-
I solved it by first uninstalling Supabase and then executing Keep in mind that uninstalling will remove existing volumes |
Beta Was this translation helpful? Give feedback.
-
Had the same problem self-hosting. After testing some things out, changing the postgres password is what causes the issue. Changing other values in the .env does NOT affect supabase analytics. I have not yet found the root cause of this problem or how to get around it. Would be great if anyone has insights into this. |
Beta Was this translation helpful? Give feedback.
-
What worked for me was to run this set of commands: #11957 (comment) docker system prune -a
sudo rm -rf docker/volumes/db/data
docker compose up |
Beta Was this translation helpful? Give feedback.
-
Changing the password for Postgres user (by logging with default password for supaabse_admin) resolves the error. |
Beta Was this translation helpful? Give feedback.
-
temporary fix for this bug is here |
Beta Was this translation helpful? Give feedback.
-
I have the same problem and suggestes fixes do not work. I have been trying to fix this for hours now and I don't progress.
and the output of supabase-analytics:
|
Beta Was this translation helpful? Give feedback.
-
is there any way to change password for POSTGRES and NOT make container supabase-analytics is unhealthy? |
Beta Was this translation helpful? Give feedback.
-
@Ziinc I do not get how this is resolved. Even with the latest pull and env.example I get container supabase-analytics is unhealthy. For test purposes I left the example completely untouched and deployed with this error? Wow. I have a customer who wants to use that as a pre-production setup. Can somebody point me to interim workaround if there are any? Any hints are highly appreciated :) |
Beta Was this translation helpful? Give feedback.
temporary fix for this bug is here
#22605 (comment)