[ZBX-20199] Front end compains database version does not match current requirements Created: 2021 Nov 10  Updated: 2021 Nov 11  Resolved: 2021 Nov 11

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 6.0.0alpha7
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Ivo Palli Assignee: Zabbix Development Team
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Updated my git repo today in the hopes of fixing a solved bug.

  1. Compiled Zabbix
  2. make install
  3. Copied ui/* to html directory

Result:
Web: The Zabbix database version does not match current requirements. Your database version: 5050104. Required version: 5050103. Please contact your system administrator.

However, Zabbix says:
{{1140386:20211110:164459.098 current database version (mandatory/optional): 05050104/05050104
1140386:20211110:164459.098 required mandatory version: 05050104}}

So I think the web frontend is confused? Where does it pull the 5050103 from anyway?



 Comments   
Comment by Ivo Palli [ 2021 Nov 11 ]

Editing ./include/defines.inc.php and updating ZABBIX_DB_VERSION to 5050104 'fixes' the problem.

I think it would be a good idea to try and keep changes that require incrementing the DB version and any corresponding fixes to the frontend in the same commit to github, so that pulling the latest version doesn't leave users with a non-working interface.

Comment by Alexander Vladishev [ 2021 Nov 11 ]

This is usually the case. Any changes to the database update the database schema version and the version in defines.inc.php. This is one of the rare cases where this has been done by different commits.

This has now been fixed. Thanks!

Generated at Sat May 03 06:32:57 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.