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.
имајте ово на уму приликом извршавања корака испод. :::
Add repository key:
sudo curl -fsSL "https://go.packager.io/srv/deb/zammad/zammad/gpg-key.gpg" \
-o /usr/share/keyrings/zammad.gpg && sudo chmod 644 /usr/share/keyrings/zammad.gpgAdd repository (Ubuntu 22.04):
sudo curl -fsSL "https://go.packager.io/srv/zammad/zammad/stable/installer/ubuntu/22.04.list" \
-o /etc/apt/sources.list.d/zammad.listAdd repository (Ubuntu 24.04):
sudo curl -fsSL "https://go.packager.io/srv/zammad/zammad/stable/installer/ubuntu/24.04.list" \
-o /etc/apt/sources.list.d/zammad.listИнсталација Zammad-а
sudo apt updatesudo apt install zammadRe-enable updates for Zammad and update Zammad to the latest version available for your operating system.
Update package index:
sudo apt updateRe-enable updates for Zammad:
sudo apt-mark unhold zammadUpdate Zammad:
sudo apt upgrade zammadStart Zammad
sudo systemctl start zammad