Public bug reported:

I just upgraded a machine to Ubuntu Bionic.  I was using icingaweb2 to monitor 
a server before the upgrade.

After the upgrade when I try to login to icinga2 I get an error:


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

Steps to reproduce

1. Navigate to http://servername/icingaweb2/authentication/login
2. Enter valid username and password
3. Click login button

The error message is displayed as above.

According to the machine these are the versions of the relevant
packages:

ii  icingaweb2               2.4.1-1                     all    simple and 
responsive web interfa
ii  libapache2-mod-php7.2    7.2.7-0ubuntu0.18.04.2      amd64                  
     

I did some research and think I have found that Icingaweb2 was not
compatible with php7.2 until June this year:

A bug ticket:

https://github.com/Icinga/icingaweb2/issues/3185

The fix:

https://github.com/Icinga/icingaweb2/pull/3186

Corresponding to their 2.6.0 milestone

** Affects: icingaweb2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1783464

Title:
  Icinga2 2.4.1 crashes at login on php 7.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/icingaweb2/+bug/1783464/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to