Bug 493234 (r3dskull)

Summary: Install Wizard doesn't start
Product: [Fedora] Fedora Reporter: Hiran Arias <r3dskull>
Component: zabbixAssignee: Dan Horák <dan>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 10CC: dan, jarod, jeff, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.6.4-3.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-16 01:51:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hiran Arias 2009-04-01 02:44:28 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Install zabbix-server zabbix-web
2.Open zabbix URL
  
Actual results:
Only get a Error page Installation Wizard doesn't start

Expected results:
It should open installation wizard at first access.

Additional info:
Configuration File /etc/zabbix/zabbix.conf.php shouldn't exist so the installation wizard can be started.

Delete the file and you get the Installation Wizard.

Comment 1 Dan Horák 2009-04-01 09:13:14 UTC
Hm, they changed the logic when to show the setup/installation wizard. Previously it was started when the frontend couldn't connect to the database and now the config file must not exist.

Jeff, I have few things that could be done in the package:
- no need to move db.inc.php to /etc/zabbix, it is not changed during the setup in 1.6 (and probably in 1.4 too)
- create a dir /etc/zabbix/web with apache:apache ownership
- patch frontend/include/config.php.inc to define ZBX_CONFIGURATION_FILE as /etc/zabbix/web/zabbix.conf.php
- mark /etc/zabbix/web/zabbix.conf.php as %ghost + %config in the %files section

Comment 2 Ville Skyttä 2009-04-07 16:41:48 UTC
FWIW, that plan sounds good to me.

Comment 3 Ville Skyttä 2009-04-07 16:47:28 UTC
...but if zabbix.conf.php is moved, please remember to take care of existing setups on upgrades by copying/moving files around.

Also, what modes did you think of for the /etc/zabbix/web dir and the file(s) in it?  zabbix.conf.php shouldn't be world readable due to db passwords in it.

One alternative would be to leave the config file as /etc/zabbix/zabbix.conf.php and change perms to e.g. 0640 root:apache.  That'd need some scriptlet actions for upgrades too though, see bug 494434.

Comment 4 Fedora Update System 2009-05-18 13:30:13 UTC
zabbix-1.6.4-3.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/zabbix-1.6.4-3.fc10

Comment 5 Fedora Update System 2009-05-19 02:11:47 UTC
zabbix-1.6.4-3.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update zabbix'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-5141

Comment 6 Fedora Update System 2009-06-16 01:51:27 UTC
zabbix-1.6.4-3.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.