icingaweb2 2.1.0 can't find Zend library
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
icingaweb2 (Ubuntu) |
Fix Released
|
Undecided
|
Nish Aravamudan | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
zend-framework (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned | ||
zendframework (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* After running `apt install icingaweb2`, the icinga frontend does not successfully load.
* The root cause of this issue is two-fold: 1) icingaweb2 only ships a configuration for apache, but 16.04 defaults to php-fpm being used to satsify the php dependency. [16.10 does not have this issue.] 2) zend-framework installs to /usr/share/
* Note that the zesty fixes are rather different, as we have synced both icingaweb2 and zendframework (effectively, adding a delta to transition from the zend-framework binary packages) there.
[Test Case]
* Install icingaweb2 and attempt to navigate to http://<ip>/icingaweb2. A failing case will lead to the icinga login page not being displayed. A working case will display the login page.
* Test that a PHP script using the old path of /usr/share/
[Regression Potential]
* The icingaweb2 change is low in regression, as it only changes the dependencies for the package. If a user had installed php on 16.04 (and thus got php-fpm), there will be an additional package installed such that icingaweb2 now works -- this will be overhead if the user figured out how to configure fpm to host icingaweb2, but that would be outside the packaged conffiles.
* The zend-framework change is possibly higher risk, as it installs files into a new path (directly into /usr/share/php rather than /usr/share/
---
$ lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
$ apt-cache policy icingaweb2
icingaweb2:
Installed: 2.1.0-1ubuntu1
Candidate: 2.1.0-1ubuntu1
Version table:
*** 2.1.0-1ubuntu1 500
500 http://
500 http://
100 /var/lib/
I've installed Ubuntu 16.04 from the latest ISO and did a "apt update && apt upgrade" to be certain I use the latest updates.
Then I've installed icingaweb2 via "sudo apt install icingaweb2":
What was still missing after that was mod-php (the issue was a white page when browsing http://<hostname>
With that the white page has been resolved but then I got the following error:
<b>Warning</b>: Uncaught ErrorException: require_
Stack trace:
#0 /usr/share/
#1 /usr/share/
#2 /usr/share/
#3 [internal function]: Icinga\
#4 /usr/share/
#5 /usr/share/
#6 [internal function]: Icinga\
#7 /usr/share/
#8 /usr/ in <b>/usr/
<br />
<b>Fatal error</b>: Icinga\
The error is reproducible on all servers that I've tried so far (installed from scratch or updated from 14.04 LTS to 16.04 LTS).
When I manually add "/usr/share/
Changed in icingaweb2 (Ubuntu): | |
assignee: | nobody → Nish Aravamudan (nacc) |
Changed in icingaweb2 (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in zend-framework (Ubuntu): | |
status: | New → Invalid |
no longer affects: | zendframework (Ubuntu Xenial) |
no longer affects: | zendframework (Ubuntu Yakkety) |
Changed in zend-framework (Ubuntu Xenial): | |
status: | New → Fix Committed |
Changed in zend-framework (Ubuntu Xenial): | |
status: | Fix Committed → New |
Changed in zendframework (Ubuntu): | |
status: | New → Fix Committed |
Changed in icingaweb2 (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in zendframework (Ubuntu): | |
status: | Fix Committed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.