Issue using nix start-client to spin up supabase local db
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
- Ambito
- build-system, databases
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 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:
- Go to '…'
- Click on '…'
- Scroll down to '…'
- 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
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di supabase/postgres
-
CREATE EXTENSION pgmq fails in Postgres 17.6.1.016+ due to function overload handling bug in after-create scriptForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
supabase/postgres#1867 · 14 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
supabase/postgres#1586 · 1 commento · 2 reazioni ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 2 giorni
-
supabase_auth_admin can CREATE rolesForse già presa @jaysomani l’ha presa 50 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
supabase/postgres#1518 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di supabase/postgres
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
mesonbuild/wrapdb#2961 ·
I maintainer di solito rispondono entro 1 giorno
-
package-update
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
oSoWoSo/vOid_Community_repOsitory#330 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
awaiting-response bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
wildcard/caro#1562 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
CLI contributor: external
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno