Zammad host operating system upgrade and package repository migration

A package-installed Zammad needs a supported Linux host and the new package repository and key before it can keep receiving updates. This page covers the order of work, the backup to take first, and the checks that confirm the move worked.

On this page

Why a Zammad host OS upgrade and repository migration cannot wait for a feature release

If your package-installed Zammad sits on a host or repository setup that is behind, packages in the old repositories no longer receive updates, so this work cannot wait for the next feature release. This page covers moving the Linux host to a supported distribution version and switching to the new package repositories and release channels. The move is separate from the Zammad application upgrade. It needs a new repository key and repository configuration, and the packages come from a new toolchain hosted under another URL. Check your current distribution against the supported list: CentOS/RHEL 9 and 10, Debian 11, 12 and 13, openSUSE Leap/SLES 15 and 16, and Ubuntu 22.04, 24.04 and 26.04. If your host is on a release outside that list, confirm the exact upgrade path with Zammad before you change anything.

Channel choice matters because security fixes are published on more than one line. Zammad shipped security release 6.5.5 on 15 October 2026, in parallel with the 7.x line, which received 7.2.1 and 7.2.2 in early October 2026. If you remain on 6.5, you need the stable-6.5 channel to receive those fixes. If you move to the stable channel, you move to the 7.x line, which has its own database and search requirements covered in sibling pages. Confirm which channel matches your target version before you change the repository file, because the host upgrade and the application version are tied together in the same change window.

Take a full backup before you touch the repository configuration or the host. Back up the PostgreSQL database, the attachment storage and the configuration files, and confirm that you can restore them to a test host. Also record the current host release, the installed Zammad version and the repository file contents so you can roll back. Ask your package or platform team to confirm the repository key fingerprint from Zammad's own documentation at the Zammad host upgrade and repository migration guide rather than from a forwarded email. A successful host upgrade on a test copy is the cheapest evidence you can collect before production.

What changes on the host and in the repositories

This table compares what changes on the Linux host and in the package sources when a package-installed Zammad moves to the new repositories. Read each row as a question to answer for your host before you touch packages: is the distribution on the supported list, is the old repository still in use, and has the new key been added. Confirm the exact repository URLs and channel names in the host upgrade documentation before you edit any source file.

ChangeImpactAction needed
New toolchain and hosting URLZammad packages are built with a new toolchain and served from a different URL than the old repositories.Note the new repository address from the host upgrade documentation and plan the change in your maintenance window.
Old repositories no longer updatedPackages still served from the old repositories stop receiving updates, so the host can silently fall behind security fixes.Check which repository file the host uses today and switch it to the new source.
New repository keyPackage managers reject packages that are not signed by the key the new repositories use.Import the new repository key as the documentation describes, then confirm the key fingerprint against the vendor's published value.
Repository configuration fileThe source definition for apt, dnf, zypper or the equivalent must point at the new location and the correct channel.Edit the repository definition for your package manager, refresh the package index and confirm the candidate version before upgrading.
Stable and stable-6.5 channelsThe stable channel follows the current release line, while stable-6.5 keeps 6.5 installs on that line for security fixes. Choosing the wrong channel changes which version your host will install.Confirm the channel names in the host upgrade documentation, then select the channel that matches your target release line.
CentOS/RHEL 9 and 10Packages are provided for these major versions. Hosts on other majors are outside the published package list.Confirm your exact major version and plan an OS upgrade first if you are on an unlisted release.
Debian 11, 12 and 13Packages are provided for these releases. Older Debian hosts need an OS upgrade before the Zammad upgrade.Check your release with the OS release file and confirm the target Debian release before changing sources.
openSUSE Leap/SLES 15 and 16Packages are provided for these releases, so SUSE hosts must match one of them before the repository switch.Confirm the service pack or Leap release on the host and plan an OS upgrade if it falls outside this list.
Ubuntu 22.04, 24.04 and 26.04Packages are provided for these LTS releases. Hosts on other Ubuntu versions have no published Zammad package path here.Confirm the release code name on the host and verify the matching repository path before upgrading.

Which host and channel combinations are supported

Start by matching your current host to a supported package target before you choose a repository channel. Zammad provides packages for CentOS and RHEL 9 and 10, Debian 11, 12 and 13, openSUSE Leap and SLES 15 and 16, and Ubuntu 22.04, 24.04 and 26.04. Read the /etc/os-release file on the host and compare the distribution name and version against that list. If your host runs a release that is not on the list, plan an operating system upgrade to a supported release first, because the new packages are built for the new toolchain and cannot be expected to install cleanly on an unsupported base. Confirm the exact package targets against the Zammad software requirements page, since the matrix is the authoritative source for your version.

Next, identify which Zammad line you run, because the channel follows the application version, not the host. Check the version in the admin interface or on the server before changing any repository configuration. The stable-6.5 channel keeps a 6.5 installation on its line and receives the security fixes for that line, including the 6.5.5 security release published on 15 October 2026. The stable channel tracks the current 7.x line, where the 7.2 minor release of 23 September 2026 was followed by the security releases 7.2.1 on 6 October 2026 and 7.2.2 on 8 October 2026. Switching a 6.5 installation to the stable channel is a move to 7.x, not a routine update, so it must be planned with the sibling 7.x upgrade and database guidance. Verify current channel names and repository URLs in the Zammad host upgrade and repository migration documentation before you edit any source list.

What to back up and prepare before touching the host

A host operating system upgrade and a repository switch both change packages that Zammad depends on, so a failed step must be recoverable. The six items below form the preparation that should be finished before anyone runs a package command on the host.

Full PostgreSQL and attachment backup

Take a complete database dump and a copy of the attachment storage before any package change. Zammad keeps ticket content in PostgreSQL and files on disk, so a backup that covers only one of them cannot restore the helpdesk. Confirm the exact dump and file copy commands for your install type in the Zammad documentation, and test that the dump can be read back on a separate host before you rely on it.

Minimum database version
PostgreSQL 15
Zammad host upgrade guide

Configuration and reverse proxy files

Copy the Zammad configuration, the environment settings, and the Nginx or Apache reverse proxy files, along with any certificates and systemd overrides. Package upgrades can replace files you edited, so you need the originals to compare against. Record which file changed and why, so the post-upgrade diff is short and deliberate.

Inventory of OS packages and repositories

List the installed Zammad package, the operating system release, and every third-party repository enabled on the host. Packages in the old Zammad repositories no longer receive updates, so you need to know which repository file and signing key each source uses. Note any pinned packages or holds that could block the upgrade.

Test host built from production

Build a separate host from a copy of production, on the same operating system release and with the same database and search versions. Run the repository switch and the OS upgrade there first, then start Zammad and check logins, email, attachments and search. The test host is also the place to confirm that your supported distribution version matches the list in the Zammad requirements.

Maintenance window and communication

Agree a maintenance window with the teams that depend on the helpdesk, and tell agents and customer-facing staff when inbound email and chat may pause. Name a rollback owner and a decision point, and agree in advance who can call the rollback. Confirm the expected downtime from your test run rather than from assumptions.

Record current Zammad and Elasticsearch versions

Write down the installed Zammad version, the Elasticsearch version and the PostgreSQL version before the change. Restores and rollbacks depend on knowing exactly which releases the backup came from, and Elasticsearch compatibility can affect whether search works after the host moves. Keep this record with the backup so the restore path is clear.

How the host, repositories and Zammad packages fit together during the move

The move starts with a verified backup and a test host, then the operating system is upgraded to a supported release before the repository key and configuration are switched. Packages are updated from the chosen channel, and services are verified against the backup. If verification fails, the rollback branch restores the backup, so the diagram shows where to check before moving on.

The phases of the move, with the rollback path returning to the backup.

The order of work for the host upgrade and repository switch

This sequence moves a package-installed Zammad onto a supported host operating system and the new package repositories without losing data or leaving the helpdesk in an unknown state. Each step ends with a check and a point where you can return to the previous state.

  1. Take and verify the backup first

    Before anything changes, take a full backup of the Zammad database, attachment storage and configuration files, then restore it to a separate machine or copy to confirm it is usable. Record the current Zammad version and the host distribution and release. Do not start the repository switch until a restore test has completed. Rollback point: the verified backup is the only reliable way back if the host upgrade fails, so keep it until the upgraded system has run for a period you agree with the business.

  2. Confirm the target distribution is supported

    Check the target operating system release against the supported list in Zammad's software requirements. Zammad packages are published for CentOS and RHEL 9 and 10, Debian 11, 12 and 13, openSUSE Leap and SLES 15 and 16, and Ubuntu 22.04, 24.04 and 26.04. Confirm the target release also matches the Zammad version you plan to run, since package support and PostgreSQL and Redis requirements are tied to the release line. Done when you have written down the exact distribution and version and the matching Zammad version.

  3. Rehearse the full sequence on a copy

    Build a copy of the production host, restore the backup onto it and run the complete sequence there: repository change, operating system upgrade, Zammad package update and verification. Record every command you run, every prompt you answer and every error. Compare the result with the documented steps and note any deviation. Done when the copy passes the same checks you will use in production, and the rehearsal log is ready for the change record.

  4. Hold all changes until the window opens

    Keep the production host untouched until the agreed maintenance window opens and the rehearsal is signed off. Notify agents and channel owners that email, chat and web form intake may pause, and confirm who can make the go or no-go decision. Check that the backup from the first step is still present and readable. Done when the change owner has recorded a go decision and the rollback owner is named.

  5. Replace the repository configuration and key

    Remove the old Zammad repository definition and install the new repository key and configuration, following the commands in Zammad's host upgrade and repository migration documentation exactly as written. Packages in the old repositories no longer receive updates, so this step cannot be skipped or replaced with a manual download. Confirm the new repository is reachable and that the package manager lists Zammad packages from the new source. Rollback point: restore the saved old repository file if the new source cannot be reached, because the installed packages are still in place.

  6. Upgrade the host operating system

    Upgrade the Linux distribution using the distribution vendor's own documented process, not a shortcut. Run the upgrade on the production host with Zammad services stopped as the documentation directs, then reboot if the upgrade requires it. Confirm the operating system reports the target release and that PostgreSQL and Redis services start. Rollback point: the verified backup and the rehearsal log are the reference if the distribution upgrade leaves the host in a state that cannot be repaired within the window.

  7. Update Zammad packages from the selected channel

    Select the release channel that matches your plan, either stable for the current line or stable-6.5 if you must stay on the 6.5 line for now, and update the Zammad packages from the new repository using the documented commands. Let the package scripts run their database migrations and confirm they complete without errors. Check the installed package version against the release you intended. Done when the package manager reports a clean install and the version is correct. Rollback point: restoring the backup returns the database and files to the pre-upgrade state.

  8. Verify web, websocket, jobs, search and email

    Test each path before reopening intake. Load the web interface and log in, confirm realtime updates arrive over the websocket connection, check that background jobs such as scheduled tasks are running, run a search that uses the search index, and send and receive a test email through each inbound and outbound channel. Record the results against a checklist. Done when every item passes. If any check fails, hold intake closed and use the backup or the documented fix for that component before reopening.

How to verify the move and roll back if a check fails

Treat the move as finished only when every check passes on the new host. Confirm that the Zammad services and the web server are running, then sign in as an agent and as a customer, create a ticket through the web form, and reply to it. Open the same ticket in a second browser session and confirm that the update appears without a manual refresh, which shows that the realtime websocket path through the reverse proxy and Redis is working. Run the scheduler and check that scheduled jobs execute on time, since a missed trigger or escalation often surfaces only hours later. Confirm that the search index responds and that new tickets are findable, because Elasticsearch connectivity can break silently after a host change. Finally, send a test email from an outside address into the inbound channel and send an outbound notification to a mailbox you control. Check the package sources on the host as well: the repository file should point to the new repository and the new key should be the one in use, so that future updates come from the supported channel.

Plan the rollback before you start the upgrade. If any check fails and you cannot fix it within the window you agreed, roll back by restoring the backup you took before the change onto the previous host state, including the operating system, the package versions and the repository configuration. Confirm with the vendor and in your own environment whether a backup taken on the newer application version can be restored onto an older one. If it cannot, the snapshot of the host and database taken immediately before the change becomes your only rollback point, so verify that it restores on a test machine before you rely on it. Record which items are restored from which artifact, and keep the old repository configuration available so the previous packages can be reinstalled.

Decide in advance who has the authority to call a rollback, which checks are blocking, and how long you will work through a failure before reverting. Write these decisions into the change record. Ask Zammad support or your partner to confirm the exact rollback steps for your package and distribution version before the window opens, since the documented procedure for the host upgrade and repository migration is the reference to check against. A rollback that has never been rehearsed is a second risky change, so test the restore path on a copy first.

What makes a host upgrade and repository move take longer

This table lists the host and platform conditions that expand a Zammad host upgrade and repository move, and the effect each one has on effort. Read each row as a question to answer about your environment before agreeing on a plan and a backup window. The main takeaway is that the distance between your current distribution release and a supported one matters less than the custom packages, proxy settings and network constraints around it.

DriverEffect on effortWhat to check
Distance between current and supported distribution releaseLarger jumps usually mean more package and library changes to test before cutoverCompare your current release with the supported list: CentOS/RHEL 9 and 10, Debian 11, 12 and 13, openSUSE Leap/SLES 15 and 16, Ubuntu 22.04, 24.04 and 26.04
Custom packages or third-party repositories on the hostConflicts with new dependencies can block the Zammad package updateList all enabled repositories and locally pinned or hand-built packages, and confirm each has a build for the target release
Reverse proxy and TLS configurationProxy config, certificates and websocket routing often need changes after the moveConfirm your Nginx or Apache version, custom vhost files and certificate chain, and test websocket traffic on a copy
Elasticsearch and Redis versionsSearch and realtime features may need their own upgrade or reindex alongside the host changeCheck the installed Elasticsearch and Redis versions against the Zammad software requirements, and confirm the Redis 7 minimum
Database size and attachment volumeLarger databases and attachment stores lengthen the backup, restore test and rollback windowMeasure database dump size and attachment storage, and confirm a restore to a test host completes before you start
Multi-instance setups that need MemcachedEach node must be updated and kept on compatible cache settings, which multiplies the workConfirm whether you run several application nodes and whether Memcached is in place on each one
Air-gapped host or need for an internal mirrorPackage downloads must be mirrored and the new repository key imported before any update runsConfirm whether the host can reach the new repository, or plan an internal mirror and an offline key import

Questions teams ask before a Zammad host upgrade

What drives the cost of upgrading the host in-house versus with a partner?

The main cost is the time of the people doing the work, plus any test capacity and change windows. In-house, your own platform or system administrators carry the cost as internal time. With a partner, you pay for the agreed scope, which should list the hosts, the distribution versions, the test runs, the backup verification and the handover. The biggest cost drivers are the number of hosts, how many Zammad instances share a server, whether Elasticsearch, PostgreSQL or Redis run on the same machine, how many custom integrations need retesting, and whether a staging copy already exists. Ask for a quote that lists the one-time work (assessment, backup, upgrade, repository switch, verification) separately from any recurring support or retainer, and confirm who holds the backup and rollback responsibility.

How long does a Zammad host operating system upgrade take?

Duration depends on the drivers, not on a fixed figure. The main ones are the distance between your current distribution release and the target release, the number of services on the host, the size of the database and attachment storage that must be backed up and restored for testing, whether a test host is available, and how many change windows your organization allows. Package-based installs with a single application server are usually simpler than multi-node setups. Confirm the current timing with the vendor documentation and your own environment before planning, and ask any partner to show the steps and checkpoints that set the schedule in their written scope.

What does the upgrade need from our team?

Plan for four kinds of input. First, administrative access to the host, the database, the search cluster and the reverse proxy, along with the credentials needed to create backups. Second, a change window agreed with the business owners of the helpdesk, since ticket intake will pause during the work. Third, a test host built from a recent backup, so the upgrade and the repository switch can be rehearsed before production. Fourth, named owners for the application, the operating system, the network and the sign-off decision. Without a named owner for go or no-go, rollback decisions tend to stall. Write these inputs into the scope before work starts.

Can a small team perform this upgrade alone?

Often yes, if the team has Linux administration experience, can restore a Zammad backup on a test host, and knows how the mail, search and reverse proxy services are configured. The work is mostly procedural, but it has a few points where mistakes are costly: taking a complete backup first, replacing the repository key and configuration, moving to the correct channel, and checking the application after the package update. A team that has never restored Zammad, or that has no test host, should weigh the risk of learning on the production helpdesk. A partner can cover the gap through a fixed-scope engagement, a reviewed runbook, or a retainer for later upgrades.

What happens if we still use the old Zammad package repositories?

Packages in the old repositories no longer receive updates, so the host stops getting the fixes that are shipped through the new channels. The fix is to add the new repository key and repository configuration, then move to the channel that matches your Zammad line. Confirm the exact steps for your distribution in the vendor's host upgrade and repository migration documentation, because the key location and file names differ by distribution. Do not switch repositories before the backup is verified, and do not assume an older package will update itself. If the host is also on an unsupported operating system, the repository change alone will not solve that, so check the supported distribution versions first.

Does this page apply to Docker Compose or Kubernetes installs?

No. This page covers the Linux host under a package-installed Zammad, including the repository key and channel changes. Docker Compose stacks and Kubernetes deployments are updated through their own procedures, which pull images or chart versions rather than operating system packages. For Docker Compose, follow the upgrade page for that stack, which covers the image tag and the release notes. For Kubernetes, follow the Helm chart upgrade page, which covers chart versions, the Elasticsearch operator requirement and the separate database migration job. Applying host package steps to a container host can change the wrong components, so confirm the install method before you start.

What should a quote for this work include?

A useful quote lists the scope in writing before work starts. It should name the hosts and Zammad instances covered, the current and target distribution versions, the backup and restore verification steps, the test host, the repository key and channel changes, the post-upgrade checks, and the rollback plan. It should separate one-time work from any recurring support, state which party is responsible for the change window and for communication, and name the deliverables, such as a runbook, a change record and a handover. Ask what is excluded, for example Elasticsearch or PostgreSQL upgrades, custom integrations or a move to a different install method, because those are often the reason a host upgrade overruns.

Who runs the move: internal team, partner or retainer

Your own platform or operations team plans, rehearses and performs the operating system upgrade and the switch to the new package repositories. You keep full control of the change window, the host and the decision to proceed or roll back. This works well when your team already runs Linux upgrades under change management and can give the work a documented owner for the whole sequence.

  • Written runbook: A runbook covering the backup taken first, the repository key and configuration change, the distribution upgrade path and the post-upgrade checks, reviewed by someone other than the author.
  • Rehearsal host: A copy of the production host or a staging instance on the same supported distribution version, used to run the steps before the real window.
  • Rollback criteria: Named conditions under which the team stops and restores from backup, agreed before the window opens.
  • Ownership after the change: Who watches the service, logs and package updates once the upgrade is done and who answers for the next Zammad release.
  • Vendor support decision: Whether you need a Zammad self-hosted support subscription for escalation, and what response times that tier commits to.

Before committing, confirm that your team has the time and access to run a rehearsal, and that the supported distribution versions listed for Zammad packages match your target host.

How DeployOpen scopes, delivers and supports the host upgrade

DeployOpen is a Chainscore Labs company that plans, implements, hardens, backs up, upgrades and documents self-hosted open-source platforms inside the client's own cloud accounts, data centers or air-gapped networks. For a host operating system upgrade under a package-installed Zammad, the work is agreed as a fixed scope in writing before anything changes. That scope names the current and target distribution release, the repositories and channels in use, the Zammad version the host must keep running, the backup set and its restore test, the change window, and who signs off each stage. Before quoting, DeployOpen reviews the host inventory with your team, including PostgreSQL, Redis, the reverse proxy, any Elasticsearch cluster, custom certificates and any package pins, so the quote reflects what is actually installed rather than a generic checklist.

The delivery sequence follows the risk. The upgrade is first rehearsed on a copy of the host with a restored backup, where the repository key change, the move to the new repository configuration and the package upgrade are run and timed. Findings from the rehearsal go into a runbook with exact steps, rollback points and a go or no-go checkpoint. In the change window, DeployOpen runs the steps your team has approved, records every command and output, and verifies the result: service health, web and API access, email fetch and send, websocket behavior, search and attachment handling, and a sample of scheduled jobs. The handover covers the runbook as executed, the new repository configuration, the backup schedule and a short operations note for your administrators. Ongoing support, upgrades for the next release channel changes and continuous testing are available as retainers, with terms agreed separately from the fixed-scope work.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.