Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Issue using nix start-client to spin up supabase local db

Aperta
#1,386 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
postgresql

Direzione di ricerca

Inizia dal punto di ingresso nix run github:supabase/postgres#start-client -- --file <BACKUP FILE> e dal build log di supabase-wrappers-0.4.3. Ispeziona la fase di build di cargo-pgrx relativa a PostgreSQL 17 e alla porta 5435, quindi riproduci il problema sulla configurazione macOS segnalata. Il lavoro è completato quando la derivazione start-client viene compilata e avviata senza il fuorviante errore di associazione della porta.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Bug report

Ran this command
nix run github:supabase/postgres#start-client -- --file <BACKUP FILE>
after following this guide https://supabase.com/docs/guides/platform/upgrading

Getting this error

error: builder for '/nix/store/4szhr8gl1jkk537w9nlvrp5sy3lp4mlg-supabase-wrappers-0.4.3.drv' failed with exit code 1;
       last 25 log lines:
       > Executing cargoSetupPostUnpackHook
       > Finished cargoSetupPostUnpackHook
       > Running phase: patchPhase
       > Executing cargoSetupPostPatchHook
       > Validating consistency between /private/tmp/nix-build-supabase-wrappers-0.4.3.drv-0/source/Cargo.lock and /private/tmp/nix-build-supabase-wrappers-0.4.3.drv-0/cargo-vendor-dir/Cargo.lock
       > Finished cargoSetupPostPatchHook
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > {"success":"true"}
       > Running phase: buildPhase
       > Processing git tags...
       > Executing cargo-pgrx buildPhase
       >    Validating /nix/store/asnw23gkzy84llpljdz8jspwrdg5ixdf-postgresql-17_5/bin/pg_config
       >  Initializing data directory at /private/tmp/nix-build-supabase-wrappers-0.4.3.drv-0/tmp.WJlKy4C9yX/data-17
       > waiting for server to start....2024-12-20 05:04:05.036 GMT [13567] LOG:  starting PostgreSQL 17.0 on aarch64-apple-darwin22.4.0, compiled by clang version 16.0.6, 64-bit
       > 2024-12-20 05:04:05.037 GMT [13567] LOG:  could not bind IPv6 address "::1": Address already in use
       > 2024-12-20 05:04:05.037 GMT [13567] HINT:  Is another postmaster already running on port 5435? If not, wait a few seconds and retry.
       > 2024-12-20 05:04:05.037 GMT [13567] LOG:  could not bind IPv4 address "127.0.0.1": Address already in use
       > 2024-12-20 05:04:05.037 GMT [13567] HINT:  Is another postmaster already running on port 5435? If not, wait a few seconds and retry.
       > 2024-12-20 05:04:05.037 GMT [13567] WARNING:  could not create listen socket for "localhost"
       > 2024-12-20 05:04:05.037 GMT [13567] FATAL:  could not create any TCP/IP sockets
       > 2024-12-20 05:04:05.037 GMT [13567] LOG:  database system is shut down
       >  stopped waiting
       > pg_ctl: could not start server
       > Examine the log output.
       For full logs, run 'nix log /nix/store/4szhr8gl1jkk537w9nlvrp5sy3lp4mlg-supabase-wrappers-0.4.3.drv'.
error: 1 dependencies of derivation '/nix/store/paivdr8yvvajh11wil78yyjpqg0r2342-postgresql-and-plugins-17_5.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rv3jb4yplr5nbs4s7hl4vv93smwz1iy5-postgresql-and-plugins-17_5.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4mwcnybbfcghz5rrg9raa4y8ibkimql1-start-postgres-client.drv' failed to build

This is complaining about port 5435 existing, but it doesn't exist when I run this command netstat -an -p tcp | grep 5435 --> shows nothing

  • 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

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to '…'
  2. Click on '…'
  3. Scroll down to '…'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • OS: [e.g. macOS, Windows]
  • Browser (if applies) [e.g. chrome, safari]
  • Version of supabase-js: [e.g. 6.0.2]
  • Version of Node.js: [e.g. 10.10.0]

Additional context

Add any other context about the problem here.

Lingua principale
Nix
Stelle
1.8k
Fork
268
Merge medio
3g 22h
PR unite (30g)
44

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di supabase/postgres

Tutte le issue di supabase/postgres

Issue simili

Altre issue su Build System

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.