containers icon indicating copy to clipboard operation
containers copied to clipboard

[bitnami/postgresql] Release postgresql-16.4.0-debian-12-r25 cause issue with unexpected `POSTGRESQL_REPLICATION_USE_PASSFILE`

Open jonesbusy opened this issue 2 years ago • 8 comments

Name and Version

bitnami/postgresql:16.4.0-debian-12-r25

What architecture are you using?

None

What steps will reproduce the bug?

Hi,

Upgrade from postgresql-16.4.0-debian-12-r24 to postgresql-16.4.0-debian-12-r25 cause issue with

POSTGRESQL_REPLICATION_USE_PASSFILE: unbound variable

For some reason this was added on https://github.com/bitnami/containers/pull/74787/files#diff-bfae4bf6b63bbf56c7572b773c8f5ce5088f09b8044edc934f49f5aacd26442aR395 but not sure why

Thanks

What is the expected behavior?

No response

What do you see instead?

POSTGRESQL_REPLICATION_USE_PASSFILE: unbound variable

Additional information

No response

jonesbusy avatar Nov 12 '24 13:11 jonesbusy

I lost full logs (only screenshot), but this occur exactly at https://github.com/bitnami/containers/pull/74787/files#diff-bfae4bf6b63bbf56c7572b773c8f5ce5088f09b8044edc934f49f5aacd26442aR395

unbound

jonesbusy avatar Nov 12 '24 13:11 jonesbusy

I had the same, and was using docker compose. I fixed it by setting:

    environment:
      - POSTGRESQL_REPLICATION_USE_PASSFILE=false

val-pez avatar Nov 12 '24 13:11 val-pez

This is strange, when running the container locally is Ok, but have this issue with Github workflow

azhalm94 avatar Nov 12 '24 13:11 azhalm94

Same problem here, I tested various versions (13,14,15,16). Same error

jeffersonfelixdev avatar Nov 12 '24 14:11 jeffersonfelixdev

This is strange, when running the container locally is Ok, but have this issue with Github workflow

probably you are using an old version of image in cache. This error started today

jeffersonfelixdev avatar Nov 12 '24 14:11 jeffersonfelixdev

Something changed in the latest version. I followed the same steps as @val-pez, and it worked!

I’m using POSTGRESQL_REPLICATION_USE_PASSFILE: "no" in my postgres image, and that fixed the issue.

eulixir avatar Nov 12 '24 14:11 eulixir

Something changed in the latest version. I followed the same steps as @val-pez, and it worked!

I’m using POSTGRESQL_REPLICATION_USE_PASSFILE: "no" in my postgres image, and that fixed the issue.

Worked!

jeffersonfelixdev avatar Nov 12 '24 14:11 jeffersonfelixdev

Thank you for reaching out. We’re currently tracking this issue in another support ticket. To keep all updates centralized and ensure efficient troubleshooting, we’ll close this ticket as a duplicate. Please refer to ticket https://github.com/bitnami/containers/issues/74788 for ongoing updates and further assistance on this matter.

About the issue itself, we're looking into it and we'll update that ticket with our findings. We appreciate your patience and cooperation!

carrodher avatar Nov 12 '24 18:11 carrodher