Closed benhartwich closed 3 years ago
Thank you for the report. Could you please get more into detail on how you run the Wizard do end up with this configuration? In general the AllowUpdates part is coming directly from the Icinga Director and is set internally.
The proper argument to set it manually on CLI would be
-AllowVersionChanges 1
With this your current configuration should run without problems.
Thanks, installation succeeded.
Expected Behavior
Running the icinga2 wizard successfully when using this module
Current Behavior
The installation wizard failes with:
Possible Solution
Enable AllowUpdates per default.
Steps to Reproduce (for bugs)
Context
I´m using the following installer command line:
Start-IcingaAgentInstallWizard -UseDirectorSelfService 1 -DirectorUrl https://icinga.test.eu/director/ -SelfServiceAPIKey xxxxx -AddFirewallRule True -AgentVersion 'latest' -PackageSource 'https://packages.icinga.com/windows/' -Endpoints icinga.test.eu -CAPort 5665 -AcceptConnections True -EndpointConnections [icinga.test.eu]:5665 -CAEndpoint icinga.test.eu -Ticket 'xxxxx' -EmptyTicket 1 -InstallFrameworkPlugins 1 -PluginsUrl 'https://github.com/Icinga/icinga-powershell-plugins/archive/v1.0.0-rc1/v1.0.0-rc1.zip' -InstallFrameworkService 1 -FrameworkServiceUrl 'https://github.com/Icinga/icinga-powershell-service/releases/download/v1.0.0/icinga-service-v1.0.0.zip' -ServiceDirectory 'C:\Program Files\icinga-framework-service\' -ServiceBin 'C:\Program Files\icinga-framework-service\icinga-service.exe' -RunInstaller
I´ve tried to add -AllowUpdates 1 or -AllowUpdates True before -RunInstaller, but the error persists.
Your Environment
PowerShell Version used (
$PSVersionTable.PSVersion
): 5.1.17763Operating System and version (
Get-WmiObject Win32_OperatingSystem | Select-Object Version, BuildNumber, Caption
): 10.0.17763