Good day All,
Hoping i can get some assistance. I have followed the guide to upgrade Zabbix 5.0.5 to Zabbix 5.4 and I am receiving the following error in the zabbix log when trying to upgrade the database on service start:
5476:20210519:074610.624 Unsupported DB! MariaDB version is 50505 which is smaller than minimum of 100037
5476:20210519:074610.625 current database version (mandatory/optional): 05030069/05030069
5476:20210519:074610.625 required mandatory version: 05040000
5476:20210519:074610.625 starting automatic database upgrade
5476:20210519:074610.626 [Z3005] query failed: [1832] Cannot change column 'scriptid': used in a foreign key constraint 'c_opcommand_2' [alter table opcommand modify `scriptid` bigint unsigned not null]
5476:20210519:074610.626 database upgrade failed
I am currently on Ubuntu 18.04 and no packages need to be updated or upgraded. Hopefully someone here can point me in the right direction to fix.
Hoping i can get some assistance. I have followed the guide to upgrade Zabbix 5.0.5 to Zabbix 5.4 and I am receiving the following error in the zabbix log when trying to upgrade the database on service start:
5476:20210519:074610.624 Unsupported DB! MariaDB version is 50505 which is smaller than minimum of 100037
5476:20210519:074610.625 current database version (mandatory/optional): 05030069/05030069
5476:20210519:074610.625 required mandatory version: 05040000
5476:20210519:074610.625 starting automatic database upgrade
5476:20210519:074610.626 [Z3005] query failed: [1832] Cannot change column 'scriptid': used in a foreign key constraint 'c_opcommand_2' [alter table opcommand modify `scriptid` bigint unsigned not null]
5476:20210519:074610.626 database upgrade failed
I am currently on Ubuntu 18.04 and no packages need to be updated or upgraded. Hopefully someone here can point me in the right direction to fix.
Comment