Closed Aietes closed 2 months ago
supabase/cli/internal/db/start/start.go
@fenos did we change the location of migrate script in recent storage version?
I'm having the same issue
The current workaround is to rm supabase/.temp/storage-version
before supabase start. We will look into it more closely next week.
Thank you so much! I was going crazy over this
Thank you for looking into it. However, the workaround does not work for me. When I delete storage-version
and run supabase start
, I now get a different error:
Error response from daemon: failed to resolve reference "public.ecr.aws/supabase/postgrest:v12.2.1": public.ecr.aws/supabase/postgrest:v12.2.1: not found
I have the same issue when running supabase db diff
. I've tried with v1.150.0
and v1.178.2
. supabase start
worked well though.
But thanks for this rm supabase/.temp/storage-version
- fixed it for now 🎊
Thank you for looking into it. However, the workaround does not work for me. When I delete
storage-version
and runsupabase start
, I now get a different error:Error response from daemon: failed to resolve reference "public.ecr.aws/supabase/postgrest:v12.2.1": public.ecr.aws/supabase/postgrest:v12.2.1: not found
This is due to a new postgrest release that we haven't mirrored to ECR. I've just completed the mirroring job so it should be resolved now. Could you try again?
@sweatybridge Thank you, the workaround is now working.
@sweatybridge
I am running supabase db diff command to create migrations Node js version : 18.17.0 Supabase cli version: Tried with 1.183.5 and also with beta version 1.186.2 docker version: 27.0.3
after running npx supabase start command I run npx supabase db diff
error diffing schema: error running container: exit 1: Traceback (most recent call last): File "/usr/local/bin/migra", line 8, in
could you please help me to fix this issue ??
@RishabhPachori could you please open a new issue as it's unrelated?
line 145, in alter_table_statement raise NotImplementedError
That problem is due to a limitation of migra tool which doesn't support generating alter rls statement.
Describe the bug When trying to run
supabase start
orsupabase db start
on a linked project the command fails with:To Reproduce Steps to reproduce the behavior:
supabase start
-> starts successfullysupabase stop
supabase link
with brand new projectsupabase start
, orsupabase db start
, and it will fail.When linking the project I get the warning, although the config has been created with
supabase init
and not been altered or changed in any way.Expected behavior For
supabase start
to work when a project is linked.Screenshots If applicable, add screenshots to help explain your problem.
System information Rerun the failing command with
--create-ticket
flag.supabase services
command]Additional context If applicable, add any other context about the problem here.