supabase db pull error running container: exit 1

i got this with --debug


`
2025/11/21 23:24:44 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
Initialising schema...
+ ulimit -n
+ '[' '!' -z '' ']'
+ export ERL_CRASH_DUMP=/tmp/erl_crash.dump
+ ERL_CRASH_DUMP=/tmp/erl_crash.dump
+ '[' false = true ']'
+ [[ -n '' ]]
+ echo 'Running migrations'
+ sudo -E -u nobody /app/bin/migrate
+ '[' true = true ']'
+ echo 'Seeding selfhosted Realtime'
+ sudo -E -u nobody /app/bin/realtime eval 'Realtime.Release.seeds(Realtime.Repo)'
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
+ echo 'Starting Realtime'
+ ulimit -n
+ exec /app/bin/realtime eval '{:ok, _} = Application.ensure_all_started(:realtime)
{:ok, _} = Realtime.Tenants.health_check("realtime-dev")'
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
[os_mon] memory supervisor port (memsup): Erlang has closed
/app/dist/internal/errors/codes.js:242
  InternalError: (e, message) => new import_storage_error.StorageBackendError({
                                 ^

StorageBackendError: Migration iceberg-catalog-ids not found
    at Object.InternalError (/app/dist/internal/errors/codes.js:242:34)
    at /app/dist/internal/database/migrations/migrate.js:425:36
    at async /app/dist/internal/database/migrations/migrate.js:553:14
    at async connectAndMigrate (/app/dist/internal/database/migrations/migrate.js:383:5)
    at async runMigrationsOnTenant (/app/dist/internal/database/migrations/migrate.js:273:3)
    at async /app/dist/scripts/migrate-call.js:30:3 {
  metadata: {},
  code: 'InternalError',
  httpStatusCode: 500,
  userStatusCode: 500,
  originalError: undefined,
  resource: undefined,
  error: undefined
}

Node.js v22.21.1
2025/11/21 23:24:48 PG Send: {"Type":"Terminate"}
2025/11/21 23:24:48 PG Send: {"Type":"Terminate"}
error running container: exit 1
Was this page helpful?