Hi there,
I'm moving Zabbix from an old host to a newer host. The older host was running Zabbix 5.0.36 with mysql.
I've exported the db to the new host (took ages - 120gb db) where I had a newer version of Zabbix installed (6.0.23).
Unfortunately it's failing the upgrade:
31984:20231202:214749.156 database upgrade failed on patch 05010049, exiting in 10 seconds
32008:20231202:214809.398 Starting Zabbix Server. Zabbix 6.0.23 (revision 315e9acac58).
32008:20231202:214809.398 ****** Enabled features ******
32008:20231202:214809.398 SNMP monitoring: YES
32008:20231202:214809.398 IPMI monitoring: YES
32008:20231202:214809.398 Web monitoring: YES
32008:20231202:214809.398 VMware monitoring: YES
32008:20231202:214809.398 SMTP authentication: YES
32008:20231202:214809.398 ODBC: YES
32008:20231202:214809.398 SSH support: YES
32008:20231202:214809.398 IPv6 support: YES
32008:20231202:214809.398 TLS support: YES
32008:20231202:214809.398 ******************************
32008:20231202:214809.398 using configuration file: /etc/zabbix/zabbix_server.conf
32008:20231202:214809.436 current database version (mandatory/optional): 05010048/05010048
32008:20231202:214809.436 required mandatory version: 06000000
32008:20231202:214809.436 optional patches were found
32008:20231202:214809.436 starting automatic database upgrade
32008:20231202:214809.437 [Z3005] query failed: [1050] Table 'item_parameter' already exists [create tab
`item_parameterid` bigint unsigned not null,
`itemid` bigint unsigned not null,
`name` varchar(255) default '' not null,
`value` varchar(2048) default '' not null,
primary key (item_parameterid)
) engine=innodb]
32008:20231202:214809.437 database upgrade failed on patch 05010049, exiting in 10 seconds
I thought I followed the guides correctly, but perhaps I've missed a step somewhere...
Help appreciated.
I'm moving Zabbix from an old host to a newer host. The older host was running Zabbix 5.0.36 with mysql.
I've exported the db to the new host (took ages - 120gb db) where I had a newer version of Zabbix installed (6.0.23).
Unfortunately it's failing the upgrade:
31984:20231202:214749.156 database upgrade failed on patch 05010049, exiting in 10 seconds
32008:20231202:214809.398 Starting Zabbix Server. Zabbix 6.0.23 (revision 315e9acac58).
32008:20231202:214809.398 ****** Enabled features ******
32008:20231202:214809.398 SNMP monitoring: YES
32008:20231202:214809.398 IPMI monitoring: YES
32008:20231202:214809.398 Web monitoring: YES
32008:20231202:214809.398 VMware monitoring: YES
32008:20231202:214809.398 SMTP authentication: YES
32008:20231202:214809.398 ODBC: YES
32008:20231202:214809.398 SSH support: YES
32008:20231202:214809.398 IPv6 support: YES
32008:20231202:214809.398 TLS support: YES
32008:20231202:214809.398 ******************************
32008:20231202:214809.398 using configuration file: /etc/zabbix/zabbix_server.conf
32008:20231202:214809.436 current database version (mandatory/optional): 05010048/05010048
32008:20231202:214809.436 required mandatory version: 06000000
32008:20231202:214809.436 optional patches were found
32008:20231202:214809.436 starting automatic database upgrade
32008:20231202:214809.437 [Z3005] query failed: [1050] Table 'item_parameter' already exists [create tab
`item_parameterid` bigint unsigned not null,
`itemid` bigint unsigned not null,
`name` varchar(255) default '' not null,
`value` varchar(2048) default '' not null,
primary key (item_parameterid)
) engine=innodb]
32008:20231202:214809.437 database upgrade failed on patch 05010049, exiting in 10 seconds
I thought I followed the guides correctly, but perhaps I've missed a step somewhere...
Help appreciated.
Comment