Novice user, mostly use Zabbix for monitoring stuff on my home network.
OS: Ubunta 18.04
Zabbix: 5.0.4 upgrading to 5.4
Went through the upgrade process documented here (https://www.zabbix.com/documentation.../debian_ubuntu)
After upgrade completed, I received the following error after restarting the service:
Examining the zabbix_server.log, I find the following:
OS: Ubunta 18.04
Zabbix: 5.0.4 upgrading to 5.4
Went through the upgrade process documented here (https://www.zabbix.com/documentation.../debian_ubuntu)
After upgrade completed, I received the following error after restarting the service:
Database error
- The Zabbix database version does not match current requirements. Your database version: 5030069. Required version: 5040000. Please contact your system administrator.
Examining the zabbix_server.log, I find the following:
Code:
7989:20210519:100009.216 Zabbix Server stopped. Zabbix 5.0.4 (revision 69c0ad3686). 19641:20210519:100503.547 Starting Zabbix Server. Zabbix 5.4.0 (revision 5059e20a75). 19641:20210519:100503.547 ****** Enabled features ****** 19641:20210519:100503.547 SNMP monitoring: YES 19641:20210519:100503.547 IPMI monitoring: YES 19641:20210519:100503.547 Web monitoring: YES 19641:20210519:100503.547 VMware monitoring: YES 19641:20210519:100503.547 SMTP authentication: YES 19641:20210519:100503.547 ODBC: YES 19641:20210519:100503.547 SSH support: YES 19641:20210519:100503.547 IPv6 support: YES 19641:20210519:100503.547 TLS support: YES 19641:20210519:100503.547 ****************************** 19641:20210519:100503.547 using configuration file: /etc/zabbix/zabbix_server.conf 19641:20210519:100503.583 Unsupported DB! MariaDB version is 50505 which is smaller than minimum of 100037 19641:20210519:100503.593 current database version (mandatory/optional): 05000000/05000002 19641:20210519:100503.593 required mandatory version: 05040000 19641:20210519:100503.593 starting automatic database upgrade 19641:20210519:100503.963 completed 0% of database upgrade 19641:20210519:100504.234 completed 1% of database upgrade ... 19641:20210519:100524.483 completed 51% of database upgrade 19641:20210519:100524.495 [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] 19641:20210519:100524.495 database upgrade failed
Comment