Host Upgrade
TIP
Да ли сте преуморни од комплексних поставки, подешавања, резервних копија и ажурирања? Дозволите нам да вам помогнемо око тога! 🚀
Најлакши и најчешће најјефтинији начин да имплементирате Zаmmad је наш сервис у облаку. Уверите се преко бесплатне пробне инстанце!
If you installed Zammad via package manager and need to upgrade your host operating system, make sure to read the steps below. Some additional steps are required compared to just updating Zammad itself.
WARNING
Always make sure to have a backup of your data before performing an upgrade.
The following operating systems are supported:
| Distribution | Version |
|---|---|
| CentOS/RHEL | 9 |
| Debian | 11, 12 & 13 |
| OpenSUSE/SLES | Leap 15.x / 15 |
| Ubuntu | 22.04, 24.04 |
Уопштено
The general steps, no matter which operating system you are using, are:
- Stop Zammad
- Disable updates for Zammad
- Perform host upgrade
- Reboot host
- Adjust package repository
- Update Zammad
- Start Zammad
Detailed Steps
Stop Zammad
sudo systemctl stop zammadDisable Updates for Zammad
sudo apt-mark hold zammadPerform Host Upgrade
Perform the host upgrade according to the documentation of your operating system. Because this is an advanced task, we don't provide detailed steps here. After upgrading your operating system, proceed with the next steps.
Reboot Host
In case you did not reboot your system after the upgrade, make sure to reboot your system now. Afterwards, check if everything is running as expected. In case Zammad starts automatically, stop it again before proceeding with the next steps.
Adjust Package Repository
Remove Old Repository
Remove the old repository configuration file or disable/delete the old repository in your package manager.
Ubuntu 22.04:
sudo rm /etc/apt/sources.list.d/zammad.listUbuntu 20.04:
sudo rm /etc/apt/sources.list.d/zammad.sourcesAdd New Repository
If the repository key is different for the old and new version your distribution or your distribution expects it in a different location, add the new one. Otherwise, you can add the new repository configuration directly.
Install repository key:
curl -fsSL https://dl.packager.io/srv/zammad/zammad/key | \
gpg --dearmor | sudo tee /etc/apt/keyrings/pkgr-zammad.gpg > /dev/null \
&& sudo chmod 644 /etc/apt/keyrings/pkgr-zammad.gpgUbuntu 22.04
echo "deb [signed-by=/etc/apt/keyrings/pkgr-zammad.gpg] https://dl.packager.io/srv/deb/zammad/zammad/stable/ubuntu 22.04 main"| \
sudo tee /etc/apt/sources.list.d/zammad.list > /dev/nullUbuntu 24.04
INFO
Starting with Ubuntu 24.04, we provide the command to add the repository in the deb822 format.
printf "Types: deb
URIs: https://dl.packager.io/srv/deb/zammad/zammad/stable/ubuntu
Suites: 24.04
Components: main
Signed-By: /etc/apt/keyrings/pkgr-zammad.gpg" | \
sudo tee /etc/apt/sources.list.d/zammad.sources > /dev/nullUpdate package index:
sudo apt updateRe-enable updates for Zammad:
sudo apt-mark unhold zammadUpdate Zammad:
sudo apt upgrade zammad