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!

    Upload fails, wants "target"

    Scheduled Pinned Locked Moved Support
    proget
    2 Posts 2 Posters 3 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.
    • ? This user is from outside of this forum
      Guest
      last edited by

      I have both v4.8.9 and v5.0.8 installed on 2 VMs.
      I have a small .upack file and a upack.json file on a third VM

      when I issue (to the v4.8.9 server)
      C:\Users\build-auto\Desktop>upack.exe push c:\Users\build-auto\Desktop\MYPKG-1.2.3.upack http://<489PGserver>:81/upack/myFeed/upload --user=usr:pw
      Package: installer/MYPKG
      Version: 1.2.3
      installer/MYPKG 1.2.3 published!

      BUT when I issue same to v5.0.8 server:
      C:\Users\build-auto\Desktop>upack.exe push c:\Users\build-auto\Desktop\MYPKG-1.2.3.upack http://<508PGserver>:81/upack/myFeed/upload --user=usr:pw
      Package: installer/MYPKG
      Version: 1.2.3
      Unhandled Exception: System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).

      When I look in the server error logs, I see:
      Value cannot be null. Parameter name: target (plus lots of details)

      What is "target"??? I do not see anything in the Native API, nor the upack docs. I've tried searhing the forums, but so far no luck.

      Product: ProGet
      Version: 5.0.8

      1 Reply Last reply Reply Quote 0
      • benB Offline
        ben inedo-engineer
        last edited by

        Hello Bruce,

        It looks like this can happen when the package store fails to open the file for writing.

        If you don't have a custom package store set for the UPack feed, make sure Storage.ProGetPackagesLibrary is set to a full path in /administration/advanced-settings and that the ProGet web server process can modify files in that path.

        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