Closed barbinbrad closed 6 months ago
Hello, which cli version did you upgrade from? Which docker version are you running?
Hello, which cli version did you upgrade from? Which docker version are you running?
Upgrade from 1.145.4 Docker version 26.0.0, build 2ae903e MacOS Sonoma 14.3
After running supabase stop --no-backup
and then running supabase start
the CLI outputs "Starting database from backup..." and it does not run the migrations.
Our documentation recommends running supabase stop --no-backup
before upgrading. https://supabase.com/docs/guides/cli/getting-started#updating-the-supabase-cli
If you didn't do that, an alternative is to delete all docker volumes manually with docker volume prune -a
or one by one with docker volume rm
I've been deleting the docker volumes manually each time I run supabase stop --no-backup
-- but is there any good way to get back to a state where this isn't required?
I can't reproduce this locally though. Could you report the output from docker volume ls
before and after? ie. it should be empty
$ docker volume ls
DRIVER VOLUME NAME
$ supabase start
$ supabase stop --no-backup
$ docker volume ls
DRIVER VOLUME NAME
Describe the bug On the newest version of the CLI the
--no-backup
flag does not remove the volumesTo Reproduce Steps to reproduce the behavior:
Expected behavior The volumes are removed when
--no-backup
is passedSystem information