Php8.1 Icinga for Windows

Hello,

last week i installed php8.1 because php7.4 is EOL since 28.11.2022.

Everything works fine but when i install “Icinga for Windows” with the the following statement i get an error:

[Net.ServicePointManager]::SecurityProtocol = ‘tls12, tls11’;
$ProgressPreference = ‘SilentlyContinue’;
[string]$ScriptFile = ‘C:\Users\Public\IcingaForWindows.ps1’;

Invoke-WebRequest -UseBasicParsing
-Uri ‘https://packages.icinga.com/IcingaForWindows/IcingaForWindows.ps1’ `
-OutFile $ScriptFile;

& $ScriptFile -ModuleDirectory 'C:\Program Files\WindowsPowerShell\Modules\'
-InstallCommand …


The Error is:
[Notice]: Host seems already to be registered within Icinga Director. Trying local Api key if present
[Notice]: No local Api key was found and using your provided template key failed. Please ensure the host is not already registered and drop the set Self-Service key within the Icinga Director for this host.
[Notice]: Starting Icinga for Windows installation
[Error]: Failed to start Icinga for Windows installation, caused by an error while communicating with Icinga Director:

In C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\cache\framework_cache.psm1:7816 Zeichen:9

  •     throw $global:Icinga.InstallWizard.DirectorError;
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (System.Object[]:Object[]) [], RuntimeException
    • FullyQualifiedErrorId :

[Notice]: No local Api key was found and using your provided template key failed. Please ensure the host is not already
registered and drop the set Self-Service key within the Icinga Director for this host.


After that i went back to php7.4 an everything works again.

My system is:
Ubuntu 20.04 LTS
Icinga Web 2 Version 2.11.2
Icinga director Master

Thank you for your help.

Best regards,
Wolfgang

you can check the icingaweb2 application log, and see what caused the issue inside icingadirector

yes php 7.4 is Eol but it will receive security patches

thank you for you help.
i will see and i will give you feedback.

Best regards,
Wolfgang