-
Notifications
You must be signed in to change notification settings - Fork 33
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
Installation stuck at "Loading Powershell Framework" #781
Comments
The system shouldn't freeze at this point and can't reproduce this. What operating system are you running this on? |
I have set the ExecutionPolicy to CurrentUser and there it stops at another when trying a new install on Windows 11 Pro.
I don´t know where to start - is there any kind of debug parameter for the script in order to see, what is happening exactly? |
What happens if you run icinga -Shell Basically what is called next after the message is
Maybe we can start there to check what is going on. |
It succeeded after setting the ExecutionPolicy to ByPass for the LocalMachine also and reinstalled all. |
We are seeing the same problem, changing the execution policy does not make it different. In WS2016, Use-Icinga and -Shell get stuck. It seems the framework installation gets stuck at
Seems the below that gets stuck
We have tried rebooting this machine, or uninstalling the framework module but does not seem to work. |
I found the root cause, underneath GetWindowsService.ps1 it will call Get-IcingaWindowsInformation.ps1 that will be used to query services (to find icinga2), in our case we had a log shipper "filebeat" that seem to make the ultimate underneath query Get-CimInstance Win32_Service super slow (or not able to return in many cases), this was hanging the execution of the scheduled task and GetWindowsService.ps1 was never finishing. Underneath all this, the ultimate basic call that was hanging in one of the scripts above was After killing the filebeat process, we were able to install the framework and the agent correctly. |
Hi,
I am using an elevated powershell and set:
Set-ExecutionPolicy -ExecutionPolicy ByPass -Scope Process
and tried to install the power shell framework:
The installation is stuck at "loading powershell framework - what could I´ve done wrong?
The text was updated successfully, but these errors were encountered: