status-im / infra-shards

Infrastructure for Status fleets
https://github.com/status-im/nim-waku
0 stars 2 forks source link

add store-db nodes #8

Closed yakimant closed 9 months ago

yakimant commented 9 months ago

I've got an nim-waku error:

ERR 2023-09-22 12:58:39.615+00:00 4/7 Mounting protocols failed              topics="wakunode main" tid=1 file=wakunode2.nim:85 error="failed to setup archive driver: DbUrl failure in ArchiveDriver.new: invalid 'db url' option format: postgres://nim-waku-user:nim-waku-pass@store-db-01.do-ams3.shards.test.wg:5432/postgres"

nim-waku is configured with:

--store-message-db-url=postgres://nim-waku-user:nim-waku-pass@store-db-01.do-ams3.shards.test.wg:5432/postgres

Although psql works:

psql --host=store-db-01.do-ams3.shards.test.wg --username=nim-waku-user --dbname=postgres

Looks like fixed by quay.io/wakuorg/nwaku-pr:2071 from https://github.com/waku-org/nwaku/pull/2071

yakimant commented 9 months ago

Next issue:

ERR 2023-09-22 14:49:09.688+00:00 4/7 Mounting protocols failed              topics="wakunode main" tid=1 file=wakunode2.nim:85 error="failed to setup archive driver: Postgres has been configured but not been compiled. Check compiler definitions."