[ZBX-25726] 7.2 database version does not match Created: 2024 Dec 11  Updated: 2024 Dec 11  Resolved: 2024 Dec 11

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 7.2.0
Fix Version/s: None

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

Ubuntu 24



 Description   

Steps to reproduce:

  1. upgrade like at https://www.zabbix.com/documentation/current/en/manual/installation/upgrade/packages/debian_ubuntu
  2. run server...

Result:

The Zabbix database version does not match current requirements. Your database version: 7000000. Required version: 7020000. Please contact your system administrator.

 

run db script, which been moved without notification at changelog.

cat /usr/share/zabbix/sql-scripts/postgresql/timescaledb/schema.sql | sudo -u postgres psql zabbix
CREATE FUNCTION
NOTICE:  function base36_decode(pg_catalog.varchar) does not exist, skipping
DROP FUNCTION
NOTICE:  PostgreSQL version 16.6 (Ubuntu 16.6-1.pgdg24.04+1) is valid
NOTICE:  TimescaleDB extension is detected
NOTICE:  TimescaleDB version 2.17.2 is valid
NOTICE:  table "history" is already a hypertable, skipping
NOTICE:  table "history_uint" is already a hypertable, skipping
NOTICE:  table "history_log" is already a hypertable, skipping
NOTICE:  table "history_text" is already a hypertable, skipping
NOTICE:  table "history_str" is already a hypertable, skipping
NOTICE:  table "history_bin" is already a hypertable, skipping
NOTICE:  table "auditlog" is already a hypertable, skipping
NOTICE:  table "trends" is already a hypertable, skipping
NOTICE:  table "trends_uint" is already a hypertable, skipping
NOTICE:  TimescaleDB extension is already installed; not changing configuration
NOTICE:  TimescaleDB is configured successfully
DO 

**



 Comments   
Comment by Alexander Vladishev [ 2024 Dec 11 ]

The database version (7.0) does not match the frontend version (7.2).

If you are setting up a new database, you need to use the schema and initial data from the 7.2 distribution. If you are upgrading your existing installation from version 7.0 to 7.2, you need to start the Zabbix server 7.2 so it can update the database.

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