App could not connect to database after upgrade to 7.0.2+v1.149.1 #59

Open
opened 2026-04-21 18:28:50 +00:00 by notplants · 0 comments
Owner

Initially after upgrade, from 6.8.3+v1.139.2, database was running but app container could not connect to it.

I had to run:

docker exec $(docker ps -q -f name=your_cc_matrix_app_db)  psql -U synapse -c "ALTER SYSTEM SET listen_addresses = '*';"

And then restart the database container. And then things were working.

This took a while to debug, and I do not have the spoons right now to figure out exactly why this was needed after the upgrade, but sharing this here in case someone else runs into this issue.

Something perhaps about database listening on a socker vs on tcp... I am not totally sure, but it is working now

Initially after upgrade, from 6.8.3+v1.139.2, database was running but app container could not connect to it. I had to run: ``` docker exec $(docker ps -q -f name=your_cc_matrix_app_db) psql -U synapse -c "ALTER SYSTEM SET listen_addresses = '*';" ``` And then restart the database container. And then things were working. This took a while to debug, and I do not have the spoons right now to figure out exactly why this was needed after the upgrade, but sharing this here in case someone else runs into this issue. Something perhaps about database listening on a socker vs on tcp... I am not totally sure, but it is working now
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud/matrix-synapse#59
No description provided.