Hello, I'm attempting to upgrade Zabbix Server 5.0.45 (LTS) to 7.0.9 (LTS). I'm running MariaDB 10.11.6.
I've upgraded PHP to 8.2.25 because the server was previously running PHP 7.4 (Zabbix 7.0 requires PHP 8.0 or greater).
I've encountered the following Zabbix database upgrade failure upon upgrading to 7.0.9 (LTS) in /etc/zabbix/zabbix_server.log:
40459:20250204:171301.398 starting automatic database upgrade
40459:20250204:171301.402 database upgrade failed on patch 05010000, exiting in 10 seconds
40459:20250204:171311.402 Zabbix Server stopped. Zabbix 7.0.9 (revision 05b8b05eefe).
zz0.dvcsa31s2g7zz
I already have read all of the upgrade notes from 5.0 through 7.0.
I tried Executing log_bin_trust_function_creators = 1; after the upgrade to 7.0, and restarting the zabbix-server, but the results are the same.
I also tried adding AllowUnsupportedDBVersions=1 to /etc/zabbix/zabbix_server.conf, and the upgrade failed with the same error.
What am I missing here?
Thanks!
I've upgraded PHP to 8.2.25 because the server was previously running PHP 7.4 (Zabbix 7.0 requires PHP 8.0 or greater).
I've encountered the following Zabbix database upgrade failure upon upgrading to 7.0.9 (LTS) in /etc/zabbix/zabbix_server.log:
40459:20250204:171301.398 starting automatic database upgrade
40459:20250204:171301.402 database upgrade failed on patch 05010000, exiting in 10 seconds
40459:20250204:171311.402 Zabbix Server stopped. Zabbix 7.0.9 (revision 05b8b05eefe).
zz0.dvcsa31s2g7zz
I already have read all of the upgrade notes from 5.0 through 7.0.
I tried Executing log_bin_trust_function_creators = 1; after the upgrade to 7.0, and restarting the zabbix-server, but the results are the same.
I also tried adding AllowUnsupportedDBVersions=1 to /etc/zabbix/zabbix_server.conf, and the upgrade failed with the same error.
What am I missing here?
Thanks!
Comment