WASP PROTECT AssetCloud OP Cloud On Premise User Guide
- June 16, 2024
- WASP PROTECT
Table of Contents
AssetCloud OP Cloud On Premise
Portal > Knowledgebase > Cloud > Cloud On-Premise: red errors in PowerShell during RabbitMQ installation – “no valid module file was found in any module directory”
Cloud On-Premise: red errors in PowerShell during RabbitMQ installation – “no
valid module file was found in any module directory”
Scott Barnett – 2021-11-09 – in Cloud
During the Cloud On-Premise installation (AssetCloud OP or InventoryCloud OP),
red errors are seen in the PowerShell window, containing verbiage similar to
“The specified module ‘.\ModuleName.ps1’ was not loaded because no valid module
file was found in any module directory.”
This can lead to the RabbitMQ component to not install, and produce an error
when logging into the OP software: “Installation has not been completed. The
following components are required: RabbitMQ Queue”
Possible cause
Group Policy is overriding the script settings, preventing PowerShell from running install scripts. Note that alhough the “Get-ExecutionPolicy” command has returned the value “Unrestricted” (as mentioned in the On-Premise Prerequisites article), scripts still fail in this situation.
Resolution
Cancel the OP installation, enable running scripts in Local Group Policy
Editor, then rerun the OP installer.
Steps to enable:
-
Click on “Edit group policy” in the search results.
Expand Computer Configuration -> Administrative Templates -> Windows Launch Local Group Policy Editor: Click the Windows button and type “group policy”. -
Components, and click on Windows Powershell
In the right pane, double-click “Turn on Script Execution”. -
Click the Enabled radio button.
-
Under Options, set Execution Policy to “Allow all scripts”.
-
OK.
-
This should allow the installation scripts to run without error.
After the installation completes, if desired, the setting can be returned to
the original value in the same manner, clicking “Not Configured” in Step 4.
Related Pages
Cloud On-Premise: RabbitMQ component uninstall & reinstall
procedure
Cloud On-Premise installation: PowerShell permission
configuration
References
- Wasp Helpdesk
- Knowledgebase - Wasp Helpdesk
- Cloud On-Premise installation: PowerShell permission configuration - Knowledgebase / Cloud - Wasp Helpdesk
- Cloud On-Premise: RabbitMQ component uninstall & reinstall procedure - Knowledgebase / Cloud - Wasp Helpdesk
- Cloud On-Premise: red errors in PowerShell during RabbitMQ installation - "no valid module file was found in any module directory" - Knowledgebase / Cloud - Wasp Helpdesk
- Knowledgebase / Cloud - Wasp Helpdesk
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>