Control: severity -1 important
On 6/14/23 14:19, Frederic Danel wrote:
Icingacli module enable --> crash with deprecated print. Making impossible to
use module if you start from scratch,
or if you'r comming from bullseye and want to enable a new custom module.
I cannot reproduce the crash.
icingacli just shows a bunch of deprecation warning that were not caught
while testing the php8.2 compatibility.
Also icingaweb2 print a lot of deprecated print on the website.
I also cannot reproduce this.
Only the downtime form shows deprecation warnings which were likewise
missed while testing the php8.2 compatibility.
Also Bullseye --> Bookworm migration shutdown mariadb before migrating sql.
The package upgrade doesn't touch the database, you need to apply the
schema changes yourself.
https://icinga.com/docs/icinga-2/latest/doc/16-upgrading-icinga-2/
https://icinga.com/docs/icinga-web/latest/doc/80-Upgrading/
Probably other issues, solution for now is to use php8.1 package from sury repo.
You need check your environment for third party packages or
icingaweb2-module packages maintained outside the Nagios team, I have
only patched the packages maintained in the team fix the php8.2
deprecations encountered while testing.
issue for php8.2 : https://github.com/Icinga/icingaweb2/issues/4918
I forwarded all the changes for php8.2 applied to the packages in Debian
to that issue. If they didn't have a CLA they could be forwarded as PRs.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1