[ZBX-6376] incorrect error messages in configuration wizard Created: 2013 Mar 11  Updated: 2019 Dec 10

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.1.0
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: richlv Assignee: Unassigned
Resolution: Unresolved Votes: 4
Labels: configwizard, database, installation, unsquashable
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

several problems with the config wizard :

1. if schema has not been inserted, db config step after testing shows :
"The frontend does not match Zabbix database."

this is misleading & wrong. maybe checking for basic tables (hosts, items, users) and showing an error message if any of them is missing ?
or maybe even better, check that all tables, present in the schema (which frontend has) are there; if not, suggest that schema.sql has not been inserted

2. if data.sql has not been inserted, db connection step shows "all ok" - instead, it should check db version already, and complain if it is missing or mismatches

3. after finishing the config wizard, instead of getting the login page, we end up in setup.php with an error message :

You are not logged in.
You must login to view this page.
If you think this message is wrong, please consult your administrators about getting the necessary permissions.

the last one is a regression



 Comments   
Comment by Oleksii Zagorskyi [ 2013 Mar 12 ]

Of course here are some new details related to automatic DB patches, but ZBXNEXT-1240 still has been reported much earlier

Comment by Volker Fröhlich [ 2014 May 14 ]

The last line of the following section from the server log (2.2.3) is confusing in the same way:

21382:20140514:113612.345 [Z3005] query failed: [1146] Table 'zabbix.config' doesn't exist [show columns from config like 'server_check_interval']
21382:20140514:113612.346 Cannot upgrade database: the database must correspond to version 2.0 or later. Exiting ...

Comment by Pavels Jelisejevs (Inactive) [ 2014 Jun 16 ]

3. Seems to be resolved by now.

Comment by Filipp Sudanov (Inactive) [ 2015 Jan 12 ]

For PostgreSQL, if non-existing "Database schema" is entered in the configuration wizard, the same error message "The frontend does not match Zabbix database." is shown.

Generated at Thu Mar 28 15:52:58 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.