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!

    Packages not appearing in Proget feed

    Scheduled Pinned Locked Moved Support
    proget
    9 Posts 2 Posters 43 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.
    • G Offline
      gurdipsira_1_1508
      last edited by

      Hi,
      I am trying to push a Nupkg file from TFS 2018 to Proget, using the Nuget push comand.

      However, even though the build runs successfully, I see nothing in Proget?

      I can send screenshots of the configuration.

      Thanks

      Product: ProGet
      Version: 5.0.8

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Check the logs of your TFS build; it's most likely that it's not being pushed, or there is some sort of error (even though it might not be logged as an error), such as unauthorized, etc.

        If there is an error, you can find ProGet's error logs under Admin > Error logs. If an unexpected error (invalid package, etc) occurred during the push, then it would be logged there.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Ok so I've done some more testing, but from a command line. This is what I get:

          There is the general API key in settings and also the Nuget API key.

          nuget push SampleCode2.1.0.0.0.nupkg 28055 -Source http://10.0.0.211:81/feeds/TestSitePackages/

          This works with the output:

          Pushing SampleCode2.1.0.0.0.nupkg to 'http://10.0.0.211:81/feeds/GurdipTestSitePackages/'...
          PUT http://10.0.0.211:81/feeds/GurdipTestSitePackages/
          OK http://10.0.0.211:81/feeds/GurdipTestSitePackages/ 277ms
          Your package was pushed.

          But I dont see anything in the feed itself at the url?

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            It looks like you're using the wrong URL. Make sure to use the "API endpoint url", shown on the feed page, as well as the package page.

            http://10.0.0.211:81/nuget/GurdipTestSitePackages/

            vs

            http://10.0.0.211:81/feeds/GurdipTestSitePackages/

            1 Reply Last reply Reply Quote 0
            • G Offline
              gurdipsira_1_1508
              last edited by

              Hmm, with the API url, I get 403.

              I am using the API key that is set on the feed in properties.

              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                The API key is a bit confusing, so please don't use it. In v5, it's no longer supported anyways.

                You can authenticate with name:password as an api key instead.

                1 Reply Last reply Reply Quote 0
                • G Offline
                  gurdipsira_1_1508
                  last edited by

                  So in the case of my usernane and pwd being Admin, Admin:Admin ?

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    gurdipsira_1_1508
                    last edited by

                    Ok so I tried:

                    nuget push SampleCode2.1.0.0.0.nupkg Admin:Admin
                    -Source http://10.0.0.211:81/nuget/TestSitePackages/

                    But vstill get a 403.

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      gurdipsira_1_1508
                      last edited by

                      Ok got this working by removing the api key in the feed properties, 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