[ZBXNEXT-7919] Front end and server compains database version does not match current requirements Created: 2022 Aug 16  Updated: 2022 Aug 18  Resolved: 2022 Aug 17

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F), Server (S)
Affects Version/s: 6.2.0, 6.2.1
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: Valery Assignee: Valdis Murzins
Resolution: Commercial support required Votes: 0
Labels: frontend
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PDF File Doc1.pdf    

 Description   

Hello!

I faced the following problem

Zabbix Server. Zabbix 6.0.5 (revision 8da3e1f8419).

in server log file

The server does not match Zabbix database. Current database version (mandatory/optional): 06020000/06020000. Required mandatory version: 06000000

when I change database version to 06000000 server starts ok

However the web interface does not work 

  • The Zabbix database version does not match current requirements. Your database version: 6000000. Required version: 6020000. Please contact your system administrator.

Your recommendations?

I installed as read at https://www.zabbix.com/ru/download?zabbix=6.2&os_distribution=centos&os_version=9_stream&db=mysql&ws=apache

 

Thank you in advanced

Sincerely, Valery



 Comments   
Comment by Alex Kalimulin [ 2022 Aug 17 ]

This issue tracker is for bug reports and feature requests only. Your question doesn't seem to be neither of those. On the topic, it looks like your server and front end versions don't match.

Please see the community page for the community support options or check the official professional services if you need further assistance.

Comment by Valery [ 2022 Aug 17 ]

Thank you for the information

Yes, You are right server and front end versions don't match. This is a bug.

I installed from as read at https://www.zabbix.com/ru/download?zabbix=6.2&os_distribution=centos&os_version=9_stream&db=mysql&ws=apache and as a result, the versions turned out to be different

I think it looks like a bug in distr

Can you make some advice on how to upgrade server version, please?

Sincerely, Valery

Comment by Jurijs Klopovskis [ 2022 Aug 17 ]

I've checked latest 6.0 & 6.2 packages. The seem to be fine.

Comment by Valery [ 2022 Aug 17 ]

thanks for your the  answer

when executing the install command

dnf install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-sql-scripts zabbix-selinux-policy zabbix-agent

I got a message

Problem: problem with installed zabbix-web-deps-6.2.1-1.el9.noarch package

  - package zabbix-web-deps-6.2.1-1.el9.noarch needs zabbix-web = 6.2.1-1.el9 but none of the providing packages can be installed

  - package zabbix-web-deps-6.2.0-1.el9.noarch needs zabbix-web = 6.2.0-1.el9 but none of the providing packages can be installed

  - unable to install zabbix-web-1:6.0.5-1.el9.noarch together with zabbix-web-6.2.1-1.el9.noarch

  - unable to install zabbix-web-6.2.0-1.el9.noarch together with zabbix-web-1:6.0.5-1.el9.noarch

  - unable to install zabbix-web-6.2.1-1.el9.noarch together with zabbix-web-1:6.0.5-1.el9.noarch

  - package zabbix-web-mysql-1:6.0.5-1.el9.noarch needs zabbix-web = 1:6.0.5-1.el9 but none of the providing packages can be installed

  - unable to set the best option for this task

(try adding "{}allowerasing" to the command line to replace conflicting packages, or "{}skip-broken" to skip packages being removed, or "{-}-nobest" to use more than just the best package options)”

 

As a result, I got that the versions of zabbix-server-mysql and zabbix-web-mysql-

Package zabbix-server-mysql-1:6.0.5-1.el9.x86_64 is already installed.

Package zabbix-web-mysql-6.2.1-1.el9.noarch already installed

 

I tried to upgrade

yum upgrade zabbix-server-mysql zabbix-web-mysql zabbix-agent

The same result

My question

is  there  a way to solve the issue?

Thank you in advance

Sincerely, Valery

Comment by Jurijs Klopovskis [ 2022 Aug 17 ]

What's the output of

dnf info zabbix-web 

?

And also of

dnf info zabbix-release 

?

There is something really messed up in your installation. Packages from several major versions (6.0, 6.2) should never be mixed like that. Did you edit any of the /etc/yum.repos.d/zabbix* files?

Comment by Valery [ 2022 Aug 17 ]

 dnf info zabbix-web
Последняя проверка окончания срока действия метаданных: 0:17:57 назад, Ср 17 авг 2022 15:15:18.
Установленные пакеты
Имя          : zabbix-web
Версия       : 6.2.1
Выпуск       : 1.el9
Архитектура  : noarch
Размер       : 35 M
Источник     : zabbix-6.2.1-1.el9.src.rpm
Репозиторий  : @System
Из репозитор : zabbix
Краткое опис : Zabbix web frontend common package
URL          : http://www.zabbix.com/
Лицензия     : GPLv2+
Описание     : Zabbix web frontend common package
 
Имеющиеся пакеты
Имя          : zabbix-web
Эпоха        : 1
Версия       : 6.0.5
Выпуск       : 1.el9
Архитектура  : noarch
Размер       : 7.5 M
Источник     : zabbix-6.0.5-1.el9.src.rpm
Репозиторий  : epel
Краткое опис : Zabbix Web Frontend
URL          : https://www.zabbix.com
Лицензия     : GPLv2+
Описание     : The php frontend to display the Zabbix web interface.
---------------------------------------------------------------------------------
 
[root@zabbix etc]# dnf info zabbix-release
Последняя проверка окончания срока действия метаданных: 0:18:25 назад, Ср 17 авг 2022 15:15:18.
Установленные пакеты
Имя          : zabbix-release
Версия       : 6.2
Выпуск       : 2.el9
Архитектура  : noarch
Размер       : 22 k
Источник     : zabbix-release-6.2-2.el9.src.rpm
Репозиторий  : @System
Краткое опис : Zabbix repository configuration
URL          : https://www.zabbix.com
Лицензия     : GPL
Описание     : This package contains the Zabbix official repository
             : GPG key as well as configuration for yum.
------------------------------------------------------------------------
I understand There is something really messed up in  my  installation
 I did exactly according to the recommendations
https://www.zabbix.com/en/download?zabbix=6.2&os_distribution=centos&os_version=9_stream&db=mysql&ws=apache
my OS CentOs stream 9
with Apache and Mysql
I Did not edit any of the /etc/yum.repos.d/zabbix* files

 

The same in English
dnf info zabbix-web
Last metadata expiration check: 0:17:57 ago, Wed 17 Aug 2022 15:15:18.
Installed packages
Name : zabbix-web
Version : 6.2.1
Issue : 1.el9
Architecture: noarch
Size : 35M
Source : zabbix-6.2.1-1.el9.src.rpm
Repository : @System
From repository : zabbix
Brief description : Zabbix web frontend common package
URL : http://www.zabbix.com/
License : GPLv2+
Description : Zabbix web frontend common package
 
Available packages
Name : zabbix-web
Age : 1
Version : 6.0.5
Issue : 1.el9
Architecture: noarch
Size : 7.5M
Source : zabbix-6.0.5-1.el9.src.rpm
Repository : epel
Short description : Zabbix Web Frontend
URL : https://www.zabbix.com
License : GPLv2+
Description : The php frontend to display the Zabbix web interface.
 
[root@zabbix etc]# dnf info zabbix-release
Last metadata expiration check: 0:18:25 ago, Wed 17 Aug 2022 15:15:18.
Installed packages
Name : zabbix-release
Version : 6.2
Release : 2.el9
Architecture: noarch
Size : 22k
Source : zabbix-release-6.2-2.el9.src.rpm
Repository : @System
Brief description : Zabbix repository configuration
URL : https://www.zabbix.com
License : GPL
Description : This package contains the Zabbix official repository
             : GPG key as well as configuration for yum.

Comment by Valery [ 2022 Aug 17 ]

I used the option --skip-broken with command  dnf install  since without it

package

dnf install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-sql-scripts zabbix-selinux-policy zabbix-agent

was NOT installed

Maybe that's why the versions are different?

Нow to fix it?

Comment by Valery [ 2022 Aug 18 ]

The problem was in the epel repository,  there were old versions of zabbix in this repository.

Thank you for your help

Generated at Sun Apr 05 08:46:37 EEST 2026 using Jira 10.3.18#10030018-sha1:5642e4ad348b6c2a83ebdba689d04763a2393cab.