[BUG] Where is the data in PostgreSQL database?
Maintainer thường phản hồi trong vòng 1 ngày
@cameri đang làm issue này rồi.
Từ ngày 20/2/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 829
- Fork
- 234
- Merge trung bình
- 2 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 24
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cameri/nostream
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(admin): bounded NIP-66 probe history and Network Health timelineCó thể đã có người làm @Ferryx349 đã nhận 4 ngày trước. Đang mởAdmin Console enhancement
cameri/nostream#800 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Store relay settings overrides in PostgreSQL (SETTINGS_BACKEND=db)Có thể đã có người làm @Ferryx349 đã nhận 37 ngày trước. Đang mởenhancement
cameri/nostream#757 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(nip85): Web-of-Trust spam mitigation engineCó thể làm lại được @Ferryx349 đã nhận 67 ngày trước và không có pull request nào đang mở. Đang mởenhancement
cameri/nostream#720 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(nip96): native HTTP media storage pipelineCó thể làm lại được @Ferryx349 đã nhận 67 ngày trước và không có pull request nào đang mở. Đang mởenhancement
cameri/nostream#719 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của cameri/nostream
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: [A11y] Missing accessible name on icon-only standalone links (WCAG 2.1 SC 2.4.4, 4.1.2)Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
jaegertracing/jaeger-ui#4596 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:tui enhancement platform:macos
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
anthropics/claude-code#101490 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
netlify/netlify-mcp#75 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày