Mismatched storage image version in .temp directory causing issues
Describe the bug
When running supabase link against a particular project, the .temp/storage-version file contains an invalid image tag: iceberg-catalog-flag-on-buckets
To Reproduce
Probably specific to my project, but running supabase link creates the .temp directory with the specified images and supabase start reveals the error when it tries to pull a non-existent tag. I've tried resetting docker a bunch of times...
Error message:
{"level":50,"time":"2025-09-10T16:45:11.200Z","pid":1,"hostname":"decc842973b3","region":"not-specified","type":"startupError","error":{"raw":"{\"metadata\":{},\"code\":\"InternalError\",\"httpStatusCode\":500,\"userStatusCode\":500}","name":"Error","message":"Migration iceberg-catalog-flag-on-buckets not found","stack":"Error: Migration iceberg-catalog-flag-on-buckets not found\n at Object.InternalError (/app/dist/internal/errors/codes.js:205:34)\n at /app/dist/internal/database/migrations/migrate.js:416:36\n at async /app/dist/internal/database/migrations/migrate.js:543:14\n at async connectAndMigrate (/app/dist/internal/database/migrations/migrate.js:374:5)\n at async runMigrationsOnTenant (/app/dist/internal/database/migrations/migrate.js:264:3)\n at async main (/app/dist/start/server.js:58:5)","statusCode":500},"msg":"Server not started with error"}
Expected behavior A valid image tag is specified for storage so the containers build and boot.
System information
Rerun the failing command with --create-ticket flag.
-
Ticket ID: b2e9880fa75442f68de77923159b653b
-
Version of OS: [e.g. Ubuntu 22.04]
-
Version of CLI: 2.40.7
-
Version of Docker: Docker version 28.3.3, build 980b856
-
Versions of services:
SERVICE IMAGE | LOCAL | LINKED
------------------------|------------------------|------------ supabase/postgres | 15.8.1.073 | 15.8.1.073 supabase/gotrue | v2.179.0 | v2.179.0
postgrest/postgrest | v12.2.3 | v12.2.3
supabase/realtime | v2.36.18 | -
supabase/storage-api | v1.24.6 | -
supabase/edge-runtime | v1.67.4 | -
supabase/studio | 2025.06.16-sha-c4316c3 | -
supabase/postgres-meta | v0.89.3 | -
supabase/logflare | 1.14.2 | -
supabase/supavisor | 2.5.2 | -
Interestingly it says 1.24.6 for storage api but that's not what is in the temp directory.
If I switch the contents of that temp file to v1.24.6 then it works
I'm also running a similar issue after updating my backend via the infrastructure page then running link. Postgres 17.6.1.048, auth 2.182.1, postgrest 13.0.5. Same "Migration iceberg-catalog-flag-on-buckets not found". For me storage-version contains "fix-object-level" after deleting .temp and linking again.
I ran into a similar issue and ended up here... I'm not using storage in my project so disabling it in my config.toml solved it for now.
ahhhh, here we go again