Describe the bug
supabase start can fail on a fresh local start when storage is enabled but no storage buckets are configured.
The command stops the containers and exits with:
Error status 400: {"statusCode":"403","error":"Unauthorized","message":"new row violates row-level security policy"}
To Reproduce
- Use a local Supabase project with storage enabled.
- Do not define any
[storage.buckets.*] entries.
- Ensure
supabase/.temp/storage-migration exists and contains a non-empty value, for example:
- Run:
supabase stop --no-backup
supabase start
Expected behavior
supabase start should complete successfully. If no storage buckets are configured, startup should not fail while trying to seed or list buckets.
Additional context
Removing supabase/.temp/storage-migration or disabling storage avoids the failure.
Describe the bug
supabase startcan fail on a fresh local start when storage is enabled but no storage buckets are configured.The command stops the containers and exits with:
To Reproduce
[storage.buckets.*]entries.supabase/.temp/storage-migrationexists and contains a non-empty value, for example:Expected behavior
supabase startshould complete successfully. If no storage buckets are configured, startup should not fail while trying to seed or list buckets.Additional context
Removing
supabase/.temp/storage-migrationor disabling storage avoids the failure.