Upgrading a Zammad Docker Compose stack

Upgrading a Zammad Docker Compose stack means updating the repository, changing the VERSION image tag, and running the release note steps the containers do not run for you. This page sets out the path, backups, sequence, rollback points and effort drivers.

On this page

How to upgrade a Zammad Docker Compose stack without losing tickets

A team running Zammad from the zammad-docker-compose stack or Portainer that needs to move to a newer release should treat the update as three steps: pull the repository update, change the VERSION value in .env to the target image tag, and restart the containers in a controlled way. The release notes decide whether anything else has to happen first, such as a database change, a search index rebuild or a configuration edit that the containers will not perform for you. Confirm the supported path in the release notes for your target version before you change the tag, not after the containers have restarted.

Zammad's Docker support covers only the Zammad application. Problems caused by the Compose files, the host, Docker itself, Portainer stacks or the reverse proxy in front of the containers are outside that support, so your team or your implementation partner owns that side of the stack. Record the current VERSION value, the commit of the zammad-docker-compose checkout, and the Portainer stack configuration before you start, so a rollback target exists. The Zammad documentation for Docker installs describes the expected layout and the environment variables the stack reads, and it is the first place to check whether your current Compose files still match the documented setup.

Ticket data lives in PostgreSQL and attachments in the storage configured for the stack, so the backup you take first must cover both, and you should confirm that a restore of that backup has been tested on a copy. Plan a maintenance window that covers the restart, the database migrations the new release runs on start, and the time needed to check logins, email inbound and outbound, and a sample of recent tickets. Ask your release owner to confirm which environment variables and Compose settings changed between your current version and the target, and to name who decides to roll back if the post-upgrade checks fail.

What changed in the Zammad 7.2 and 6.5.5 releases

This table lists the Zammad 7.2 minor release, its security follow-ups, the 6.5.5 security release and the platform requirements that each release can change. Read each row as a check to run against the target release notes before you edit VERSION in .env, because the Docker Compose stack does not verify these dependencies for you.

ChangeImpact on a Docker Compose stackAction needed
Zammad 7.2 minor release (23 September 2026)Moves the image tag to a new feature line; upgrade steps may differ from earlier minor releasesRead the 7.2 release notes and confirm whether any manual step is required before running the new image
Security release 7.2.1 (6 October 2026)Contains security fixes for the 7.2 line; a stack on 7.2 without this fix stays exposedConfirm the release notes list no extra steps, then set VERSION to the patched tag
Security release 7.2.2 (8 October 2026)Further security fixes on the 7.2 line; stacks should land on the latest 7.2 patchCheck the notes for changes to the containers or configuration, then apply the latest 7.2.x tag
Security release 6.5.5 (15 October 2026)Security fixes for the 6.5 line, for stacks that stay on 6.5 for nowUpdate to 6.5.5 if you remain on 6.5, and plan the move to 7.x separately
PostgreSQL 15 or newerZammad stores its content in PostgreSQL; an older database version may not be supported by the target releaseConfirm the database image version in your compose file meets the target requirement
Redis 7 or newerRequired for realtime websocket communication; an older Redis image can break live updatesConfirm the Redis image tag in the stack meets the target requirement
Elasticsearch (optional, strongly recommended)Used for faster search, reporting and attachment content search; version support changes between releasesCheck the supported Elasticsearch versions for the target release and plan a reindex if the search cluster changes
Memcached for multi-instance containersNeeded when more than one Zammad container shares the cache; a single installation can use the file system cacheConfirm the Memcached service is present and configured in the stack for the target release

Which upgrade path applies to your Compose stack

The upgrade path depends on the Zammad version your stack currently runs and the release you are moving to. The VERSION value in your .env file sets the image tag, so start by recording it exactly. A team on the 6.5 line faces different breaking changes than a team already on 7.x. A 6.5 installation will meet the MySQL and MariaDB removal and the Elasticsearch changes that come with the 7.x line, while a 7.x installation will mostly deal with minor-release and search-index considerations. Check which database and search versions your stack uses before you choose a target tag.

Security releases are published in parallel for both lines. Zammad shipped 6.5.5 on 15 October 2026, alongside 7.2.1 on 6 October 2026 and 7.2.2 on 8 October 2026, so a team on 6.5 may need a security update before it can plan a feature upgrade. Compare your current tag against the Zammad releases page and decide whether the security fix is a stopgap or the first step of a larger move. Any security fix still needs the same backup and verification steps as a feature upgrade.

Confirm every intermediate step in the official release notes before you pull a tag. Do not infer a path from version numbers alone, because a jump that looks minor can still include a required migration, a removed integration or a changed container command. Write down each release you will pass through, read its notes for steps the containers do not run for you, and confirm them with your own environment in a test copy. Where the notes are unclear, ask Zammad or your partner to confirm the sequence in writing before the maintenance window is booked.

What to prepare before you pull repository updates

Each item below is something you produce or confirm before touching the stack. Together they let you restore the previous state if the new release fails, and they show you what the containers will not change for you. Work through them in order, because the backup and the test copy depend on knowing exactly which version and configuration you are running.

Full backup of data and volumes

Take a PostgreSQL dump, a copy of the attachment storage and a snapshot of the Compose volumes before any change. Confirm that the dump restores into a scratch database and that the attachment copy is complete, not just the database. Record where each backup is stored and who can reach it. Backups made on a newer release may not restore onto an older one, so this set is your only clean rollback point.

Inventory of .env and overrides

List the .env file, every scenario file you load, and any local override files or edited Compose settings. Note which values you set yourself, such as the VERSION line, database credentials and proxy settings. Compare them against the current example files in the repository after git pull so you can see which keys are new, renamed or removed. Keep a copy of the original set outside the working directory.

Environment variables docs

Record of the running tag and digests

Write down the current VERSION value in .env and the image digests reported by docker image ls or docker compose images for each Zammad service. Save the output of docker compose ps and the Zammad version shown in the admin interface. This record tells you exactly what to return to if the new image fails, and it confirms which release you are moving from when you read the release notes.

Test copy on matching hardware

Build a second stack from the same repository commit and the same VERSION tag, restore the backup into it, and run the upgrade there first. Use the same CPU, memory and storage class where you can, because performance problems often appear only under production load. Confirm that logins, email ingestion, attachments and search work on the copy before you schedule the production change.

Elasticsearch and Redis state

Confirm that the Elasticsearch index is healthy and that you know whether a reindex will be needed after the upgrade. Check the Elasticsearch version the stack uses against the version required by the Zammad release you plan to run. Check that Redis is running, responding and holding no stale state you need to clear. Note the index size and the time a rebuild took last time, so you can plan search degradation during the window.

Minimum Redis version
Redis 7
Software requirements

Maintenance window and rollback owner

Agree the maintenance window with support staff who will be affected by ticket intake downtime, and tell customers about it if your channels depend on it. Name one person who makes the rollback call and has the authority to stop the change. Write down the rollback steps, including how to restore the database and volumes and how to pin VERSION back to the recorded tag. Repository support covers only the Zammad application, so decide in advance who handles Docker or Portainer problems.

How the update moves through repository, .env and containers

The update starts with a backup of the stack, then moves through the zammad-docker-compose clone, where git pull brings in the repository changes. The VERSION variable in .env sets the image tag, and the new image is pulled and the containers recreated. The operator then checks the application, the search index and background jobs, and rolls back if a check fails. The boundary matters: the repository and tag change move the containers, but steps named in the release notes are the operator's to run.

Update path from backup through repository, tag and container recreation, with rollback branch.

Upgrade sequence with checks and rollback points

This sequence moves a Zammad Docker Compose stack to a chosen release in a controlled order, so each stage has a verified state and a clear point to stop or restore. Each step closes with a check you can record before moving on.

  1. Confirm the target release and its notes

    Check the Zammad releases page for the target version, whether it is a minor release, a security release or a patch on a line you already run, and read its release notes for steps the containers do not run for you, such as database changes, search index reindexing, or changed reverse proxy settings. The person responsible for the stack writes down the current running version, the target tag and the list of manual steps. Done means you have a written list of manual actions and a named owner for each one. Confirm that your current host and PostgreSQL and Redis versions meet the requirements for the target release on the software requirements page.

  2. Take backups and record the rollback baseline

    Before changing anything, back up the PostgreSQL database, the attachment storage used by the stack, and a copy of the .env file and any scenario files you have edited. Record the current image tag and the output of the git commit in the zammad-docker-compose directory. Restoring this backup is the only way back once a newer database schema has been applied, so treat it as the rollback point for the whole upgrade. Done means you have a backup you have confirmed can be read, stored outside the host being upgraded, and noted with its date and version.

  3. Pause ticket intake during the change window

    Decide whether inbound email, web forms, chat and phone intake need to stop while the containers are recreated. If they do, pause the channels or post a notice to customers and agents, and confirm that no ticket processing jobs are running. The owner of the helpdesk approves the window. Done means the agreed pause is in effect and you can show that the channels are quiet, so messages arriving during the change can be recovered from the mail server or channel queue afterward.

  4. Update the compose repository and compare configuration

    In the zammad-docker-compose directory, run git pull to fetch the repository updates, then compare your .env file and scenario files against the new example files in the repository. Carry over any local changes you intended to keep, such as the scenario file you use and the proxy settings, and record each difference in your change notes. Confirm that new variables described in the release notes are present. Done means you can list every difference between your configuration and the new example, with a decision recorded for each one.

  5. Set the VERSION tag and pull the new images

    Edit the VERSION variable in .env to the exact target tag, then run the pull command for the compose file you use so the new images are downloaded before anything is stopped. If you manage the stack in Portainer, make the same change in the stack environment variables and pull the images from the stack view. Done means the images for the target tag are present on the host and the VERSION value in your environment matches the tag you confirmed in the first step.

  6. Recreate containers and run manual release steps

    Recreate the containers with the compose up command for your scenario, which starts the new containers and runs the application's own startup tasks. Then run each manual step from your release note list, such as a search index rebuild or a configuration change that the containers do not apply for you. Record the time and output of each step. Done means every container reports a healthy running state, the logs show no startup errors, and each manual step has a recorded result. If a stage fails, the backup from step two is the only route back once the database has changed.

  7. Verify login, tickets, email, websockets and search

    Run a short acceptance check with a test agent and a test customer account. Confirm sign-in, create a ticket through the web interface, send an email into the system and confirm it becomes a ticket, check that live updates arrive without a page refresh, which shows the websocket connection works, and run a search that returns the test ticket. Done means each check passes and is written down. If a check fails, decide whether to fix it forward or restore the backup, and do not resume intake until the decision is recorded.

  8. Record the new rollback point and resume intake

    Take a fresh backup of the upgraded system, record the new image tag, the git commit of the compose repository and the list of changed configuration values, and then resume ticket intake. Keep the earlier backup until the new one has been tested on a restore or until the agreed observation period ends. Done means a new backup exists with its version noted, the intake channels are running again, and the change record is closed with the results of each check.

Applying the update from Portainer or the command line

If your team manages the Zammad stack through Portainer, the stack definition is held in Portainer rather than in a shell session on the host. The compose file and the environment variables are stored with the stack, so the image tag you change is the VERSION value in the stack's environment settings, which should match the value you set in the .env file of the repository clone. Keep the two aligned so that a later redeploy from either place does not roll Zammad back to an older tag.

  • Stack and environment location: Open the stack in Portainer, then review the compose definition and the environment variables section. Record the current VERSION value before you edit anything.
  • Image tag change: Update VERSION to the target release, then redeploy the stack with the option that pulls updated images, so the new image is fetched rather than reused from cache.
  • Scenario and volume files: Confirm that any scenario override files or bind mounts referenced by the stack still exist on the host at the paths the stack expects.
  • Log checks: Use the container view in Portainer to open logs for the Zammad application containers, the database, Redis and Elasticsearch if they are part of the stack. Look for migration output and errors during startup.
  • Rollback record: Note the previous tag and the backup identifier so that a return to the prior image is a planned action, not a search through history.

Before you consider the redeploy complete, confirm that the web application loads, that background jobs are processing, and that no container is restarting in a loop. Portainer and Docker problems are outside Zammad application support, so the runbook for these steps should be owned by your team.

What makes a Compose upgrade take longer

This table lists the factors that most often extend a Zammad Docker Compose upgrade, why each one adds work, and what to check before you schedule the window. Read each row against your own stack, since a plain stock deployment with small attachments sits at the short end of most rows.

DriverWhy it adds effortWhat to check
Local changes to Compose or scenario filesEdits to docker-compose.yml, override files or scenario files can conflict with repository updates and must be merged by hand.Run git status and diff against the upstream repository before pulling. List every local file you have changed.
Custom integrations and third-party appsCustom scripts, webhooks, SAML or OIDC settings and installed apps may depend on behavior that changes between releases.Inventory each integration and confirm its compatibility with the target version in the release notes and with its owner.
Data volume and attachment sizeLarger PostgreSQL databases and attachment stores lengthen the pre-upgrade backup, the restore test and the container restart.Measure the database dump size and the volume holding attachments, and time a test backup and restore on a copy.
Elasticsearch reindexingIf the release requires or recommends a reindex, search is degraded while the index rebuilds, which can extend the window.Read the target release notes for search changes and confirm the Elasticsearch version the release supports.
Number of environments to testEach environment (staging, test, production) needs its own copy, upgrade run and smoke test before production is touched.Confirm how many environments exist and whether a copy of production data can be restored to staging.
Release note steps the containers do not runManual steps such as config changes, database actions or host changes are not performed by the Compose files and must be done by the operator.List every manual step in the release notes for each version between your current tag and the target tag.
Portainer-managed stacksStack definitions edited in the Portainer interface can drift from the files in the repository and need to be reconciled first.Compare the stack definition in Portainer with the repository files and record any differences.

Testing the upgrade and rolling back when checks fail

A rehearsal on a copy of production data is the main protection against a failed Zammad upgrade on Docker Compose. Restore the latest backup to a separate host or a clone of the stack, point it at a non-production mail account, and run the upgrade there with the same VERSION value you plan to use in production. Then test the paths your agents and customers actually depend on: sign-in (local accounts and any SSO provider you have configured), ticket creation from inbound email and from the web form, outgoing notifications, attachment upload and download, search results from the Elasticsearch index, and background jobs such as scheduled triggers and overviews that run through the scheduler container. Record what passed and what failed, and treat any difference between the rehearsal and production as a finding to resolve before the window opens.

Rollback depends entirely on the backup, so confirm restore behavior before you need it. Check the release notes for the target version, because a backup taken on a newer release may not restore onto an older one. Practically, that means you should not assume you can pull the previous VERSION tag and restore a backup created after the upgrade started. Confirm with Zammad documentation, or with the vendor, which backup format and database state each release supports, and rehearse the restore on a copy as well. Keep the pre-upgrade database dump, the attachment storage data and the .env file together, and write down the exact commands and the image tag you would return to. Also confirm how Elasticsearch will be handled, since search may need a reindex after a restore.

What buyers ask before upgrading a Zammad Docker stack

What does it cost to upgrade a Zammad Docker Compose stack?

The cost is mostly labor, and it varies with how far the stack has drifted from the current repository, how many customizations sit on top, and how much testing the team wants before cutover. Your own team pays in staff hours for backups, the .env change, release-note review and smoke testing. A partner is paid under a written, fixed scope that lists the environments, the versions covered and the deliverables. Zammad's self-hosted support subscriptions cover the application only, so they are a separate purchase from any upgrade work. Ask for a quote that separates one-time work (assessment, the upgrade itself, testing, runbook) from anything recurring (retainers, support, patch cycles), and ask what is excluded, such as Portainer or host problems.

Can our own team upgrade Zammad in Docker without a partner?

Often yes, if one or two engineers can read the release notes, follow the Docker Compose steps and reverse an update when something fails. The core procedure is a repository update with git pull, a change to the VERSION variable in .env, and a container restart, but the release notes can add steps the containers do not run for you, such as database changes, search index work or configuration edits. Check whether your stack is in Portainer, has custom scenario files or sits behind a custom reverse proxy, because each adds work. A partner makes sense when the team lacks time, when the stack is production-critical, or when the release notes call for steps nobody has done before.

What does the upgrade need from our team?

Plan for access and decisions more than hands-on work. You need administrative access to the Docker host, the Portainer instance if used, and the Git remote that holds your copy of the zammad-docker-compose repository. You also need a backup you can restore, meaning a database dump, attachment storage and the .env and scenario files, and someone who has tested a restore before. A test host that mirrors production is strongly advisable. Name a release owner who approves the target version, a technical contact who runs the change, and a business owner who signs off on downtime. Agree a change window with the helpdesk users in advance, since agents will be unable to work during the restart.

How long a change window should we plan for a Zammad Docker upgrade?

The window depends on the drivers, not a fixed number. Its length grows with database size, attachment volume, the number of Zammad containers and any migration or reindex the release notes require, since search reindexing can leave search degraded while it runs. Stack complexity matters too: Elasticsearch, Redis, PostgreSQL and the reverse proxy each add restart and verification steps. Include time for the pre-upgrade backup, the post-upgrade smoke test covering email, channels and logins, and a rollback decision point. Confirm the expected duration with your own test run on a copy of production, and ask any vendor or partner to base their estimate on that run.

Does Zammad support cover problems with Docker or Portainer?

No. Zammad's documentation states that its support for Docker deployments covers only the Zammad application, not Docker Compose or Portainer specific problems. A failing container runtime, a broken volume mount, a Portainer stack definition error or a host firewall issue falls to your team or a partner. Before an upgrade, confirm which person owns host-level support, and keep the Docker host, Portainer and reverse proxy in your own runbook. Zammad's support tiers and response times apply to the application, so check what your subscription covers before you rely on it during an incident.

When should we hire a partner for a Zammad Docker upgrade?

Hire a partner when the upgrade carries risk your team cannot absorb in the planned window. Typical triggers include a stack that has not been updated for several releases, custom scenario files or integrations that the new release might affect, a Portainer-managed stack without documented steps, release notes that call for manual database or search work, or a helpdesk that cannot tolerate a failed change. A partner can plan the upgrade as a fixed-scope engagement, with written scope, deliverables and timelines agreed before work starts. DeployOpen implements, hardens, backs up and documents self-hosted platforms in your infrastructure, but it does not issue audit reports or certifications.

What does a rollback look like after a failed Zammad Docker upgrade?

A rollback returns the stack to the previous VERSION tag and the data state that matched it, so the backup you took before the change is the critical input. In practice the steps are to stop the containers, set VERSION in .env back to the prior image tag, restore the database and attachment storage from the pre-upgrade backup if the new release changed data, and start the stack again. Some release-note changes cannot be reversed by image tag alone, so read the notes before the window opens and confirm with a restore test on a copy. Record the decision point in the runbook and agree who can call a rollback during the window.

How DeployOpen scopes, delivers and supports the Zammad upgrade

DeployOpen plans, implements, backs up, upgrades, documents and supports self-hosted open-source platforms inside the client's own infrastructure, so a Docker Compose Zammad upgrade is scoped against your real stack, versions and release notes. The work is fixed-scope, with scope, deliverables and timelines agreed in writing before any change is made to your environment.

How we scope

  • Record the current Zammad version, the VERSION value in .env, and the zammad-docker-compose commit in use.
  • List every target release between your version and the destination, with the release notes read for container-external steps.
  • Confirm the Portainer or shell workflow, backup location, maintenance window and who approves the change.
  • Agree the written scope, deliverables and timeline in advance, with the quote following directly from that scope.

How we build

  • Take and verify a full backup of the database, attachments and configuration before any image or repository change.
  • Update the zammad-docker-compose repository, adjust the VERSION tag and any scenario files, then pull and restart the stack.
  • Run the upgrade first on a copy of the environment so issues surface before production is touched.
  • Check Elasticsearch, Redis, reverse proxy and SSO settings after the update, along with the steps in the release notes.

How we hand over

  • Deliver a written runbook with the exact commands, configuration changes and rollback steps used during the upgrade.
  • Document the backup restore test results, the version record, and any manual release-note steps completed by the client team.
  • Walk the client's administrators through post-upgrade checks, log locations and the schedule for future repository pulls.
  • Record open items and what the client should confirm with Zammad support, since container-level support is separate from application support.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer for future Zammad and Docker Compose changes.
  • Review each new release's notes before a planned update so breaking changes are scheduled rather than discovered in production.
  • Keep the stack documented as it changes, so later upgrades start from a current baseline instead of a rebuild.
  • Ask Zammad about application-level issues, since its documented Docker support covers the application, not Docker Compose or Portainer.

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.