Zammad 6.4 don't start after Ubuntu Server Upgrade from 22.04 to 24.04

The ubuntu update from 22.04 to 24.04,

  • upgrades postgresql from 14 to 16, but without upgrading/moving main cluster of pg 14 to 16,
  • deactivates apt source list entries for zammad and elastic packages and
  • removes/purges nginx installation.

So, after upgrading to 24.04 we have to

  • manually move main cluster of pg14 to pg16, following this guide
  • as root/sudoer
  1. update the entry in /etc/apt/sources.list.d/zammad.list.distUpgrade to contain the line deb [trusted=true] https://dl.packager.io/srv/deb/zammad/zammad/stable/ubuntu 24.04 main and move /etc/apt/sources.list.d/zammad.list.distUpgrade to /etc/apt/sources.list.d/zammad.list
  2. remove the comment char (#) of the 1st line in /etc/apt/sources.list.d/elastic-7.x.list.distUpgrade and move /etc/apt/sources.list.d/elastic-7.x.list.distUpgrade to /etc/apt/sources.list.d/elastic-7.x.list and
  3. apt update and apt upgrade
  • finally, re-install zammad using the command sudo apt install --reinstall zammad

PS1. Maybe is the case that zammad’s re-installation handles automatically the movement of pg14 cluster zammad’s db to that of pg16, but I have not tested it yet.
PS2. All the above have been tested for zammad 6.4, so better upgrade to it in ubuntu 22.04, before upgrading to 24.04!