Attached is a debdiff that backports the fix from the Debian package. ** Description changed:
[Impact] icingaweb2 does not work on PHP 7.2 or higher, e.g. as shipped in Ubuntu 18.04. [Test Case] Steps to reproduce: # apt install mariadb # mysql_secure_installation # apt install icinga2 icinga2-ido-mysql Yes to both questions relating to automatically set up database # apt install icingaweb2 Point a browser at http://host.example.co.uk/icingaweb2 to run the setup wizard Expected results: The setup wizard loads. Actual results: Fatal error: Uncaught ErrorException: session_name(): Cannot change session name when session is active in /usr/share/php/Icinga/Web/Session/PhpSession.php:97 Stack trace: #0 [internal function]: Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(2, 'session_name():...', '/usr/share/php/...', 97, Array) #1 /usr/share/php/Icinga/Web/Session/PhpSession.php(97): session_name('Icingaweb2') #2 /usr/share/php/Icinga/Web/Session/PhpSession.php(152): Icinga\Web\Session\PhpSession->open() #3 /usr/share/php/Icinga/Web/Controller/ActionController.php(544): Icinga\Web\Session\PhpSession->write() #4 /usr/share/php/Icinga/Web/Controller/ActionController.php(489): Icinga\Web\Controller\ActionController->shutdownSession() #5 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(512): Icinga\Web\Controller\ActionController->postDispatch() #6 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch('errorAction') #7 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php( in /usr/share/icingaweb2/library/vendor/Zend/Controller/Plugin/Broker.php on line 332 [Regression Potential] The package is completely broken on startup now, so the regression potential is effectively nil. - ----- + [Other Info] Upstream: https://github.com/Icinga/icingaweb2/pull/3186 ** Description changed: [Impact] icingaweb2 does not work on PHP 7.2 or higher, e.g. as shipped in Ubuntu 18.04. [Test Case] Steps to reproduce: # apt install mariadb # mysql_secure_installation # apt install icinga2 icinga2-ido-mysql Yes to both questions relating to automatically set up database # apt install icingaweb2 Point a browser at http://host.example.co.uk/icingaweb2 to run the setup wizard Expected results: The setup wizard loads. Actual results: Fatal error: Uncaught ErrorException: session_name(): Cannot change session name when session is active in /usr/share/php/Icinga/Web/Session/PhpSession.php:97 Stack trace: #0 [internal function]: Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(2, 'session_name():...', '/usr/share/php/...', 97, Array) #1 /usr/share/php/Icinga/Web/Session/PhpSession.php(97): session_name('Icingaweb2') #2 /usr/share/php/Icinga/Web/Session/PhpSession.php(152): Icinga\Web\Session\PhpSession->open() #3 /usr/share/php/Icinga/Web/Controller/ActionController.php(544): Icinga\Web\Session\PhpSession->write() #4 /usr/share/php/Icinga/Web/Controller/ActionController.php(489): Icinga\Web\Controller\ActionController->shutdownSession() #5 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(512): Icinga\Web\Controller\ActionController->postDispatch() #6 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch('errorAction') #7 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php( in /usr/share/icingaweb2/library/vendor/Zend/Controller/Plugin/Broker.php on line 332 [Regression Potential] The package is completely broken on startup now, so the regression potential is effectively nil. [Other Info] - Upstream: - https://github.com/Icinga/icingaweb2/pull/3186 + Upstream fix: + https://github.com/Icinga/icingaweb2/pull/3315/commits/dadd2c80f6819111f25e3799c072ec39c991897e + + Backported to Debian package here: + https://salsa.debian.org/nagios-team/pkg-icingaweb2/commit/5804954da6cf08a74eeeb689d8d094eefa6ba9bc ** Patch added: "icingaweb2_2.4.1-1ubuntu0.1.debdiff" https://bugs.launchpad.net/ubuntu/+source/icingaweb2/+bug/1769890/+attachment/5318696/+files/icingaweb2_2.4.1-1ubuntu0.1.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1769890 Title: Icingaweb2 does not work with PHP 7.2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/icingaweb2/+bug/1769890/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
