Skip to content

Local server unable to start due to analytics bucket #3863

@leandrocabranes

Description

@leandrocabranes

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

When I try to start local development I get a 500 DatabaseError and the project fails to start.

To Reproduce

Update the supabase cli to version 2.31.4 and restart local development by:

  1. executing supabase stop --no-backup on the project terminal
  2. erasing docker images and volumes
  3. running supabase start
  4. the console outputs the following error:
Error status 500: {"statusCode":"500","code":"DatabaseError","error":"DatabaseError","message":"select * from ((select \"id\", \"name\", \"type\", \"public\", \"owner\", \"created_at\", \"updated_at\", \"file_size_limit\", \"allowed_mime_types\" from \"buckets\") union all (select \"id\", \"id\" as \"name\", \"type\", null as \"public\", null as \"owner\", \"created_at\", \"updated_at\", null as \"file_size_limit\", null as \"allowed_mime_types\" from \"buckets_analytics\")) as \"all_buckets\" - column \"type\" does not exist"}

Expected behavior

The local development server should start with no problem, but it does not.

System information

  • OS: macOS 15.5
  • Supabase-cli: 2.31.4
  • Node.js: 24.4.0

Additional context

It looks like the issue is the new Iceberg Analytics Bucket that is not available yet to execute locally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions