[Bug 1172228] New: icingaweb2 does not support PHP 7.4 of Leap 15.2
http://bugzilla.opensuse.org/show_bug.cgi?id=1172228 Bug ID: 1172228 Summary: icingaweb2 does not support PHP 7.4 of Leap 15.2 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: screening-team-bugs@suse.de Reporter: an.alexsimon@googlemail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I upgraded our server to Leap 15.2. It also upgraded Icingaweb2 to 2.7.3, which does not yet support php 7.4, also the default on 15.2. Icingaweb simply pops up with a PHP error when trying to load the main page. I fixed it by switching icingaweb2 to GIT master, as suggested here: https://github.com/Icinga/icingaweb2/issues/4031 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172228 Alexander Simon <an.alexsimon@googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|--- |Community User -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172228 http://bugzilla.opensuse.org/show_bug.cgi?id=1172228#c1 Jurriaan Saathof <jurriaan@xenophobia.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jurriaan@xenophobia.nl --- Comment #1 from Jurriaan Saathof <jurriaan@xenophobia.nl> --- This is indeed plain stupid. I have installed the packages of version 2.8 that are in the server:monitoring repository on OBS. See http://download.opensuse.org/repositories/server:/monitoring/openSUSE_Leap_1... No need for checking out Icingaweb2 git repo. This is the actual error in the apache2 log: --- Jul 08 07:52:14 internet icingaweb2[1695]: ErrorException in /usr/share/php/Icinga/Web/View.php:262 with message: include(): \Icinga\Web\ViewStream::stream_set_option is not implemented! #0 /usr/share/php/Icinga/Web/View.php(262): Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(Integer, String, String, Integer, Array) #1 /usr/share/php/Icinga/Web/View.php(262): include() #2 /usr/share/icingaweb2/library/vendor/Zend/View/Abstract.php(877): Icinga\Web\View->_run(String) #3 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action/Helper/ViewRenderer.php(904): Zend_View_Abstract->render(NULL) #4 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action/Helper/ViewRenderer.php(925): Zend_Controller_Action_Helper_ViewRenderer->renderScript(String, NULL) #5 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action/Helper/ViewRenderer.php(964): Zend_Controller_Action_Helper_ViewRenderer->render() #6 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action/HelperBroker.php(272): Zend_Controller_Action_Helper_ViewRenderer->postDispatch() #7 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(518): Zend_Controller_Action_HelperBroker->notifyPostDispatch() #8 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch(String) #9 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response)) #10 /usr/share/php/Icinga/Application/Web.php(300): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response)) #11 /usr/share/php/Icinga/Application/webrouter.php(99): Icinga\Application\Web->dispatch() #12 /usr/share/icingaweb2/public/index.php(4): require_once(String) #13 {main} -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172228 http://bugzilla.opensuse.org/show_bug.cgi?id=1172228#c2 Ákos Szőts <szotsaki@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |donald.vosburg@suse.com --- Comment #2 from Ákos Szőts <szotsaki@gmail.com> --- *** Bug 1174472 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172228 Ákos Szőts <szotsaki@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |szotsaki@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172228 http://bugzilla.opensuse.org/show_bug.cgi?id=1172228#c3 --- Comment #3 from Ákos Szőts <szotsaki@gmail.com> --- Here is the bug report to support PHP 7.4: https://github.com/Icinga/icingaweb2/issues/4009 And here is the announcement for that: https://icinga.com/2020/06/08/releasing-icinga-web-v2-8-0/ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172228 http://bugzilla.opensuse.org/show_bug.cgi?id=1172228#c4 Walter Karig <walter.karig@ukbonn.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |walter.karig@ukbonn.de --- Comment #4 from Walter Karig <walter.karig@ukbonn.de> --- The icingaweb2-*-2.8.2-1.* packages from https://packages.icinga.com/openSUSE/15.2/release/ work very well now. Please update 2.7.4 -> 2.8.2 also in the openSUSE Leap 15.2/15.3 repositories. icingaweb2-2.7.4 is definitely not compatible with the actual php7 version 7.4.6. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172228 http://bugzilla.opensuse.org/show_bug.cgi?id=1172228#c5 Robert Munteanu <rombert@apache.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rombert@apache.org --- Comment #5 from Robert Munteanu <rombert@apache.org> --- Just got hit by this as well. It would be great to see a fixed icingaweb2 package for Leap 15.2 . -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172228 http://bugzilla.opensuse.org/show_bug.cgi?id=1172228#c6 --- Comment #6 from Robert Munteanu <rombert@apache.org> --- FWIW, 15.3 has the same problem. Switching to the server:monitoring repository ( although I am really hesitant to do that in a production setting ) does not seem to work due to missing dependencies: $ zypper dup -r server_monitoring --allow-vendor-change Loading repository data... Reading installed packages... Computing distribution upgrade... 3 Problems: Problem: nothing provides 'php-curl' needed by the to be installed php-Icinga-2.8.4-lp153.82.1.noarch Problem: nothing provides 'php-curl' needed by the to be installed php-Icinga-2.8.4-lp153.82.1.noarch Problem: nothing provides 'php-curl' needed by the to be installed php-Icinga-2.8.4-lp153.82.1.noarch Problem: nothing provides 'php-curl' needed by the to be installed php-Icinga-2.8.4-lp153.82.1.noarch Solution 1: Following actions will be done: keep obsolete php-Icinga-2.7.4-bp153.1.11.noarch keep obsolete icingaweb2-vendor-zf1-2.7.4-bp153.1.11.noarch keep obsolete icingaweb2-common-2.7.4-bp153.1.11.noarch Solution 2: deinstallation of php-Icinga-2.7.4-bp153.1.11.noarch Solution 3: break php-Icinga-2.8.4-lp153.82.1.noarch by ignoring some of its dependencies -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com