You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to change the POSTGRES_HOST_AUTH_METHOD via the Coolify GUI, but it never seems to reflect in the actual container configuration.
The /var/lib/postgresql/data/pg_hba.conf file will always be the default scram-sha-256, as per the postgres image environment variable options, instead of the one we set in the Configuration > Host Auth Method input field within Coolify.
The last line will always be this.
host all all all scram-sha-256
Expected Result
It should match the value we set in step (2) of the "Steps to Reproduce" section like so:
host all all all password
Steps to Reproduce
Create a new PostgreSQL database.
Set the Host Auth Method to password or md5
Go to the Terminal tab and do cat /var/lib/postgresql/data/pg_hba.conf
Example Repository URL
No response
Coolify Version
v4.0.0-beta.418
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Debian GNU/Linux 12 (bookworm)
Additional Information
Workaround
Go into the container (like via the Terminal GUI in Coolify)
Edit the file yourself with this command vi /var/lib/postgresql/data/pg_hba.conf
Are you willing to work on this?
I can spend some of my time to fix it. Not sure which part of the codebase I should start looking at though. I'd greatly appreciate it so that I can fix it.
It's possible that the other configuration settings do not properly reflect on the actual container as well, so this is a bit concerning.
The text was updated successfully, but these errors were encountered:
takayumi
added
🐛 Bug
Reported issues that need to be reproduced by the team.
🔍 Triage
Issues that need assessment and prioritization.
labels
May 29, 2025
Uh oh!
There was an error while loading. Please reload this page.
Error Message and Logs
The Bug
I was trying to change the
POSTGRES_HOST_AUTH_METHOD
via the Coolify GUI, but it never seems to reflect in the actual container configuration.The
/var/lib/postgresql/data/pg_hba.conf
file will always be the defaultscram-sha-256
, as per the postgres image environment variable options, instead of the one we set in theConfiguration > Host Auth Method
input field within Coolify.The last line will always be this.
Expected Result
It should match the value we set in step (2) of the "Steps to Reproduce" section like so:
Steps to Reproduce
Host Auth Method
topassword
ormd5
cat /var/lib/postgresql/data/pg_hba.conf
Example Repository URL
No response
Coolify Version
v4.0.0-beta.418
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Debian GNU/Linux 12 (bookworm)
Additional Information
Workaround
vi /var/lib/postgresql/data/pg_hba.conf
Are you willing to work on this?
I can spend some of my time to fix it. Not sure which part of the codebase I should start looking at though. I'd greatly appreciate it so that I can fix it.
It's possible that the other configuration settings do not properly reflect on the actual container as well, so this is a bit concerning.
The text was updated successfully, but these errors were encountered: