[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
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(nip77): advertise NIP-77 in NIP-11 and expose its settings in the admin consoleCó thể đã có người làm @Priyanshubhartistm đã nhận hôm nay. Đang mởenhancement
cameri/nostream#819 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(nip77): NEG-OPEN/NEG-MSG/NEG-CLOSE wire protocol for the PostgreSQL backendCó thể đã có người làm @Priyanshubhartistm đã nhận hôm nay. Đang mởenhancement
cameri/nostream#817 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Admin Console] Ops visibility panels (mirror, workers, NIP-05, storage)Có thể đã có người làm @Ferryx349 đã nhận 1 ngày trước. Đang mởAdmin Console enhancement
cameri/nostream#816 · 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ự
-
affected/v17 affected/v18 area/frontend type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
umbraco/Umbraco-CMS#24186 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
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 72/100
better-auth/better-auth#11723 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: docs difficulty: easy documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Worker-Erstellung bricht langsame Git-Worktree-Checkouts nach 20 Sekunden abCó thể đã có người làm @KajoVanBuyten đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
AgentSystemLabs/agent-office#367 ·
Maintainer thường phản hồi trong vòng 1 ngày