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

Installing nostream

Aperta
#273 7 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@cameri ci sta già lavorando.

Dal 29/3/2023.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug

Hi yall, pleb here. I'm trying to spin up a nostream relay on a Ubuntu DigitalOcean VPS.

I installed Docker and cloned the repo. I run ./script/start and get the error

Attaching to nostream, nostream-cache, nostream-db, nostream-migrate
nostream-migrate  | 
nostream-migrate  | up to date in 692ms
nostream-migrate  | 
nostream-migrate  | 3 packages are looking for funding
nostream-migrate  |   run `npm fund` for details
nostream-db       | 2023-03-29 20:17:16.595 UTC [2293] FATAL:  database "nostr_ts_relay" does not exist
nostream-migrate  | database "nostr_ts_relay" does not exist
nostream-migrate  | error: database "nostr_ts_relay" does not exist
nostream-migrate  |     at Parser.parseErrorMessage (/code/node_modules/pg-protocol/dist/parser.js:287:98)
nostream-migrate  |     at Parser.handlePacket (/code/node_modules/pg-protocol/dist/parser.js:126:29)
nostream-migrate  |     at Parser.parse (/code/node_modules/pg-protocol/dist/parser.js:39:38)
nostream-migrate  |     at Socket.<anonymous> (/code/node_modules/pg-protocol/dist/index.js:11:42)
nostream-migrate  |     at Socket.emit (node:events:513:28)
nostream-migrate  |     at addChunk (node:internal/streams/readable:324:12)
nostream-migrate  |     at readableAddChunk (node:internal/streams/readable:297:9)
nostream-migrate  |     at Readable.push (node:internal/streams/readable:234:10)
nostream-migrate  |     at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
nostream-migrate exited with code 1
nostream-db       | 2023-03-29 20:17:16.977 UTC [2301] FATAL:  database "nostr_ts_relay" does not exist
service "nostream-migrate" didn't complete successfully: exit 1

What's going on? I thought docker would handle creating the database.

Thanks

Lingua principale
TypeScript
Stelle
829
Fork
234
Merge medio
4g 5h
PR unite (30g)
22

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 cameri/nostream

Tutte le issue di cameri/nostream

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.