Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    5 Posts 2 Posters 11 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jramon.ortega_2700
      last edited by atripp

      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

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @jramon.ortega_2700
        last edited by

        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

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jramon.ortega_2700 @atripp
          last edited by

          @atripp Thanks 👍 👍

          atrippA 1 Reply Last reply Reply Quote 0
          • atrippA Offline
            atripp inedo-engineer @jramon.ortega_2700
            last edited by

            Hi @jramon-ortega_2700 ,

            This should be fixed now! If you go to Admin > Extensions, can you download Scripting 2.0.1?

            Thanks,
            Alana

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jramon.ortega_2700 @atripp
              last edited by

              @atripp Hi
              hello after downloading scripting 2.01 i restart the server otter worked perfectly.
              thanks

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation