2016-04-24 12:45:22 |
ManUnix |
bug |
|
|
added bug |
2016-04-24 12:45:22 |
ManUnix |
attachment added |
|
Packages/Dependencies installed for icingaweb2 https://bugs.launchpad.net/bugs/1574250/+attachment/4645298/+files/installed_packages.txt |
|
2016-04-26 09:33:50 |
Launchpad Janitor |
icingaweb2 (Ubuntu): status |
New |
Confirmed |
|
2016-04-28 18:12:06 |
Laurent Salle |
bug |
|
|
added subscriber Laurent Salle |
2016-05-09 08:51:39 |
Simon Dukes |
bug |
|
|
added subscriber Simon Dukes |
2016-05-13 12:14:44 |
Tristan Schimmelpfennig |
bug |
|
|
added subscriber Tristan Schimmelpfennig |
2016-05-25 05:59:38 |
Sascha Lucas |
bug |
|
|
added subscriber Sascha Lucas |
2016-06-02 18:08:35 |
Christoph |
bug |
|
|
added subscriber Christoph |
2016-06-15 09:52:09 |
Unknown Ubuntu User |
bug |
|
|
added subscriber Bastian Schaar |
2016-06-17 09:01:46 |
Rhinotermes vulgaris |
bug |
|
|
added subscriber Rhinotermes vulgaris |
2016-06-26 13:24:53 |
David Ebert |
bug |
|
|
added subscriber David Ebert |
2016-07-30 16:42:37 |
H.-Dirk Schmitt |
bug |
|
|
added subscriber H.-Dirk Schmitt |
2016-08-05 15:05:23 |
abma |
bug |
|
|
added subscriber abma |
2016-10-03 20:21:02 |
Dmitry Ershov |
bug |
|
|
added subscriber Dmitry Ershov |
2016-12-05 10:31:18 |
Nish Aravamudan |
icingaweb2 (Ubuntu): assignee |
|
Nish Aravamudan (nacc) |
|
2016-12-07 10:25:35 |
Nish Aravamudan |
nominated for series |
|
Ubuntu Xenial |
|
2016-12-07 10:25:35 |
Nish Aravamudan |
bug task added |
|
icingaweb2 (Ubuntu Xenial) |
|
2016-12-07 10:25:35 |
Nish Aravamudan |
nominated for series |
|
Ubuntu Yakkety |
|
2016-12-07 10:25:35 |
Nish Aravamudan |
bug task added |
|
icingaweb2 (Ubuntu Yakkety) |
|
2016-12-07 11:07:24 |
Nish Aravamudan |
bug task added |
|
zend-framework (Ubuntu) |
|
2016-12-08 18:19:35 |
Nish Aravamudan |
icingaweb2 (Ubuntu): status |
Confirmed |
Fix Committed |
|
2016-12-08 18:19:44 |
Nish Aravamudan |
zend-framework (Ubuntu): status |
New |
Invalid |
|
2016-12-08 18:19:53 |
Nish Aravamudan |
bug task added |
|
zendframework (Ubuntu) |
|
2016-12-08 18:20:01 |
Nish Aravamudan |
bug task deleted |
zendframework (Ubuntu Xenial) |
|
|
2016-12-08 18:20:08 |
Nish Aravamudan |
bug task deleted |
zendframework (Ubuntu Yakkety) |
|
|
2016-12-08 18:20:13 |
Nish Aravamudan |
zend-framework (Ubuntu Xenial): status |
New |
Fix Committed |
|
2016-12-08 18:39:07 |
Nish Aravamudan |
zend-framework (Ubuntu Xenial): status |
Fix Committed |
New |
|
2016-12-08 18:39:12 |
Nish Aravamudan |
zendframework (Ubuntu): status |
New |
Fix Committed |
|
2016-12-13 19:50:42 |
Nish Aravamudan |
icingaweb2 (Ubuntu): status |
Fix Committed |
Fix Released |
|
2016-12-13 19:50:51 |
Nish Aravamudan |
zendframework (Ubuntu): status |
Fix Committed |
Fix Released |
|
2016-12-14 00:06:00 |
Nish Aravamudan |
description |
$ 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://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
100 /var/lib/dpkg/status
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>/icingaweb2/). Thus, to get it working I had to run "sudo apt install libapache2-mod-php".
With that the white page has been resolved but then I got the following error:
<b>Warning</b>: Uncaught ErrorException: require_once(Zend/Loader/Autoloader.php): failed to open stream: No such file or directory in /usr/share/php/Icinga/Application/ClassLoader.php:276
Stack trace:
#0 /usr/share/php/Icinga/Application/ClassLoader.php(276): Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(2, 'require_once(Ze...', '/usr/share/php/...', 276, Array)
#1 /usr/share/php/Icinga/Application/ClassLoader.php(276): require_once()
#2 /usr/share/php/Icinga/Application/ClassLoader.php(294): Icinga\Application\ClassLoader->requireZendAutoloader()
#3 [internal function]: Icinga\Application\ClassLoader->loadClass('Zend_Controller...')
#4 /usr/share/php/Icinga/Web/Request.php(13): spl_autoload_call('Zend_Controller...')
#5 /usr/share/php/Icinga/Application/ClassLoader.php(301): require('/usr/share/php/...')
#6 [internal function]: Icinga\Application\ClassLoader->loadClass('Icinga\\Web\\Requ...')
#7 /usr/share/php/Icinga/Application/EmbeddedWeb.php(82): spl_autoload_call('Icinga\\Web\\Requ...')
#8 /usr/ in <b>/usr/share/php/Icinga/Application/ClassLoader.php</b> on line <b>276</b><br />
<br />
<b>Fatal error</b>: Icinga\Application\ClassLoader::requireZendAutoloader(): Failed opening required 'Zend/Loader/Autoloader.php' (include_path='/usr/share/icingaweb2/library/vendor:.:/usr/share/php') in <b>/usr/share/php/Icinga/Application/ClassLoader.php</b> on line <b>276</b><br />
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/php/libzend-framework-php" to the "include_path" I can get rid of the error but then I'm stuck with the error described in https://bugs.launchpad.net/ubuntu/+source/icingaweb2/+bug/1571402 |
[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/php/libzend-framework-php but the .ini file that accompanies ships with the required include_path change commented-out (due to an old bug now fixed in PHP5).
[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.
[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/php/libzend-framework-php). However, we also put in a symlink for the old path pointing at /usr/share/php, in case anyone is using the old path explicitly in their code, which seems like the likeliest regression source.
---
$ 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://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
100 /var/lib/dpkg/status
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>/icingaweb2/). Thus, to get it working I had to run "sudo apt install libapache2-mod-php".
With that the white page has been resolved but then I got the following error:
<b>Warning</b>: Uncaught ErrorException: require_once(Zend/Loader/Autoloader.php): failed to open stream: No such file or directory in /usr/share/php/Icinga/Application/ClassLoader.php:276
Stack trace:
#0 /usr/share/php/Icinga/Application/ClassLoader.php(276): Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(2, 'require_once(Ze...', '/usr/share/php/...', 276, Array)
#1 /usr/share/php/Icinga/Application/ClassLoader.php(276): require_once()
#2 /usr/share/php/Icinga/Application/ClassLoader.php(294): Icinga\Application\ClassLoader->requireZendAutoloader()
#3 [internal function]: Icinga\Application\ClassLoader->loadClass('Zend_Controller...')
#4 /usr/share/php/Icinga/Web/Request.php(13): spl_autoload_call('Zend_Controller...')
#5 /usr/share/php/Icinga/Application/ClassLoader.php(301): require('/usr/share/php/...')
#6 [internal function]: Icinga\Application\ClassLoader->loadClass('Icinga\\Web\\Requ...')
#7 /usr/share/php/Icinga/Application/EmbeddedWeb.php(82): spl_autoload_call('Icinga\\Web\\Requ...')
#8 /usr/ in <b>/usr/share/php/Icinga/Application/ClassLoader.php</b> on line <b>276</b><br />
<br />
<b>Fatal error</b>: Icinga\Application\ClassLoader::requireZendAutoloader(): Failed opening required 'Zend/Loader/Autoloader.php' (include_path='/usr/share/icingaweb2/library/vendor:.:/usr/share/php') in <b>/usr/share/php/Icinga/Application/ClassLoader.php</b> on line <b>276</b><br />
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/php/libzend-framework-php" to the "include_path" I can get rid of the error but then I'm stuck with the error described in https://bugs.launchpad.net/ubuntu/+source/icingaweb2/+bug/1571402 |
|
2016-12-14 00:06:05 |
Nish Aravamudan |
bug task deleted |
icingaweb2 (Ubuntu Yakkety) |
|
|
2016-12-14 00:06:57 |
Nish Aravamudan |
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/php/libzend-framework-php but the .ini file that accompanies ships with the required include_path change commented-out (due to an old bug now fixed in PHP5).
[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.
[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/php/libzend-framework-php). However, we also put in a symlink for the old path pointing at /usr/share/php, in case anyone is using the old path explicitly in their code, which seems like the likeliest regression source.
---
$ 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://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
100 /var/lib/dpkg/status
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>/icingaweb2/). Thus, to get it working I had to run "sudo apt install libapache2-mod-php".
With that the white page has been resolved but then I got the following error:
<b>Warning</b>: Uncaught ErrorException: require_once(Zend/Loader/Autoloader.php): failed to open stream: No such file or directory in /usr/share/php/Icinga/Application/ClassLoader.php:276
Stack trace:
#0 /usr/share/php/Icinga/Application/ClassLoader.php(276): Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(2, 'require_once(Ze...', '/usr/share/php/...', 276, Array)
#1 /usr/share/php/Icinga/Application/ClassLoader.php(276): require_once()
#2 /usr/share/php/Icinga/Application/ClassLoader.php(294): Icinga\Application\ClassLoader->requireZendAutoloader()
#3 [internal function]: Icinga\Application\ClassLoader->loadClass('Zend_Controller...')
#4 /usr/share/php/Icinga/Web/Request.php(13): spl_autoload_call('Zend_Controller...')
#5 /usr/share/php/Icinga/Application/ClassLoader.php(301): require('/usr/share/php/...')
#6 [internal function]: Icinga\Application\ClassLoader->loadClass('Icinga\\Web\\Requ...')
#7 /usr/share/php/Icinga/Application/EmbeddedWeb.php(82): spl_autoload_call('Icinga\\Web\\Requ...')
#8 /usr/ in <b>/usr/share/php/Icinga/Application/ClassLoader.php</b> on line <b>276</b><br />
<br />
<b>Fatal error</b>: Icinga\Application\ClassLoader::requireZendAutoloader(): Failed opening required 'Zend/Loader/Autoloader.php' (include_path='/usr/share/icingaweb2/library/vendor:.:/usr/share/php') in <b>/usr/share/php/Icinga/Application/ClassLoader.php</b> on line <b>276</b><br />
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/php/libzend-framework-php" to the "include_path" I can get rid of the error but then I'm stuck with the error described in https://bugs.launchpad.net/ubuntu/+source/icingaweb2/+bug/1571402 |
[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/php/libzend-framework-php but the .ini file that accompanies ships with the required include_path change commented-out (due to an old bug now fixed in PHP5).
* 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.
[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/php/libzend-framework-php). However, we also put in a symlink for the old path pointing at /usr/share/php, in case anyone is using the old path explicitly in their code, which seems like the likeliest regression source.
---
$ 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://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
100 /var/lib/dpkg/status
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>/icingaweb2/). Thus, to get it working I had to run "sudo apt install libapache2-mod-php".
With that the white page has been resolved but then I got the following error:
<b>Warning</b>: Uncaught ErrorException: require_once(Zend/Loader/Autoloader.php): failed to open stream: No such file or directory in /usr/share/php/Icinga/Application/ClassLoader.php:276
Stack trace:
#0 /usr/share/php/Icinga/Application/ClassLoader.php(276): Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(2, 'require_once(Ze...', '/usr/share/php/...', 276, Array)
#1 /usr/share/php/Icinga/Application/ClassLoader.php(276): require_once()
#2 /usr/share/php/Icinga/Application/ClassLoader.php(294): Icinga\Application\ClassLoader->requireZendAutoloader()
#3 [internal function]: Icinga\Application\ClassLoader->loadClass('Zend_Controller...')
#4 /usr/share/php/Icinga/Web/Request.php(13): spl_autoload_call('Zend_Controller...')
#5 /usr/share/php/Icinga/Application/ClassLoader.php(301): require('/usr/share/php/...')
#6 [internal function]: Icinga\Application\ClassLoader->loadClass('Icinga\\Web\\Requ...')
#7 /usr/share/php/Icinga/Application/EmbeddedWeb.php(82): spl_autoload_call('Icinga\\Web\\Requ...')
#8 /usr/ in <b>/usr/share/php/Icinga/Application/ClassLoader.php</b> on line <b>276</b><br />
<br />
<b>Fatal error</b>: Icinga\Application\ClassLoader::requireZendAutoloader(): Failed opening required 'Zend/Loader/Autoloader.php' (include_path='/usr/share/icingaweb2/library/vendor:.:/usr/share/php') in <b>/usr/share/php/Icinga/Application/ClassLoader.php</b> on line <b>276</b><br />
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/php/libzend-framework-php" to the "include_path" I can get rid of the error but then I'm stuck with the error described in https://bugs.launchpad.net/ubuntu/+source/icingaweb2/+bug/1571402 |
|
2016-12-14 00:07:07 |
Nish Aravamudan |
icingaweb2 (Ubuntu Xenial): status |
New |
In Progress |
|
2016-12-14 00:07:10 |
Nish Aravamudan |
zend-framework (Ubuntu Xenial): status |
New |
In Progress |
|
2016-12-14 00:07:13 |
Nish Aravamudan |
zend-framework (Ubuntu Yakkety): status |
New |
In Progress |
|
2016-12-14 11:27:08 |
Robie Basak |
zend-framework (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2016-12-14 11:27:10 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-12-14 11:27:14 |
Robie Basak |
bug |
|
|
added subscriber SRU Verification |
2016-12-14 11:27:23 |
Robie Basak |
tags |
|
verification-needed |
|
2016-12-14 11:28:33 |
Robie Basak |
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/php/libzend-framework-php but the .ini file that accompanies ships with the required include_path change commented-out (due to an old bug now fixed in PHP5).
* 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.
[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/php/libzend-framework-php). However, we also put in a symlink for the old path pointing at /usr/share/php, in case anyone is using the old path explicitly in their code, which seems like the likeliest regression source.
---
$ 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://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
100 /var/lib/dpkg/status
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>/icingaweb2/). Thus, to get it working I had to run "sudo apt install libapache2-mod-php".
With that the white page has been resolved but then I got the following error:
<b>Warning</b>: Uncaught ErrorException: require_once(Zend/Loader/Autoloader.php): failed to open stream: No such file or directory in /usr/share/php/Icinga/Application/ClassLoader.php:276
Stack trace:
#0 /usr/share/php/Icinga/Application/ClassLoader.php(276): Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(2, 'require_once(Ze...', '/usr/share/php/...', 276, Array)
#1 /usr/share/php/Icinga/Application/ClassLoader.php(276): require_once()
#2 /usr/share/php/Icinga/Application/ClassLoader.php(294): Icinga\Application\ClassLoader->requireZendAutoloader()
#3 [internal function]: Icinga\Application\ClassLoader->loadClass('Zend_Controller...')
#4 /usr/share/php/Icinga/Web/Request.php(13): spl_autoload_call('Zend_Controller...')
#5 /usr/share/php/Icinga/Application/ClassLoader.php(301): require('/usr/share/php/...')
#6 [internal function]: Icinga\Application\ClassLoader->loadClass('Icinga\\Web\\Requ...')
#7 /usr/share/php/Icinga/Application/EmbeddedWeb.php(82): spl_autoload_call('Icinga\\Web\\Requ...')
#8 /usr/ in <b>/usr/share/php/Icinga/Application/ClassLoader.php</b> on line <b>276</b><br />
<br />
<b>Fatal error</b>: Icinga\Application\ClassLoader::requireZendAutoloader(): Failed opening required 'Zend/Loader/Autoloader.php' (include_path='/usr/share/icingaweb2/library/vendor:.:/usr/share/php') in <b>/usr/share/php/Icinga/Application/ClassLoader.php</b> on line <b>276</b><br />
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/php/libzend-framework-php" to the "include_path" I can get rid of the error but then I'm stuck with the error described in https://bugs.launchpad.net/ubuntu/+source/icingaweb2/+bug/1571402 |
[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/php/libzend-framework-php but the .ini file that accompanies ships with the required include_path change commented-out (due to an old bug now fixed in PHP5).
* 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/php/libzend-framework-php continues to work after the update.
[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/php/libzend-framework-php). However, we also put in a symlink for the old path pointing at /usr/share/php, in case anyone is using the old path explicitly in their code, which seems like the likeliest regression source.
---
$ 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://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
100 /var/lib/dpkg/status
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>/icingaweb2/). Thus, to get it working I had to run "sudo apt install libapache2-mod-php".
With that the white page has been resolved but then I got the following error:
<b>Warning</b>: Uncaught ErrorException: require_once(Zend/Loader/Autoloader.php): failed to open stream: No such file or directory in /usr/share/php/Icinga/Application/ClassLoader.php:276
Stack trace:
#0 /usr/share/php/Icinga/Application/ClassLoader.php(276): Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(2, 'require_once(Ze...', '/usr/share/php/...', 276, Array)
#1 /usr/share/php/Icinga/Application/ClassLoader.php(276): require_once()
#2 /usr/share/php/Icinga/Application/ClassLoader.php(294): Icinga\Application\ClassLoader->requireZendAutoloader()
#3 [internal function]: Icinga\Application\ClassLoader->loadClass('Zend_Controller...')
#4 /usr/share/php/Icinga/Web/Request.php(13): spl_autoload_call('Zend_Controller...')
#5 /usr/share/php/Icinga/Application/ClassLoader.php(301): require('/usr/share/php/...')
#6 [internal function]: Icinga\Application\ClassLoader->loadClass('Icinga\\Web\\Requ...')
#7 /usr/share/php/Icinga/Application/EmbeddedWeb.php(82): spl_autoload_call('Icinga\\Web\\Requ...')
#8 /usr/ in <b>/usr/share/php/Icinga/Application/ClassLoader.php</b> on line <b>276</b><br />
<br />
<b>Fatal error</b>: Icinga\Application\ClassLoader::requireZendAutoloader(): Failed opening required 'Zend/Loader/Autoloader.php' (include_path='/usr/share/icingaweb2/library/vendor:.:/usr/share/php') in <b>/usr/share/php/Icinga/Application/ClassLoader.php</b> on line <b>276</b><br />
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/php/libzend-framework-php" to the "include_path" I can get rid of the error but then I'm stuck with the error described in https://bugs.launchpad.net/ubuntu/+source/icingaweb2/+bug/1571402 |
|
2016-12-15 20:52:03 |
Brian Murray |
zend-framework (Ubuntu Yakkety): status |
In Progress |
Fix Committed |
|
2016-12-26 15:12:48 |
ManUnix |
tags |
verification-needed |
verification-done |
|
2017-01-25 13:32:58 |
Robie Basak |
icingaweb2 (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2017-01-25 13:33:08 |
Robie Basak |
tags |
verification-done |
|
|
2017-01-25 13:33:10 |
Robie Basak |
tags |
|
verification-needed |
|
2017-02-11 13:07:14 |
ManUnix |
tags |
verification-needed |
verification-done |
|
2017-02-22 02:14:42 |
Launchpad Janitor |
zend-framework (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-02-22 02:14:54 |
Chris Halse Rogers |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-02-22 02:15:00 |
Launchpad Janitor |
icingaweb2 (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-02-22 02:15:19 |
Launchpad Janitor |
zend-framework (Ubuntu Yakkety): status |
Fix Committed |
Fix Released |
|