Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read-IcingaMSIMetadata not available during kickstart #522

Closed
t3easy opened this issue May 18, 2022 · 2 comments · Fixed by #532
Closed

Read-IcingaMSIMetadata not available during kickstart #522

t3easy opened this issue May 18, 2022 · 2 comments · Fixed by #532
Assignees
Labels
Bug There is an issue present
Milestone

Comments

@t3easy
Copy link
Contributor

t3easy commented May 18, 2022

I tried to install two servers with the Kickstart script `https://packages.icinga.com/IcingaForWindows/IcingaForWindows.ps1``

Both can`t install the agent

[Notice]: Remote repository "Icinga Stable" was successfully added
[Notice]: Downloading "agent" from "https://packages.icinga.com/IcingaForWindows/stable/agent/Icinga2-v2.13.3-x86_64.msi"
powershell.exe : Die Benennung "Read-IcingaMSIMetadata" wurde nicht als Name eines Cmdlet, einer Funktion, einer
Skriptdatei oder eines ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad
korrekt ist (sofern enthalten), und wiederholen Sie den Vorgang.
In C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\cache\framework_cache.psm1:16358 Zeichen:20
+         $MSIData = & powershell.exe -Command {
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Read-IcingaMSIMetadata:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

And then fail installing the certificate and so on.

Both already got a personal API token.

After closing the Admin Powershell, starting a new one and run the Kickstart a 2nd time, the installation worked fine.

@t3easy
Copy link
Contributor Author

t3easy commented May 24, 2022

How can I assist here?

@LordHepipud LordHepipud added this to the v1.10.0 milestone Jun 9, 2022
@LordHepipud LordHepipud self-assigned this Jun 9, 2022
@LordHepipud LordHepipud added the Bug There is an issue present label Jun 9, 2022
@LordHepipud
Copy link
Collaborator

Thank you for the report. This will be fixed with v1.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug There is an issue present
Projects
None yet
2 participants