mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 23:49:03 +00:00
## Problem Supabase CLI v3 fails to load a `supabase/config.toml` that still has an `[inbucket]` section. `supabase init` wrote that section until v2.108.0, so `supabase start`, `stop`, `status` and the `db` commands fail for projects created before then, with: ```text [inbucket] in supabase/config.toml is no longer supported. Use [local_smtp] instead. ``` It is one of the most common v3 upgrade failures, but the [migration guide](https://supabase.com/docs/guides/local-development/cli/migrating-to-v3) only lists it as one row in the removed config keys table. ## Solution - Adds a caution admonition near the top of the guide, before "Before you upgrade", so it's seen before anything else. - Adds a "Rename `[inbucket]` to `[local_smtp]`" section (anchor `#inbucket`) under "Removed config keys and environment variables". It covers the error text, a before/after example, `[remotes.<name>.inbucket]` and `config.json`, and the fact that v2.108.0 and later already read `[local_smtp]`, so projects can rename it before they upgrade. The keys inside the section are unchanged in v3 (`enabled`, `port`, `smtp_port`, `pop3_port`, `admin_email`, `sender_name`), checked against `packages/config/src/removed-config-keys.ts` and `inbucket.ts` on supabase/cli `develop`. v2.108.0 is the first release with supabase/cli#5333, which added `[local_smtp]` to both config loaders. ## Review instructions 1. Open the preview of `/docs/guides/local-development/cli/migrating-to-v3`. 2. Check the admonition renders under the intro, and that its link jumps to the new section. ## Checklist - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [x] If I wrote a new docs topic or edited an existing topic, I used the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs [style guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide) Tracks CLI-2906 🤖 Generated with [Claude Code](https://claude.com/claude-code)