Your message dated Fri, 15 May 2020 18:44:56 +0200
with message-id <25b69a34-270c-bd2f-dfd7-653c4c8d3...@xs4all.nl>
and subject line Re: [Pkg-nagios-devel] Bug#960701: php-icinga: Uncaught
ErrorException \Icinga\Web\ViewStream::stream_set_option is not implemented!
has caused the Debian Bug report #960701,
regarding php-icinga: Uncaught ErrorException
\Icinga\Web\ViewStream::stream_set_option is not implemented!
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
960701: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960701
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: php-icinga
Version: 2.7.3-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
* What led up to the situation?
I had a working Icinga Web setup. nginx as a frontend, redirecting to
Icinga:
location ~ ^/icingaweb2/index\.php(.*)$ {
fastcgi_pass unix:/var/run/php/php-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php;
fastcgi_param ICINGAWEB_CONFIGDIR /etc/icingaweb2;
fastcgi_param REMOTE_USER $remote_user;
}
location ~ ^/icingaweb2(.+)? {
alias /usr/share/icingaweb2/public;
index index.php;
try_files $1 $uri $uri/ /icingaweb2/index.php$is_args$args;
}
}
* What exactly did you do (or not do) that was effective (or
ineffective)?
I just upgraded my "sid" machine. Trying to access the Icinga Web page
of my installation no longer works.
* What was the outcome of this action?
In the browser (Firefox), just this message:
Fatal error: Uncaught ErrorException: Uncaught ErrorException: include():
\Icinga\Web\ViewStream::stream_set_option is not implemented! in
/usr/share/php/Icinga/Web/View.php:262 Stack trace: #0
/usr/share/php/Icinga/Web/View.php(262):
Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}() #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() #3
/usr/share/icingaweb2/library/vendor/Zend/Controller/Action/Helper/ViewRenderer.php(904):
Zend_View_Abstract->render() #4
/usr/share/icingaweb2/library/vendor/Zend/Controller/Action/Helper/ViewRenderer.php(925):
Zend_Controller_Action_Helper_ViewRenderer->renderScript() #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/icin
in /usr/share/icingaweb2/library/vendor/Zend/Controller/Plugin/Broker.php on
line 259
* What outcome did you expect instead?
Ordinary Icinga Web page.
I also tried with the package in experimental,
php-icinga_2.8.0~rc1-1~exp2_all.deb. I got a different problem: the
CSS does not load and nginx logs:
2020/05/15 14:33:17 [error] 21559#21559: *65 FastCGI sent in stderr: "PHP
message: PHP Fatal error: Uncaught ErrorException: file_get_contents():
Filename cannot be empty in /usr/share/php/Icinga/Web/LessCompiler.php:172
Stack trace:
#0 [internal function]:
Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}()
#1 /usr/share/php/Icinga/Web/LessCompiler.php(172): file_get_contents()
#2 /usr/share/php/Icinga/Web/StyleSheet.php(172):
Icinga\Web\LessCompiler->render()
#3 /usr/share/php/Icinga/Web/StyleSheet.php(210):
Icinga\Web\StyleSheet->render()
#4 /usr/share/php/Icinga/Application/webrouter.php(61):
Icinga\Web\StyleSheet::send()
#5 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/php/...')
#6 {main}
thrown in /usr/share/php/Icinga/Web/LessCompiler.php on line 172" while
reading response header from upstream, client: 192.168.2.1, server: _, request:
"GET /icingaweb2/css/icinga.min.css HTTP/2.0", upstream:
"fastcgi://unix:/var/run/php/php-fpm.sock:", host: "icinga2.nic.example",
referrer: "https://icinga2.nic.example/icingaweb2/dashboard"
2020/05/15 14:33:17 [error] 21559#21559: *65 FastCGI sent in stderr: "PHP
message: PHP Fatal error: Uncaught ErrorException:
file_get_contents(/usr/share/icingaweb2/public/js/icinga/behavior/modal.js):
failed to open stream: No such file or directory in
/usr/share/php/Icinga/Web/JavaScript.php:126
Stack trace:
#0 [internal function]:
Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}()
#1 /usr/share/php/Icinga/Web/JavaScript.php(126): file_get_contents()
#2 /usr/share/php/Icinga/Web/JavaScript.php(50): Icinga\Web\JavaScript::send()
#3 /usr/share/php/Icinga/Application/webrouter.php(69):
Icinga\Web\JavaScript::sendMinified()
#4 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/php/...')
#5 {main}
thrown in /usr/share/php/Icinga/Web/JavaScript.php on line 126" while reading
response header from upstream, client: 192.168.2.1, server: _, request: "GET
/icingaweb2/js/icinga.min.js HTTP/2.0", upstream:
"fastcgi://unix:/var/run/php/php-fpm.sock:", host: "icinga2.nic.example",
referrer: "https://icinga2.nic.example/icingaweb2/dashboard"
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: armhf (armv7l)
Kernel: Linux 4.4.199-a890a5a94ebb621f8f1720c24d12fef1-0 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages php-icinga depends on:
ii php 2:7.4+76
ii php7.4 [php] 7.4.5-1
Versions of packages php-icinga recommends:
ii php-mysql 2:7.4+76
ii php7.4-json [php-json] 7.4.5-1
php-icinga suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
fixed 960701 icingaweb2/2.8.0~rc1-1~exp1
thanks
You need icingaweb 2.8.0 from experimental for php7.4 support, and you
need to upgrade all icingaweb2 packages from experimental, not only
php-icinga.
icingaweb2 (2.8.0~rc1-1~exp1) works fine on my unstable test VM.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
--- End Message ---