postgis-containers icon indicating copy to clipboard operation
postgis-containers copied to clipboard

unrecognized configuration parameter "allow_alter_system" in file "/var/lib/postgresql/data/pgdata/custom.conf"

Open laukik85 opened this issue 1 year ago • 1 comments

Hi,

I am using following versions.

Cloudnative-PG operator: 1.24.0 Postgis: postgis/postgis:16-3.4 Postgis Release: 64 Kubernetes: 1.30.3

I have build my own docker image using Dockerfile, .versions.json and requirement.txt. I did not applied any updates to these files. I am receiving following error message when I try to create postgres cluster and cluster node goes in complete status.

unrecognized configuration parameter "allow_alter_system" in file "/var/lib/postgresql/data/pgdata/custom.conf"

let me know if you need any additional detail.

thanks, Laukik

laukik85 avatar Sep 16 '24 14:09 laukik85

Hi, allow_alter_system is a GUC that's only present since v17. You should remove it from your PG configuration

NiccoloFei avatar Sep 23 '24 11:09 NiccoloFei

I believe that the source of this issue is https://github.com/cloudnative-pg/cloudnative-pg/issues/6658

mnencia avatar Jan 24 '25 16:01 mnencia

Closing, is already fixed by the above comment

sxd avatar Mar 07 '25 09:03 sxd