Cannot insert data into Postgres DB

I’m testing Chipstark server with docker, when I’m trying to integrate with Postgres I receive the following error:

2024-05-21 16:52:00.630 UTC [30] ERROR: relation “event_up” does not exist at character 13
2024-05-21 16:52:00.630 UTC [30] STATEMENT: INSERT INTO “event_up” (“deduplication_id”, “time”, “tenant_id”, “tenant_name”, “application_id”, “application_name”, “device_profile_id”, “device_profile_name”, “device_name”, “dev_eui”, “tags”, “dev_addr”, “adr”, “dr”, “f_cnt”, “f_port”, “confirmed”, “data”, “object”, “rx_info”, “tx_info”) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21)

I already check the initdb scripts and both was executed.

My assumption is that you are using the same database for the ChirpStack data as the PostgreSQL integration, is that correct? If that is true, then this could be the issue. You should use a separate database.

1 Like

Thanks a lot for your help, now it’s working normal.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.