I'm trying to upgrade zabbix from 4.4 to 5.0 and getting the following errors.
On the web ui,
–
The frontend does not match Zabbix database. Current database version (mandatory/optional): 4040000/4040002. Required mandatory version: 5000000. Contact your system administrator.
The zabbix server log.
24136:20200520:163627.855 starting automatic database upgrade
24136:20200520:163627.856 [Z3005] query failed: [0] PGRES_FATAL_ERROR:ERROR: constraint "c_items_1" of relation "items" does not exist
[alter table items drop constraint c_items_1]
24136:20200520:163627.856 database upgrade failed
System, clearos 7.7.2
postgres 12.1
How can i fix the query the script is running to complete my upgrade?
On the web ui,
–
The frontend does not match Zabbix database. Current database version (mandatory/optional): 4040000/4040002. Required mandatory version: 5000000. Contact your system administrator.
The zabbix server log.
24136:20200520:163627.855 starting automatic database upgrade
24136:20200520:163627.856 [Z3005] query failed: [0] PGRES_FATAL_ERROR:ERROR: constraint "c_items_1" of relation "items" does not exist
[alter table items drop constraint c_items_1]
24136:20200520:163627.856 database upgrade failed
System, clearos 7.7.2
postgres 12.1
How can i fix the query the script is running to complete my upgrade?
Comment