Specify remote PostgreSQL

This is probably an easy question, but how can I change from the local docker postgres container, to a remote postgres server, e.g. hosted on AWS RDS?

I changed the DATABASES config in the sentry.conf.py, but after restarting I got the error

FATAL:  password authentication failed for user "postgres"

for the worker and web containers.

This tells me, that the configuration wasn’t properly updated everywhere, since the "postgres" user is the one from the old sentry.conf.py and was changed to a different username for the remote db.

What did I do wrong?

Ok, false alarm. I found an issue in the config file and a permission error because the database name changed from origin to destination. that was totally my fault.

1 Like