Hi All,
I am trying to upgrade from Zabbix 6.2.9 to 6.4.8, the upgrade of Zabbix is successfully however it is not starting due to a database mismatch.
Current database is 8.0.26 running on Centos 8 Stream.
When I try to load with AllowUnsupportedDbVersions, Zabbix works and loads successfully however when it is disabled the below errors occurs (from logs). I also made sure that the necessary user has enough privileges whilst also log_bin_trust_function_creators = 1 is set.
35080:20231120:103735.698 Zabbix Server stopped. Zabbix 6.4.8 (revision ecda9311a92).
35085:20231120:103747.927 Starting Zabbix Server. Zabbix 6.4.8 (revision ecda9311a92).
35085:20231120:103747.927 ****** Enabled features ******
35085:20231120:103747.927 SNMP monitoring: YES
35085:20231120:103747.927 IPMI monitoring: YES
35085:20231120:103747.927 Web monitoring: YES
35085:20231120:103747.928 VMware monitoring: YES
35085:20231120:103747.928 SMTP authentication: YES
35085:20231120:103747.928 ODBC: YES
35085:20231120:103747.928 SSH support: YES
35085:20231120:103747.928 IPv6 support: YES
35085:20231120:103747.928 TLS support: YES
35085:20231120:103747.928 ******************************
35085:20231120:103747.928 using configuration file: /etc/zabbix/zabbix_server.conf
35085:20231120:103747.942
35085:20231120:103747.942 Unable to start Zabbix server due to unsupported MySQL database version (8.00.26).
35085:20231120:103747.942 Must be at least (8.00.30).
35085:20231120:103747.942 Use of supported database version is highly recommended.
35085:20231120:103747.942 Override by setting AllowUnsupportedDBVersions=1 in Zabbix server configuration file at your own risk.
35085:20231120:103747.942
35085:20231120:103747.950 Zabbix Server stopped. Zabbix 6.4.8 (revision ecda9311a92).
__________________________________________________ __________________________________________________ ___________________
-- Unit zabbix-server.service has begun starting up.
Nov 20 10:43:09 systemd[1]: zabbix-server.service: Can't open PID file /run/zabbix/zabbix_server.pid (yet?) after start: No such file or directory
Nov 20 10:43:09 systemd[1]: zabbix-server.service: Failed with result 'protocol'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The unit zabbix-server.service has entered the 'failed' state with result 'protocol'.
Nov 20 10:43:09 systemd[1]: Failed to start Zabbix Server.
-- Subject: Unit zabbix-server.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit zabbix-server.service has failed.
--
-- The result is failed.
I am trying to upgrade from Zabbix 6.2.9 to 6.4.8, the upgrade of Zabbix is successfully however it is not starting due to a database mismatch.
Current database is 8.0.26 running on Centos 8 Stream.
When I try to load with AllowUnsupportedDbVersions, Zabbix works and loads successfully however when it is disabled the below errors occurs (from logs). I also made sure that the necessary user has enough privileges whilst also log_bin_trust_function_creators = 1 is set.
35080:20231120:103735.698 Zabbix Server stopped. Zabbix 6.4.8 (revision ecda9311a92).
35085:20231120:103747.927 Starting Zabbix Server. Zabbix 6.4.8 (revision ecda9311a92).
35085:20231120:103747.927 ****** Enabled features ******
35085:20231120:103747.927 SNMP monitoring: YES
35085:20231120:103747.927 IPMI monitoring: YES
35085:20231120:103747.927 Web monitoring: YES
35085:20231120:103747.928 VMware monitoring: YES
35085:20231120:103747.928 SMTP authentication: YES
35085:20231120:103747.928 ODBC: YES
35085:20231120:103747.928 SSH support: YES
35085:20231120:103747.928 IPv6 support: YES
35085:20231120:103747.928 TLS support: YES
35085:20231120:103747.928 ******************************
35085:20231120:103747.928 using configuration file: /etc/zabbix/zabbix_server.conf
35085:20231120:103747.942
35085:20231120:103747.942 Unable to start Zabbix server due to unsupported MySQL database version (8.00.26).
35085:20231120:103747.942 Must be at least (8.00.30).
35085:20231120:103747.942 Use of supported database version is highly recommended.
35085:20231120:103747.942 Override by setting AllowUnsupportedDBVersions=1 in Zabbix server configuration file at your own risk.
35085:20231120:103747.942
35085:20231120:103747.950 Zabbix Server stopped. Zabbix 6.4.8 (revision ecda9311a92).
__________________________________________________ __________________________________________________ ___________________
-- Unit zabbix-server.service has begun starting up.
Nov 20 10:43:09 systemd[1]: zabbix-server.service: Can't open PID file /run/zabbix/zabbix_server.pid (yet?) after start: No such file or directory
Nov 20 10:43:09 systemd[1]: zabbix-server.service: Failed with result 'protocol'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The unit zabbix-server.service has entered the 'failed' state with result 'protocol'.
Nov 20 10:43:09 systemd[1]: Failed to start Zabbix Server.
-- Subject: Unit zabbix-server.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit zabbix-server.service has failed.
--
-- The result is failed.
running too low version...
Comment