Collaboration & Productivity

How to Update Zammad: Steps, Backups, and Breaking Changes

J
James Eriksson
··12 min read
Step-by-step guide to updating Zammad safely: backup checklist, package vs Docker, common failures, and when to use managed hosting instead.
TL;DR
  • Back up PostgreSQL database, Elasticsearch index, and /opt/zammad attachments directory before any update
  • Cannot skip Zammad major versions; always update sequentially from 6.x 7.0 7.1 7.2
  • Package updates (apt/dnf/zypper) are easiest; Docker updates offer better rollback and reproducibility
  • Zammad 7.2 requires Elasticsearch 8.15+ and Debian 12+ or Ubuntu 22.04+; version mismatches are the most common failure
  • Zammad 7.2.3 (November 2026) patches zero-day vulnerabilities discovered in September 2026; upgrade urgently if on 7.0 or 7.1

Updating Zammad takes 30 minutes to 2 hours and requires stopping the service, backing up your database, and running your package manager or Docker commands. The process varies slightly between Debian/Ubuntu, RHEL/CentOS, and Docker--and you must follow the release notes, as major versions include breaking changes and cannot be skipped.

Should You Update Zammad? Or Is It the Wrong Tool?

Updating matters when: Zammad 7.2.3 (November 2026) patches zero-day vulnerabilities discovered in September 2026, feature releases add audit logging or improved webhook handling, and your current version reaches end-of-life. Zammad works best for small-to-medium support teams (5-50 people) who want email, chat, phone, and social channels in one open-source tool and can tolerate managing infrastructure. It is not ideal if: you have a team of two where one person can barely maintain ops, you need zero-downtime deployments, or you are highly regulated and want someone else to handle patching entirely. For those cases, Opsily offers managed Zammad hosting where we handle updates, backups, and 99.9% uptime guarantees on EU infrastructure.

Zammad is free to self-host, with no per-agent fees. Zendesk charges $55-$149 per agent per month. osTicket is also free but older and less actively maintained. Chatwoot is newer and faster-growing, but Zammad has more third-party integrations and a larger install base (6.1K GitHub stars, 20.8K commits, GNU AGPLv3). If you are on Zammad and comfortable with updates, stay. If updates are overhead you cannot absorb, switching to managed hosting often costs less than the ops time you save.

Zammad Versions and Release Schedule

Zammad 7.2.3 is the current stable release as of November 2026, released to patch critical vulnerabilities. Major versions matter because each one includes database migrations and schema changes that cannot be reversed, so skipping major versions is not supported. Here is what you need to know: Zammad 6.x reached end-of-life in mid-2026 and no longer receives patches. Zammad 7.0 (March 2026) dropped MySQL support entirely, requiring PostgreSQL, and added AI-powered ticket summaries. Zammad 7.1 added minor features. Zammad 7.2 (September 2026) introduced audit logging, requires Elasticsearch 8.15 or later (up from 8.x), and requires Debian 12 or later if using the official packages. If you skip from 6.x to 7.2, the database migrator will run all three migrations in sequence, but this is officially untested and you must have a restorable backup.

Support timeline: Zammad typically maintains two major versions with security patches. Zammad 7.0 is now maintenance-only. Zammad 7.1 receives bug fixes. Zammad 7.2 is current and receives all patches. If you are on 6.x, update to 7.0 first, then to 7.2 in a second maintenance window. The release notes always flag breaking changes. Read them before updating.

Before You Update: Backup and Checklist

Backing up before an update is not optional because database migrations can fail silently or leave you in an inconsistent state. Your backup should include three things: the PostgreSQL database, the Elasticsearch index (or be comfortable rebuilding it, which takes 10-30 minutes), and the /opt/zammad attachments directory where Zammad stores uploaded files. Restore the database from backup takes 5-15 minutes, so a full recovery is fast if something goes wrong. Here is your pre-update checklist:

  1. Read the release notes for your target version on zammad.com/product/releases. Flag any items marked "breaking change" or "requires action."
  2. Verify your Elasticsearch version matches the requirement. Zammad 7.2 requires Elasticsearch 8.15 or later. If you are on 8.11, upgrade Elasticsearch first.
  3. Verify your OS version. Zammad 7.2 packages require Debian 12 or Ubuntu 22.04 or later. If you are on Debian 11, upgrade the OS first or use Docker.
  4. Back up the database: pg_dump zammad_production > zammad_backup_2026-11-26.sql. Compress it: gzip zammad_backup_2026-11-26.sql.
  5. Back up attachments: tar -czf zammad_attachments_2026-11-26.tar.gz /opt/zammad/storage/.
  6. Write down the backup file names and store them offsite or in a secondary drive.
  7. Plan a maintenance window. Notify your users that tickets will be read-only for 30 minutes to 2 hours.
  8. If you are updating across multiple major versions (e.g., 6.x to 7.2), do it one major version at a time, testing after each step.

After you have backed up, verify the backup is readable: gunzip -t zammad_backup_2026-11-26.sql.gz. If it passes, you are ready.

Updating Zammad: Package Installation

Package updates on Debian, Ubuntu, RHEL, CentOS, and openSUSE follow the same pattern: stop the service, upgrade the package, run post-install helpers, and restart. The commands differ by OS. Here is Debian/Ubuntu: Stop the service: sudo systemctl stop zammad. Update: sudo apt update && sudo apt upgrade zammad. The apt update will trigger the database migrator automatically, so watch the output. If it shows errors, do not restart yet--roll back the package and restore your database backup. After the upgrade completes, restart: sudo systemctl start zammad. Check the service: sudo systemctl status zammad. It should show "active (running)." If you see boot loops or errors about Elasticsearch, check the section "Common Update Failures" below.

For RHEL/CentOS 8+: Stop the service: sudo systemctl stop zammad. Update: sudo dnf upgrade zammad (or yum on older RHEL 7). After the upgrade, restart: sudo systemctl start zammad and verify: sudo systemctl status zammad.

For openSUSE: Stop the service: sudo systemctl stop zammad. Update: sudo zypper update zammad. Restart: sudo systemctl start zammad.

In all cases, the first time you start Zammad after an update, it will run database migrations. This can take 1-10 minutes depending on your data size. You will see messages in the logs. Do not interrupt or restart during this time. After it finishes, the service will listen on port 3000 (or your configured port). Open the web UI and log in. If you see a warning about the search index, Zammad is running in fallback mode (search is slower) until you rebuild the index, which you can do in the admin panel under "Maintenance" > "Rebuild search index." The rebuild happens in the background and you do not need to stop the service.

Updating Zammad: Docker and Docker Compose

Docker updates are simpler because you do not manage dependencies or databases directly--the container does. To update Zammad in Docker Compose: Pull the latest image: docker-compose pull zammad. Bring up the new container: docker-compose up -d. Docker will stop the old container, start the new one with the same volumes, and re-run migrations if needed. You can watch the progress: docker-compose logs -f zammad. When you see "Zammad is up and running," it is ready. The entire process takes 2-5 minutes.

To verify the update worked, check the version in the admin panel under "System" > "About Zammad" or run: docker-compose exec zammad zammad run rails runner 'puts Zammad::VERSION'. If you need to rollback (e.g., if the new version has a bug), stop the containers and restore your database backup, then bring up the previous image tag: docker-compose down, restore the database, then set image: zammad:7.1 in your compose file and run docker-compose up -d. Zammad will migrate down and forth if needed.

Portainer users can avoid the command line entirely: log into Portainer, go to "Containers," right-click the Zammad container, select "Redeploy," choose "Pull the latest image," and click "Redeploy." Portainer will handle pulling, stopping, and restarting. This takes 1 click instead of 3 commands.

Common Update Failures and Fixes

Elasticsearch version mismatch is the most common failure. Symptom: Zammad starts but shows "Elasticsearch is not available" in the admin panel, or you see Errno::ECONNREFUSED in the logs. Cause: Zammad 7.2 requires Elasticsearch 8.15, but you are running 8.11 or older, or Elasticsearch did not start. Fix: Check Elasticsearch version on port 9200: curl -s localhost:9200 | grep number. If it is below 8.15, upgrade Elasticsearch first (usually a minor version bump; see Elasticsearch docs). If the version is correct but the connection failed, check that Elasticsearch is running: docker ps | grep elasticsearch or systemctl status elasticsearch. If it is not running, start it: systemctl start elasticsearch.

Database locked during update is the second-most common failure. Symptom: The package upgrade stalls or fails with a message about "acquired lock." Cause: Another process is using the database, or the previous update attempt did not clean up. Fix: Check what is running: sudo lsof /var/lib/postgresql/ or ps aux | grep zammad. Kill any hung processes: sudo pkill -f zammad. Then retry the upgrade: sudo apt upgrade zammad.

Breaking changes in release notes ignored. Symptom: Webhooks are not firing, settings are reset, or integrations are disabled after the update. Cause: Zammad 7.2 changed how webhooks are stored and required re-configuration. Solution: Always read the release notes and test with a staging instance first if you have third-party integrations.

Filesystem permissions after update. Symptom: The service starts but cannot write to the log directory or attachments folder. Cause: The update changed file ownership to the zammad user, but the directory is still owned by root. Fix: sudo chown -R zammad:zammad /opt/zammad and sudo systemctl restart zammad.

If an update fails mid-way, roll back: Stop the service: sudo systemctl stop zammad. Restore your database backup: gunzip -c zammad_backup_2026-11-26.sql.gz | psql -U zammad zammad_production. Downgrade the package: sudo apt install zammad=7.1.0-1 (replace with the version you want). Restart: sudo systemctl start zammad. You are back to the previous version. Try the update again after reviewing the release notes.

Package vs Docker vs Source: Which Update Path Is Right?

Package installation (apt/dnf/zypper) is the easiest for most users. You get automatic updates if you enable unattended-upgrades, the service restarts automatically, and troubleshooting is straightforward because logs go to syslog. Best for: teams running Debian, Ubuntu, RHEL, or openSUSE with no Kubernetes.

Docker Compose is the most reproducible. You version-control your compose file, rollback by changing one tag, and can run the exact same setup on another server. If the container breaks, you spin up a new one and restore from backup. Best for: teams comfortable with containers and wanting quick disaster recovery, teams running multiple instances, or teams using Kubernetes.

Source installation (compile from git) gives you the latest unreleased code and the ability to patch Zammad yourself. But it is the hardest to maintain and troubleshoot. Zammad GmbH does not officially recommend it for production. Best for: developers contributing to Zammad or running custom forks.

Zammad GmbH officially recommends packages for most deployments. The release notes say so. If you are unsure, use packages on Debian 12 or Ubuntu 22.04, or use Docker Compose if you already know containers.

When to Use Managed Hosting Instead

If you are updating Zammad monthly to track security patches, rebuilding search indexes, debugging broken webhooks, and managing Elasticsearch version compatibility, the ops burden is real. Opsily removes that burden entirely. We update Zammad for you during your maintenance windows, monitor Elasticsearch health, back up your data to multiple regions, and guarantee 99.9% uptime. You get a restore-to-any-point-in-time, audit logs showing what changed and when, and a support team that can roll back a bad update in 5 minutes.

The cost is usually offset by the ops time you save. If your team bills at $100-$200 per hour and you spend 1 hour per month on Zammad maintenance, managed hosting pays for itself immediately. Opsily pricing starts at $49/month for a small instance. For small teams, managed Zammad hosting is worth evaluating.

Frequently Asked Questions

Can you skip Zammad major versions when updating?

No. The database migrator will attempt to run all migrations in sequence, but this is unsupported and can leave your data in an inconsistent state. Always update one major version at a time: 6.x 7.0 7.1 7.2. Test after each step in a staging environment if possible.

Do you need to backup before updating Zammad?

Yes. Database migrations can fail, Elasticsearch can get out of sync, and filesystems can fill up. A backup takes 5 minutes and can save you hours. Backup the PostgreSQL database, Elasticsearch index, and attachments directory.

What's the difference between Zammad package and Docker updates?

Package updates use apt/dnf/zypper and trigger system-level restart handlers. Docker updates use image pulls and container restarts. Docker is more reproducible and rollback-friendly; packages integrate better with existing OS tooling. Both produce the same final Zammad version.

What is Elasticsearch and why do I need it for Zammad 7.2?

Elasticsearch is a search engine that indexes all Zammad tickets, making full-text search fast. Zammad 7.2 requires Elasticsearch 8.15 or later and will not start without it. Zammad 6.x used MySQL's search, which was slower. If Elasticsearch is not running, Zammad falls back to a slower search mode but continues working.

What happens if a Zammad update fails?

If the package upgrade fails, it usually rolls back automatically and your Zammad stays at the old version. If the database migration fails, you are left at the old version and the new package is half-installed. Restore your database backup, downgrade the package, and try again after reading the release notes. With Docker, failed updates leave the old container running; just pull the old image tag and restart.

How long does a Zammad update typically take?

Service downtime is 5-30 minutes for small instances (under 100,000 tickets), 30 minutes to 2 hours for large instances. Database migration time scales with data volume. Elasticsearch rebuilds happen in the background after restart and do not block the UI.

Do I need to rebuild the search index after every Zammad update?

No. The search index is rebuilt automatically during migration if the index schema changed. If you notice search results are stale or incomplete, you can manually trigger a rebuild in the admin panel under "Maintenance." It runs in the background and you can keep using Zammad.

The Bottom Line

Updating Zammad is straightforward if you follow three rules: back up before you start, read the release notes for breaking changes, and do not skip major versions. Package updates work for most users; Docker is best if you use containers; source updates are for developers only. If ops overhead is a problem, managed Zammad hosting removes it entirely and usually costs less than the time you would spend managing updates and backups yourself.

Skip the update burden entirely
Opsily handles Zammad updates, backups, and monitoring on EU infrastructure with 99.9% uptime.
Get Started Free

Ready to self-host your own apps?

One server. Multiple apps. No per-app fees.

Get started →