Used Zammad version: 6.2.0-1713335465.b27a0d24.centos8
Used Zammad installation type: Package
Operating system: Rocky Linux 8.10
Browser + version: Any
Expected behavior:
Upgrade to 6.3.1-1717174492.3b75df1e.centos8
Actual behavior:
Preparing : 1/1
Running scriptlet: zammad-6.3.1-1717174492.3b75df1e.centos8.x86_64 1/2
/tmp/tmp.wahOgCXkOk: line 36: pg_isready: command not found
!!! ERROR !!!
Your database does not seem to be online!
Please check your configuration in config/database.yml and ensure the configured database server is online.
Running transaction
Preparing : 1/1
Running scriptlet: zammad-6.3.1-1718095957.bfe18b8e.centos8.x86_64 1/2
/tmp/tmp.ejn9cLGPO1: line 36: pg_isready: command not found
!!! ERROR !!!
Your database does not seem to be online!
Please check your configuration in config/database.yml and ensure the configured database server is online.
Exiting Zammad package installation / upgrade - try again.
error: %prein(zammad-6.3.1-1718095957.bfe18b8e.centos8.x86_64) scriptlet failed, exit status 1
pg_isready is working outside of the script as well:
That path looks troubling.
The postinstall script (which is responsible for checking if database is there and then run the migrations etc) is using this path: PATH=/opt/zammad/bin:/opt/zammad/vendor/bundle/bin:/sbin:/bin:/usr/sbin:/usr/bin:
Officially Rocky and AlmaLinux are not on our supported distribution list (Software — Zammad System Documentation documentation). So in that case you’re technically required to ensure to pick the fitting package version to your distribution and hope it works.
Are these postgresql servers from the default repositories of your distribution or a thirdparty one?