Upgrading Zammad from 4 to 5 when MySQL is used (hard PostgreSQL package requirement)

Infos:

  • Used Zammad version: 4.1.0-1626855612.90b59692.centos7
  • Used Zammad installation type: RPM (YUM)
  • Operating system: CentOS 7

Question

We use Zammad with MySQL/MariaDB and not PostgreSQL. However the newest RPM wants us to install PostgreSQL (see RPM package requires PostgreSQL even if Zammad is configured for MySQL/MariaDB · Issue #3791 · zammad/zammad · GitHub). Can anyone confirm (or not), that it is safe to do an upgrade to Zammad 5 while ignoring this dependency (something around rpm -Uvh --nodeps ...). Or can I safely run the regular update (yum upgrade) including the PostgreSQL installation w/o risking our MySQL setup to break? PostgreSQL would then just be installed but never be started.

We had this topic regarding requirements on centos ish systems quite some times in other directions already.

yum does not support optional or alternative packages. CentOS 8’s yum does in specific versions, however, as this is not always the case we decided to not go for alternatives for yum based installs at all.

You’ll either have to break dependencies (which is on your own danger especially in regard of possible dependency changes) or install pgsql and disable it. I don’t see the risk installing a pgsql next to mysql. Zammad has its configuration file for the database. As long as you don’t tell it to use postgres there, you’ll be fine,.

Thx @MrGeneration, that is the answer I was hoping for :smile:. I was just afraid Zammad would maybe re-activate Postgres during post-install or similar. The other topic we had already discussed and fully answered in RPM package requires PostgreSQL even if Zammad is configured for MySQL/MariaDB · Issue #3791 · zammad/zammad · GitHub.

No we’re nukeing the whole server - we don’t worry. :wink:

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.