Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Upgrade Otter 3.0.24 to 22.0.1 break Ensure-PSModule
-
hello we are trying otter.
In version 3.0.24 an otter script Module with the following code :module xRobocopy { Ensure-PsModule ( Module: xRobocopy, Force: true ); }
worked correctly. when upgrading to version 22.0.1 generates the following error:
The 'Install-Module' command was found in the module 'PowerShellGet', but the module could not be loaded. For more information, run 'Import-Module PowerShellGet'.
we do not know if we are doing something wrong or it is a bug.
Thanks
-
Hi @jramon-ortega_2700 ,
We just discovered this issue with Otter v2022; it has to do with a bug in the hosted PowerShell runtime, .NET6, and loading certain modules
It doesn't look like Microsoft will fix it unfortunately, but we're currently scrambling to work-around the issue and get it fixed ASAP.
Cheers,
Alana
-
@atripp Thanks
-
Hi @jramon-ortega_2700 ,
This should be fixed now! If you go to Admin > Extensions, can you download Scripting 2.0.1?
Thanks,
Alana
-
@atripp Hi
hello after downloading scripting 2.01 i restart the server otter worked perfectly.
thanks