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!

    Upack push returns "Operation was cancelled by user"

    Scheduled Pinned Locked Moved Support
    4 Posts 3 Posters 9 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.
    • P Offline
      priyanka.m_4184
      last edited by

      Hi,

      I'm new to using upack.exe CLI and I've managed to create a .upack package using the
      upack pack command.

      I'm trying to push out this package using the below command:

      "upack push Mypackage-1.0.1.upack "https://proget.consilio.com/upack/<feedname>" --user="$ProgetUsername":"$ProgetPassword" "

      I am passing the username and password by storing them in the variables as seen above.

      This command returns this output:
      Package: Mypackage
      Version: 1.0.1
      Operation was canceled by the user.

      Why does it say "Operation was cancelled", Is it waiting for user input? How do I push the package up to my feed? I cannot have the credentials displayed in plain text.

      This is my current setup :

      • Installed upack v3.1.1 as a dotnet tool
      • running the upack.exe command inside a PowerShell script.

      Could you please help on this?

      Regards,
      Priyanka

      1 Reply Last reply Reply Quote 0
      • stevedennisS Offline
        stevedennis inedo-engineer
        last edited by

        Hi @priyanka-m_4184 ,

        That message usually indicates a network problem; are you seeing any issues on the ProGet side of things?

        Can you try pushing a package with PowerShell directly instead of using upack.exe? That way you can see an error more clearly, hopefully.

        Cheers,
        Steve

        1 Reply Last reply Reply Quote 0
        • P Offline
          priyanka.m_4184
          last edited by

          Hi @stevedennis ,

          Thanks, Everything looks good from ProGet end

          By PowerShell you mean using Invoke-WebRequest right?

          With Invoke-WebRequest it just took very long (~30 mins) . So maybe it is the network. I will check and add an update.

          Regards,
          Priyanka

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

            Hi @priyanka-m_4184 , thanks for updating; yes in this case, it must be a really large package file? 30min is long time, and the upack client must be timing out then.

            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