Repository navigation
Description
Describe the bug
Following an update to the CLI, I am no longer able to start supabase services via the cli.
I am using Ubuntu 22.04 via Windows 11 WSL. I initially installed supabase via dpkg with the instructions here. Following this, I ran supabase init, start, etc. as expected without issues. After using supbase cli for a period of time, I was prompted to update the cli. To make this easier, I decided to uninstall the cli installed via source and re-install via npm. Following this, I am now unable to run supabase start without encountering Error status 502:.
The final lines of the error trace are below:
Stopping containers...
Pruned containers: [...]
Pruned volumes: [supabase_db_project_name supabase_storage_project_name supabase_config_project_name supabase_inbucket_project_name ]
Pruned network: [supabase_network_project_name ]
Error status 502:
As part of efforts to resolve the issue I have attempted the following without success:
- uninstall/reinstall supabase cli via npm
- uninstall/reinstall via brew
- remove all docker containers, networks, and volumes
To Reproduce
Steps to reproduce the behavior:
- Install supabase from source via dpkg
- Run supabase init, supabase start
- Uninstall supabase-cli
- install supabase via npm
- Run supabase start
Expected behavior
I would expect my supabase local instance to be available through localhost.
Screenshots
N/A
System information
Rerun the failing command with --create-ticket flag.
- Ticket ID: 570f37188b87413a8f38fdc2492df413
- Version of OS: Ubuntu 22.04.2 LTS
- Version of CLI: 1.219.2
- Version of Docker: Docker Engine 24.0.6
- Versions of services:
SERVICE IMAGE │ LOCAL │ LINKED
─────────────────────────┼──────────────────┼─────────
supabase/postgres │ 15.1.1.78 │ -
supabase/gotrue │ v2.163.2 │ -
postgrest/postgrest │ v12.2.0 │ -
supabase/realtime │ v2.30.34 │ -
supabase/storage-api │ v1.11.13 │ -
supabase/edge-runtime │ v1.61.0 │ -
supabase/studio │ 20241106-f29003e │ -
supabase/postgres-meta │ v0.84.2 │ -
supabase/logflare │ 1.4.0 │ -
supabase/supavisor │ 1.1.56 │ -
Additional context
If applicable, add any other context about the problem here.
- Version of supabase-js unknown
- Version of Node.js v22.6.0.
Activity
avallete commentedon Nov 20, 2024
Hey there !
Thanks for reporting.
Did you tried cleaning up your local volumes and made sure all containers were down with
npx supabase stop --all --no-backup?Could you try to run things with the
--debugflags to get more details about which container is failing to spin up ?4W4I5 commentedon Dec 1, 2024
Same here, it prompts for a warning about analytics requiring TCP enabled. It is the same setup as OP and I also enabled the 2 checkboxes as highlighted in the supabase docker setup.

The vector container is the one that is the problem, The cause of the error was updating the CLI, I wanted the newer update of the docker images so updated the CLI alongside those.
Here's the log from attempting to run
npx supabase start --debugafter runningnpx supabase stop --all --no-backup4W4I5 commentedon Dec 1, 2024
starting with
--ignore-health-checkresolves the issue but since the errors are deno related. I'm sure edge functions are down.Log attached below, did not use --debug as the output was way too garbled up
Hallidayo commentedon Mar 6, 2026
Hi all, We’re going to close this one due to inactivity. Please feel free to reopen if you’re still having issues here or open a new issue.