Yesterday i began to upgrade my selfhosted zammad instance from 5.1.x. But i ran into a problem and wanted to beginn from scratch with the latest backup.
Today i ran into a earlier problem.
I used this updatedinstructions:
Used Zammad version: 5.1.x
Used Zammad installation type: docker-compose
Operating system: debian 10.13
Browser + version: Firefox 119.1
Expected behavior:
the command: git checkout cd424e98689b8dc49878a37b9aab67192c36fd24
should download all nessecarry files to update zammad to 5.2.3 included Postgresql and Elasticsearch upgrade
Actual behavior:
when i enter the command: git checkout cd424e98689b8dc49878a37b9aab67192c36fd24
I get fatal: reference is not a tree: cd424e98689b8dc49878a37b9aab67192c36fd24
Steps to reproduce the behavior:
open terminal
connect to docker host
change into zammads folder where all the docker-compose files are
enter āgit checkout cd424e98689b8dc49878a37b9aab67192c36fd24ā
is there really no one, who can tell me how to update my zammad instance from 5.1.x to the latest build? the docs are lacking of that since the āgit checkoutā command isnāt working anymore.
is there another way to update?
Primarily i think the Database- and Elasticsearchupdate is the problem why i cannot update to a newer build.
As doumented in the Upgrade-Documentation i used the branch there first. git status <the branch i would like to pull> is giving me this output.
git status cd424e98689b8dc49878a37b9aab67192c36fd24
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
and git status gives me this:
git status
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: .env
modified: .examples/proxy/docker-compose.proxy-example.yml
modified: .examples/proxy/docker-compose.yml
modified: .github/docker-image-build.sh
modified: .github/linters/.markdown-lint.yml
modified: .github/stale.yml
modified: .github/workflows/ci-remote-image.yaml
modified: .github/workflows/ci.yaml
deleted: Dockerfile
modified: README.md
deleted: containers/zammad-elasticsearch/Dockerfile
deleted: containers/zammad-postgresql/Dockerfile
deleted: containers/zammad-postgresql/backup.sh
modified: containers/zammad/Dockerfile
modified: containers/zammad/docker-entrypoint.sh
modified: containers/zammad/setup.sh
modified: docker-compose.override-local.yml
modified: docker-compose.override.yml
modified: rancher-compose.yml
Untracked files:
(use "git add <file>..." to include in what will be committed)
.github/dependabot.yml
scripts/
no changes added to commit (use "git add" and/or "git commit -a")
git pull, pulls the resent release, when i delete the files i changed.
Does this say you something?
In the meantime i have tryed to update my instance step by step an got stuck at version 5.4.1. So i had to restore from a backup but now i get some errors when i start the containers with the last funktioning backup.