Difference between revisions of "Zabbix Server Upgrade"
Jump to navigation
Jump to search
(Created page with "Make your backup snap of the vm when shutdown or at least database shutdown. - https://www.zabbix.com/download?zabbix=5.4&os_distribution=ubuntu&os_version=20.04_focal&db=pos...") |
|||
Line 1: | Line 1: | ||
Make your backup snap of the vm when shutdown or at least database shutdown. | Make your backup snap of the vm when shutdown or at least database shutdown. | ||
+ | |||
+ | ``` | ||
+ | Uses standard deb/ubuntu apt methods of update. | ||
+ | It's as simple as going to https://www.zabbix.com/download, selecting right parameters for our install | ||
+ | |||
+ | https://www.zabbix.com/download?zabbix=5.4&os_distribution=ubuntu&os_version=20.04_focal&db=postgresql&ws=nginx # If using ubuntu 20.04+postgres+nginx | ||
+ | |||
+ | After your update release with run commands | ||
+ | |||
+ | dpkg --list | grep zabbix | ||
+ | wget https://repo.zabbix.com/zabbix/5.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.4-1+ubuntu20.04_all.deb | ||
+ | dpkg -i zabbix-release_5.4-1+ubuntu20.04_all.deb | ||
+ | dpkg --list | grep zabbix # This shows new version of zabbix we will update to | ||
+ | apt update | ||
+ | apt upgrade # (Use defaults which is N for No on prompts to overwrite config to keep our existing config) | ||
+ | systemctl restart zabbix-server | ||
+ | It will take serveral minutes to do any database migrations and you will get an error mismatch on https://monitor.extendhealth.com until migrations are complete and then you will get normal login | ||
+ | ``` | ||
+ | |||
- https://www.zabbix.com/download?zabbix=5.4&os_distribution=ubuntu&os_version=20.04_focal&db=postgresql&ws=nginx | - https://www.zabbix.com/download?zabbix=5.4&os_distribution=ubuntu&os_version=20.04_focal&db=postgresql&ws=nginx | ||
- https://www.zabbix.com/documentation/current/manual/installation/upgrade/packages/debian_ubuntu | - https://www.zabbix.com/documentation/current/manual/installation/upgrade/packages/debian_ubuntu |
Latest revision as of 18:08, 25 May 2021
Make your backup snap of the vm when shutdown or at least database shutdown.
Uses standard deb/ubuntu apt methods of update. It's as simple as going to https://www.zabbix.com/download, selecting right parameters for our install https://www.zabbix.com/download?zabbix=5.4&os_distribution=ubuntu&os_version=20.04_focal&db=postgresql&ws=nginx # If using ubuntu 20.04+postgres+nginx After your update release with run commands dpkg --list | grep zabbix wget https://repo.zabbix.com/zabbix/5.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.4-1+ubuntu20.04_all.deb dpkg -i zabbix-release_5.4-1+ubuntu20.04_all.deb dpkg --list | grep zabbix # This shows new version of zabbix we will update to apt update apt upgrade # (Use defaults which is N for No on prompts to overwrite config to keep our existing config) systemctl restart zabbix-server It will take serveral minutes to do any database migrations and you will get an error mismatch on https://monitor.extendhealth.com until migrations are complete and then you will get normal login