I need to move zabbix server from v5.0.40 on CentOS 7 to AlmaLinux 9, zabbix v7.2.4.
Going by manual, I set empty new zabbix server, then stop zabbix-server service and did a mysql restore of database from old zabbix.
Then service zabbix-server exit ob start, and I see in /var/log/zabbix/zabbix_server.log^
How to move old configuration to new system?
History data can be dropped.
Going by manual, I set empty new zabbix server, then stop zabbix-server service and did a mysql restore of database from old zabbix.
Then service zabbix-server exit ob start, and I see in /var/log/zabbix/zabbix_server.log^
Code:
2091:20250228:033329.569 Starting Zabbix Server. Zabbix 7.2.4 (revision c34078a4563). 2091:20250228:033329.569 ****** Enabled features ****** 2091:20250228:033329.569 SNMP monitoring: YES 2091:20250228:033329.569 IPMI monitoring: YES 2091:20250228:033329.569 Web monitoring: YES 2091:20250228:033329.569 VMware monitoring: YES 2091:20250228:033329.569 SMTP authentication: YES 2091:20250228:033329.569 ODBC: YES 2091:20250228:033329.569 SSH support: YES 2091:20250228:033329.569 IPv6 support: YES 2091:20250228:033329.569 TLS support: YES 2091:20250228:033329.569 ****************************** 2091:20250228:033329.569 using configuration file: /etc/zabbix/zabbix_server.conf 2091:20250228:033329.573 current database version (mandatory/optional): 05000000/05000007 2091:20250228:033329.573 required mandatory version: 07020000 2091:20250228:033329.573 mandatory patches were found 2091:20250228:033329.573 [Z3005] query failed: [1054] Unknown column 'ha_failover_delay' in 'field list' [select unix_timestamp(),ha_failover_delay from config] 2091:20250228:033329.573 cannot retrieve database time 2091:20250228:033329.573 Zabbix Server stopped. Zabbix 7.2.4 (revision c34078a4563).
History data can be dropped.
v5 did not have HA, so you should not have anything like ha_failover_delay in your v5 DB...
Comment