Update 4.1 => 5.2

Infos:

  • Used Zammad version: 4.1.0
  • Used Zammad installation type: package
  • Operating system: RHEL 7
  • Browser + version: Chrome V106

Expected behavior:

  • Update works

Actual behavior:

  • I don’t know, just ask as I got the following message, when try using yum to update:
    yum upgrade
    Geladene Plugins: fastestmirror
    Loading mirror speeds from cached hostfile
  • base: centos.schlundtech.de
  • epel: mirror.netcologne.de
  • extras: mirror.netcologne.de
  • updates: mirror.fra10.de.leaseweb.net
    Abhängigkeiten werden aufgelöst
    → Transaktionsprüfung wird ausgeführt
    —> Paket zammad.x86_64 0:3.6.0-1615986441.da478686.centos7 markiert, um aktualisiert zu werden
    —> Paket zammad.x86_64 0:5.2.3-1665993023.00266449.centos7 markiert, um eine Aktualisierung zu werden
    → Abhängigkeit postgresql-server >= 9.3 wird für Paket zammad-5.2.3-1665993023.00266449.centos7.x86_64 verarbeitet
    → Abhängigkeitsauflösung beendet
    Fehler: Paket: zammad-5.2.3-1665993023.00266449.centos7.x86_64 (zammad)
    Benötigt: postgresql-server >= 9.3
    Installiert: postgresql-server-9.2.24-8.el7_9.x86_64 (@updates)
    postgresql-server = 9.2.24-8.el7_9
    Verfügbar: postgresql-server-9.2.24-4.el7_8.x86_64 (base)
    postgresql-server = 9.2.24-4.el7_8
    Verfügbar: postgresql-server-9.2.24-6.el7_9.x86_64 (updates)
    postgresql-server = 9.2.24-6.el7_9
    Verfügbar: postgresql-server-9.2.24-7.el7_9.x86_64 (updates)
    postgresql-server = 9.2.24-7.el7_9
    Sie können versuchen, mit --skip-broken das Problem zu umgehen.

So I read that on RHEL 7 you get PostgreSQL to max Version 9.2 but I found on this page that you can add a repository to get a newer version installed as well, but don’t know if it works or if I need to upgrade to RHEL 8 first.

https://www.postgresql.org/download/linux/redhat/

Steps to reproduce the behavior:

  • yum upgrade

CentOS 7 or 8 it doesn’t matter.
You need a fitting postgresql version which can be installed via either additional repositories or manual installation methods (don’t).

There are tons of migration path howtos - pgsql even comes with a tool for that:

You should have a backup of course.
If that’s too difficult for you, which is absolutely okay, you could also go with a system migration by backing up and restoring: Backup and Restore — Zammad documentation