Zammad V. 4.0 Upgrade (docker-compose)

Infos:

  • Used Zammad version: 4.0.0.-20
  • Used Zammad installation type: docker-compose, postgres
  • Operating system: Ubuntu 18.04.6 LTS
  • Browser + version: n/a

I have to upgrade a very (!) old installation of Zammad V. 4.0.0-20 with 10K tickets in the postgres database.
I wanted to install a test host with that old Zammad version, import the database and upgrade like considered in the docs (V. 4 → 5 → 6).
But I am not able to install a docker-compose installation with Zammad v. 4 on a new host. Gives me complete errors. Is V. 4 extremely outdated, so that there is no more image available?

Expected behavior:

  • Install Zammad V. 4.0.0-20 with docker-compose

Actual behavior:

  • Installation not possible. Not clear if image is too old and missing or dependencies (redis, postgres, etc.) not satisfied:
zammad-init Error        manifest unknown
zammad-railsserver Error context canceled
zammad-scheduler Error   context canceled
zammad-websocket Error   context canceled                                                                                                                                    
zammad-nginx Error       context canceled                                                                                                                                    
zammad-backup Error      context canceled

Does that mean, that version 4 (also tested with v. 5) isn’t available anymore on dockerhub registry? What can I do now?

Steps to reproduce the behavior:

  • Cloned github repository for docker-compose installation
  • Selected VERSION=4 in my docker .env for installation
  • docker-compose up -d

You will have to dig in the repository of the compose stack to have the old compose versions (file wise) and also have to check the releases for what changed.

Between 3.x and 6.x there has changed so extremely much, that you might be off better with a 5.x stack and a backup and restore.

Hi,

OK, but how to get tht older compose-stack? Especially for v. 5.x? When I clone the zammad-docker-compose repo a git branch -a shows only “master” and “restore-mode”.

When looking into https://github.com/zammad/zammad I can find the older branches but not on https://github.com/zammad/zammad-docker-compose .

Look at the tags. You won‘t enjoy that though.

Hi,

thanks for your patience!

OK, I found the git tag for v. 5.4 installation and cloned the repository. I will follow your advice to import a backup directly into Zammad v. 5.x for upgrading. I took the two backup-files from /var/lib/docker/volumes/zammad-docker-compose_zammad-backup/_data on the original host and I was looking now in the docs Restore — Zammad System Documentation documentation for the restore process, but they show only information on the backup scripts that don’t seem to be used in zammad-docker-compose installations. With docker-compose installations, there seems to be an automatic backup - but wich is the way to restore? Looked at many topics in the community, but it seems there is no “regular” way?

OK, I think I found my way now to arrive to Zammad v. 5.4.1.

Followed these instructions here How to restore the zammad backup? · Issue #68 · zammad/zammad-docker-compose · GitHub and hopefully this way will also work for upgrading to latest v. 6.x.

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