[BUG] Where is the data in PostgreSQL database?
Mantenedores costumam responder em até 1 dia
@cameri já está trabalhando nisso.
Desde 20/2/2023.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
Describe the bug
I have deployed a Nostream relay on my server. I use Damus to post a node and it works fine. However, I cannot find any event in PostgreSQL database. How can I read the database?
To Reproduce
Steps to reproduce the behavior:
docker container lsto find the container id for PostgreSQLdocker exec -it id bash- (inside the docker)
psql -U nostr_ts_relay -W - enter the passward
nostr_ts_relay - \d
List of relations
Schema | Name | Type | Owner
--------+--------------------------------+----------+----------------
public | events | table | nostr_ts_relay
public | invoices | table | nostr_ts_relay
public | knex_migrations | table | nostr_ts_relay
public | knex_migrations_id_seq | sequence | nostr_ts_relay
public | knex_migrations_lock | table | nostr_ts_relay
public | knex_migrations_lock_index_seq | sequence | nostr_ts_relay
public | users | table | nostr_ts_relay
(7 rows) select * from eventsand nothing returns
PS: Also, I try to connect the database outside the docker (in Ubuntu physical machine shell), but I cannot log in.
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: Peer authentication failed for user "nostr_ts_relay"
System (please complete the following information):
- OS: Ubuntu 22.04.1 LTS
- Platform: docker (./scripts/start)
- Version:
Docker version 23.0.1, build a5ee5b1
node --version v12.22.9
nostream version v1.22.3
- Linguagem predominante
- TypeScript
- Estrelas
- 829
- Forks
- 234
- Merge médio
- 4d 5h
- PRs com merge (30d)
- 22
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de cameri/nostream
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
cameri/nostream#811 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
feat(nip77): negentropy reconciliation core for the PostgreSQL backendTalvez já em andamento @Priyanshubhartistm assumiu há 3 dias. Abertaenhancement
cameri/nostream#801 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
feat(admin): bounded NIP-66 probe history and Network Health timelineTalvez já em andamento @Ferryx349 assumiu há 3 dias. AbertaAdmin Console enhancement
cameri/nostream#800 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Store relay settings overrides in PostgreSQL (SETTINGS_BACKEND=db)Talvez já em andamento @Ferryx349 assumiu há 36 dias. Abertaenhancement
cameri/nostream#757 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
Todas as issues de cameri/nostream
Issues semelhantes
-
submodule-pointer-regression
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
smith-horn/skillsmith#3061 ·
Mantenedores costumam responder em até 1 dia
-
area: ops type: test
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 79/100
accensa/x402-facilitator-stellar#559 ·
Mantenedores costumam responder em até 1 dia
-
documentation
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
cosimochellini/one-piece-zero-spoiler#551 ·
Mantenedores costumam responder em até 1 dia
-
getWatched() omits __proto__ directories when cwd is setTalvez já em andamento @maxazure assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 79/100
-
area:web enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia