Server was Ubuntu 18.04, MariaDB 10.1 with Zabbix 4.4
Upgraded to Zabbix 6 with MariaDB 10.6 (used apt install) (did a DB dump too)
Zabbix is saying the DB is an unsupported version. Log has:
4079:20220216:103359.325 [Z3005] query failed: [1709] Index column size too large. The maximum column size is 767 bytes [create index items_1 on items (hostid,key_(1021))]
4079:20220216:103359.325 database upgrade failed
4157:20220216:103409.505 Starting Zabbix Server. Zabbix 6.0.0 (revision 5203d2ea7d).
4157:20220216:103409.505 ****** Enabled features ******
4157:20220216:103409.505 SNMP monitoring: YES
4157:20220216:103409.506 IPMI monitoring: YES
4157:20220216:103409.506 Web monitoring: YES
4157:20220216:103409.506 VMware monitoring: YES
4157:20220216:103409.506 SMTP authentication: YES
4157:20220216:103409.506 ODBC: YES
4157:20220216:103409.506 SSH support: YES
4157:20220216:103409.506 IPv6 support: YES
4157:20220216:103409.506 TLS support: YES
4157:20220216:103409.506 ******************************
4157:20220216:103409.506 using configuration file: /etc/zabbix/zabbix_server.conf
4157:20220216:103409.518 current database version (mandatory/optional): 04050003/04050003
4157:20220216:103409.518 required mandatory version: 06000000
4157:20220216:103409.518 starting automatic database upgrade
If I go into mysql, the zabbix DB is there and mysql -V says 10.6.
I did replace my conf files with the new ones during the Zabbix upgrade.
Upgraded to Zabbix 6 with MariaDB 10.6 (used apt install) (did a DB dump too)
Zabbix is saying the DB is an unsupported version. Log has:
4079:20220216:103359.325 [Z3005] query failed: [1709] Index column size too large. The maximum column size is 767 bytes [create index items_1 on items (hostid,key_(1021))]
4079:20220216:103359.325 database upgrade failed
4157:20220216:103409.505 Starting Zabbix Server. Zabbix 6.0.0 (revision 5203d2ea7d).
4157:20220216:103409.505 ****** Enabled features ******
4157:20220216:103409.505 SNMP monitoring: YES
4157:20220216:103409.506 IPMI monitoring: YES
4157:20220216:103409.506 Web monitoring: YES
4157:20220216:103409.506 VMware monitoring: YES
4157:20220216:103409.506 SMTP authentication: YES
4157:20220216:103409.506 ODBC: YES
4157:20220216:103409.506 SSH support: YES
4157:20220216:103409.506 IPv6 support: YES
4157:20220216:103409.506 TLS support: YES
4157:20220216:103409.506 ******************************
4157:20220216:103409.506 using configuration file: /etc/zabbix/zabbix_server.conf
4157:20220216:103409.518 current database version (mandatory/optional): 04050003/04050003
4157:20220216:103409.518 required mandatory version: 06000000
4157:20220216:103409.518 starting automatic database upgrade
If I go into mysql, the zabbix DB is there and mysql -V says 10.6.
I did replace my conf files with the new ones during the Zabbix upgrade.
Comment