Bug#1031825: [Pkg-nagios-devel] Bug#1031825: icinga-php-library: Creation of dynamic property is deprecated in PHP 8.2

2023-02-23 Thread Frederik Himpe

Sebastiaan Couwenberg schreef op 2023-02-23 17:59:


 skip_validation is not a documented resource option:

  
https://icinga.com/docs/icinga-web/latest/doc/04-Resources/#configuration


 You likely have this in /etc/icingaweb2/resources.ini though, can you
confirm that?


Yes:
my icingadb resource has:
skip_validation = "0"

This was set by the icingaweg2 setup: there is an option "Skip 
validation" which ignores any errors if it cannot connect to the 
database. Some screenshots with this option are here: 
https://github.com/Icinga/icingaweb2/issues/4291


Anyway, I temporarily used this option during the setup but I don't need 
this any more so I removed it. The errors are gone now and everything 
works as expected.


--
Frederik Himpe 
Vrije Universiteit Brussel



Bug#1031825: [Pkg-nagios-devel] Bug#1031825: icinga-php-library: Creation of dynamic property is deprecated in PHP 8.2

2023-02-23 Thread Sebastiaan Couwenberg

Hi Frederik,

Resending with correct Reply-To header.

On 2/23/23 17:55, Frederik Himpe wrote:

Sebastiaan Couwenberg schreef op 2023-02-23 17:45:

On 2/23/23 17:05, Frederik wrote:
I'm using Debian Bookworm with icinga-php-library 0.10.1-1 and PHP 
8.2. When I log in in icingaweb2, I see three times this message in 
the left sidebar between the search bar in the menu:
Deprecated: Creation of dynamic property 
ipl\Sql\Config::$skip_validation is deprecated in 
/usr/share/icinga-php/ipl/vendor/ipl/sql/src/Config.php on line 32


Are you using icinga2-ido-mysql by chance?

I cannot reproduce the issue with icinga2-ido-pgsql


No, I'm not using any of the icinga2-ido-* packages, I am using icingadb 
with icingadb-web instead.


What about my other question?

"
 skip_validation is not a documented resource option:

  https://icinga.com/docs/icinga-web/latest/doc/04-Resources/#configuration

 You likely have this in /etc/icingaweb2/resources.ini though, can you 
confirm that?


 Please remove or comment out the setting if you do.
"

Please check /etc/icingaweb2/resources.ini.

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#1031825: [Pkg-nagios-devel] Bug#1031825: icinga-php-library: Creation of dynamic property is deprecated in PHP 8.2

2023-02-23 Thread Frederik Himpe

(Sorry for the double post, sending this to the bug report too.)

Sebastiaan Couwenberg schreef op 2023-02-23 17:45:

Control: tags -1 moreinfo

Hi Frederik,

On 2/23/23 17:05, Frederik wrote:
I'm using Debian Bookworm with icinga-php-library 0.10.1-1 and PHP 
8.2. When I log in in icingaweb2, I see three times this message in 
the left sidebar between the search bar in the menu:
Deprecated: Creation of dynamic property 
ipl\Sql\Config::$skip_validation is deprecated in 
/usr/share/icinga-php/ipl/vendor/ipl/sql/src/Config.php on line 32


Are you using icinga2-ido-mysql by chance?

I cannot reproduce the issue with icinga2-ido-pgsql


No, I'm not using any of the icinga2-ido-* packages, I am using icingadb 
with icingadb-web instead.


--
Frederik Himpe 
Vrije Universiteit Brussel



Bug#1031825: [Pkg-nagios-devel] Bug#1031825: icinga-php-library: Creation of dynamic property is deprecated in PHP 8.2

2023-02-23 Thread Sebastiaan Couwenberg

Control: tags -1 moreinfo

Hi Frederik,

On 2/23/23 17:05, Frederik wrote:

I'm using Debian Bookworm with icinga-php-library 0.10.1-1 and PHP 8.2. When I 
log in in icingaweb2, I see three times this message in the left sidebar 
between the search bar in the menu:
Deprecated: Creation of dynamic property ipl\Sql\Config::$skip_validation is 
deprecated in /usr/share/icinga-php/ipl/vendor/ipl/sql/src/Config.php on line 32


Are you using icinga2-ido-mysql by chance?

I cannot reproduce the issue with icinga2-ido-pgsql, that setup was used 
to develop the PHP 8.2 changes are discussed in the upstream issue:


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

skip_validation is not a documented resource option:

 https://icinga.com/docs/icinga-web/latest/doc/04-Resources/#configuration

You likely have this in /etc/icingaweb2/resources.ini though, can you 
confirm that?


Please remove or comment out the setting if you do.

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#1031825: icinga-php-library: Creation of dynamic property is deprecated in PHP 8.2

2023-02-23 Thread Frederik
Package: icinga-php-library
Version: 0.10.1-1
Severity: normal
Tags: upstream

Dear Maintainer,

I'm using Debian Bookworm with icinga-php-library 0.10.1-1 and PHP 8.2. When I 
log in in icingaweb2, I see three times this message in the left sidebar 
between the search bar in the menu:
Deprecated: Creation of dynamic property ipl\Sql\Config::$skip_validation is 
deprecated in /usr/share/icinga-php/ipl/vendor/ipl/sql/src/Config.php on line 32

Upstream report: https://github.com/Icinga/ipl-sql/issues/69

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (800, 'testing'), (700, 'stable-security'), (700, 'stable'), 
(650, 'proposed-updates'), (200, 'unstable'), (160, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages icinga-php-library depends on:
ii  icinga-php-thirdparty0.11.0-2
ii  php-intl 2:8.2+93
ii  php8.2-cgi [php-json]8.2.2-3
ii  php8.2-cli [php-json]8.2.2-3
ii  php8.2-common [php-pdo]  8.2.2-3
ii  php8.2-fpm [php-json]8.2.2-3
ii  php8.2-intl [php-intl]   8.2.2-3

icinga-php-library recommends no packages.

icinga-php-library suggests no packages.

-- no debconf information