Hello everyone!
I just run apt update & upgrade from CLI under my zabbix server (ubuntu 22.04). And after i got this error message.
WEB output:
CLI output:
I tried to repair with that document (2 Debian/Ubuntu (zabbix.com)) but it didn't help me.
I just run apt update & upgrade from CLI under my zabbix server (ubuntu 22.04). And after i got this error message.
WEB output:
Code:
Database error[LIST][*]The Zabbix database version does not match current requirements. Your database version: 6000000. Required version: 6040000. Please contact your system administrator.[/LIST]
Code:
root@srv05zabbix:/home/it# zabbix_server --version zabbix_server (Zabbix) 6.0.14 Revision 3f184b456c7 8 March 2023, compilation time: Mar 8 2023 12:23:57 Copyright (C) 2023 Zabbix SIA License GPLv2+: GNU GPL version 2 or later <https://www.gnu.org/licenses/>. This is free software: you are free to change and redistribute it according to the license. There is NO WARRANTY, to the extent permitted by law. This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/). Compiled with OpenSSL 1.1.1f 31 Mar 2020 Running with OpenSSL 1.1.1f 31 Mar 2020 root@srv05zabbix:/home/it# apt list --installed | grep zabbix WARNING: apt does not have a stable CLI interface. Use with caution in scripts. zabbix-agent/now 1:6.0.14-1+ubuntu20.04 amd64 [installed,local] zabbix-apache-conf/now 1:6.4.1-1+ubuntu22.04 all [installed,local] zabbix-frontend-php/now 1:6.4.1-1+ubuntu22.04 all [installed,local] zabbix-release/now 1:6.4-1+ubuntu22.04 all [installed,local] zabbix-server-mysql/now 1:6.0.14-1+ubuntu20.04 amd64 [installed,local] zabbix-sql-scripts/now 1:6.4.1-1+ubuntu22.04 all [installed,local] root@srv05zabbix:/home/it#
Code:
root@srv05zabbix:/home/it# cat /var/log/zabbix/zabbix_server.log | grep database
1241526:20230411:081921.973 current database version (mandatory/optional): 06000000/06000018
1242064:20230411:083727.187 current database version (mandatory/optional): 06000000/06000018
1072:20230411:084304.136 current database version (mandatory/optional): 06000000/06000018
2044:20230411:085113.011 current database version (mandatory/optional): 06000000/06000018
root@srv05zabbix:/home/it# cat /var/log/zabbix/zabbix_server.log | grep database
1241526:20230411:081921.973 current database version (mandatory/optional): 06000000/06000018
1242064:20230411:083727.187 current database version (mandatory/optional): 06000000/06000018
1072:20230411:084304.136 current database version (mandatory/optional): 06000000/06000018
2044:20230411:085113.011 current database version (mandatory/optional): 06000000/06000018
root@srv05zabbix:/home/it# service mysql status
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-04-11 08:43:03 UTC; 16min ago
Process: 733 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Main PID: 875 (mysqld)
Status: "Server is operational"
Tasks: 67 (limit: 4608)
Memory: 714.3M
CGroup: /system.slice/mysql.service
└─875 /usr/sbin/mysqld
Apr 11 08:42:57 srv05zabbix systemd[1]: Starting MySQL Community Server...
Apr 11 08:43:03 srv05zabbix systemd[1]: Started MySQL Community Server.
root@srv05zabbix:/home/it#
I tried to repair with that document (2 Debian/Ubuntu (zabbix.com)) but it didn't help me.

Comment