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

Infos:

  • Used Zammad version: 6.4*
  • Used Zammad installation type: package
  • Operating system: Ubuntu 24.02
  • Browser + version:

Expected behavior:

Actual behavior:

Steps to reproduce the behavior:

Hello everyone,

I have a Zammad Test System, which looked like this so far.

Ubuntu Server 22.04 (virtualised) with Zammad 6.3.*

I was able to access Zammad, but we haven’t done anything with Zammad yet. The installation has been dormant for a few months.

Now I have received the information via e-mail that 6.4 is available. I then did the update. I was able to connect to Zammad properly and 6.4 was visible.

We have now made a snapshopt.

Then I upgraded Ubuntu 22.04 to 24.04.

Now Zammad no longer starts. Can someone please help me with troubleshooting. Thank you!

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!

Hello elgrinias, thank you for all the background information. Just so that I understand it correctly. In point 1, should the line also be included, or should it be the only one? I have now integrated both lines (i.e. the old and the new) and done everything as described. No errors have appeared, but I still cannot open Zammad via the web browser. I urgently need help with troubleshooting. Thank you very much

I was able to solve the problem myself after all.

1.) Zammad 6.4 don't start after Ubuntu Server Upgrade from 22.04 to 24.04 - #2 by elgrinias

2.) I was still missing the certificates and the nginx configuration. After that I have access to the WebGUI again

1 Like

Yes, since nginx is purged, you have to backup your 22.04 zammad nginx configuration and “restore” it in 24.04, as a post-install/upgrade step, after zammad is re-installed there!

1 Like

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