Hi Team I am using a standalone Postgres db Is the...
# all-things-deployment
b
Hi Team I am using a standalone Postgres db Is there a way for me to create the
datahub
database needed in the my standalone db via the deployment helm chart ?
psql: error: connection to server at "181.00.00.1", port 5432 failed: FATAL:  database "datahub" does not exist
fyi postgresqlSetupJob enabled: true
r
@indy prentice might be able to speak to this!
@gray-shoe-75895 might be able to speak to this!
b
cc @dazzling-yak-93039
d
Tagging this week's oncall @brainy-tent-14503!
g
@brainy-butcher-66683 do you see the same logs as in that slack thread? We have this code https://github.com/datahub-project/datahub/blob/48b3d7afa0ee4442cb4d1bd228839cf6becfc452/docker/postgres-setup/init.sh#L5 in the script that's supposed to create the db, but it sounds like the very first
psql
command isn't running?
b
line 5 should have the
-d postgres
that is causing it to fail
Yes I see the same error log as the thread, also I posted my error on this thread https://datahubspace.slack.com/archives/CV2UVAPPG/p1693942922451589?thread_ts=1693937473.676269&cid=CV2UVAPPG
g
b
looks good to me