-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PostgreSQL 17 support for zabbix-server-pgsql (all flavors) #1572
Comments
Same here. Problem is that the postgresql CLIENT inside the image is still version 16. |
Sorry, how is it related to Zabbix Docker? The issue caused by PostgreSQL client. Please wait when fix will be available in OS distributions. |
The error occurs when using old psql client with v17 server Manually bumping psql to match the version 17 fixes this
|
@dotneft maybe it's worth using the native "pg_isready" command to check database availability instead of psql --list? the same change should also be done for "web-nginx-pgsql" and "web-apache-pgsql" |
pgsql is used on server / proxy containers not only for checking availability. |
Added PostgreSQL 17 client to all images based on Alpine. Waiting for other OS distributions. |
great news @dotneft thank you very much! has the new image been pushed to dockerhub already? |
Is in progress of building. |
Reporting the same issue here. @dotneft If I'm not missing anything here there still isn't a updated image for this yet? Edit: Specifically for the version 7.0.6 image? |
7.0.6 already released. So the tag is not changed, you can try to use "latest" tag till new version will be released. |
hello!
I've just updated zabbix-server-pgsql container to zabbix 7.0.6 and I tried upgrading my postgresql from 16 to 17 (it's actually a postgres with timescaledb extension provided by timescaledb, but it shouldn't be too different).
After upgrading to Postgres 17, I'm not able to start zabbix-server-pgsql container anymore, with this error repeated in the container logs:
**** PostgreSQL server is not available. Waiting 5 seconds...
upon inspecting a little bit more, this is a message generated by the docker-entrypoint.sh when trying to test database availability:
psql --host ${DB_SERVER_HOST} --port ${DB_SERVER_PORT} --username ${DB_SERVER_ROOT_USER} --list
I tried manually executing that command and this is the output:
psql: ERROR: column d.daticulocale does not exist LINE 8: d.daticulocale as "ICU Locale", ^ HINT: Perhaps you meant to reference the column "d.datlocale".
I think the issue here is that all zabbix-server-pgsql images are still using "postgresql 16" client and possibly the "--list" command doesn't work properly with different DB versions.
I checked all the flavors (alpine, ubuntu and redhat) and they all show the same issue.
The text was updated successfully, but these errors were encountered: