Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1039586: icingaweb2-module-graphite: Corrupt images created on Debian Bookworm/PHP 8.2

47 views
Skip to first unread message

Manfred Stock

unread,
Jun 27, 2023, 10:00:05 AM6/27/23
to
Package: icingaweb2-module-graphite
Version: 1.2.2-1
Severity: normal
Tags: upstream

Dear Maintainer,

I tried to use the package with Icinga Web 2 on a fresh install of
Debian Bookworm but noticed that no graphs were being displayed, only
'empty' boxes. Upon closer inspection of the data returned in the
requests for the graphs, I saw that the first two lines of the returned
data contained a deprecation warning from PHP:

<br />
<b>Deprecated</b>: Creation of dynamic property Icinga\Module\Graphite\Controllers\MonitoringGraphController::$backend is deprecated in <b>/usr/share/icingaweb2/modules/graphite/library/Graphite/Web/Controller/MonitoringAwareController.php</b> on line <b>47</b><br />

There apparently already is an upstream bug report [1] which describes
this issue and which also includes a simple patch which fixes it (I
tried it in my installation and got graphs afterwards). Maybe disabling
deprecation warnings in PHP also helps if that's possible - I haven't
investigated that potential option though.


Cheers,
Manfred

[1] https://github.com/Icinga/icingaweb2-module-graphite/issues/301
0 new messages