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!

    (500) Internal server error.

    Scheduled Pinned Locked Moved Support
    progetpublishingnugetpowershell
    7 Posts 1 Posters 100 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

      After installing ProGet I have gotten the repository up running and I have setup the Powershell feed, but upon publishing Module I get the next error:
      Image Text

      And IIS Logging:
      <code>
      2016-08-02 08:56:12 ::1 PUT /nuget/powershell/ - 81 - ::1 NuGet+Command+Line/2.8.60717.93+(Microsoft+Windows+NT+6.2.9200.0) - 500 0 0 859
      </code>

      This has maybe something to do with that i have copied the nuget package provider to "C:\Program Files\PackageManagement\ProviderAssemblies\nuget\2.8.5.205". I had to do this because my Windows 2012 WMF 5.0 machine does not have access to the internet and i cannot install the nuget packageprovider.

      The erros has led me to this page:
      http://inedo.com/support/questions/1303
      But I’m not sure what the build-agent exactly is. The only service I can find is the “Proget Service”.

      Also, procmon shows me that de nuget package has been created by the nuget executable. But the files T empPublishError.txt and TempPublishOutput.txt are gone before I can troubleshoot.

      Can you please help me resolve this issue?

      Product: ProGet
      Version: 4.2.0

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

        If you go to the ProGet Admin page, you should see a list of recent errors, and one of them should correspond to this issue and give a full stack trace if you click on it. That should help us to track this down.

        Do you still get the error if you change the feed type to NuGet? PowerShell and NuGet feeds work the same; the changes are supposed to be only cosmetic.

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

          The problem is the same when I change the feed to NuGet instead of Powershell.

          The error:

          Message
          <code>An error occurred processing a PUT request to http://localhost:81/nuget/powershell/: Value cannot be null. Parameter name: path1</code>

          Details
          <code>
          at System.IO.Path.Combine(String path1, String path2)
          at Inedo.ProGet.Extensibility.PackageStores.DefaultPackageStore.CreatePackageAsync(PackageStorePackageId packageId)
          at Inedo.ProGet.Feeds.NuGet.NuGetFeed.<InstallOrUpdatePackageAsync>d__40.MoveNext()
          --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
          at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.PutHandler.<ProcessPutRequestAsync>d__0.MoveNext()
          --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
          at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.<ProcessRequestAsync>d__6.MoveNext()
          </code>

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

            When you go to Manage Feed, what does it say for "package Store"?

            IT should say "default" in italics, not "Default Package Store".

            If it says "Default Package Store", can you [Change Package Store], then click Save? That should cause it to revert to "default".

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

              It says "Default Package Store". Upon change I can select "Default Package Store" (Change -> Change Package Store -> Default Package Store -> Save) but that does not change it to the italic "default"

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

                Oh you will need to upgrade to 4.2.1; that was a bug in 4.2.0.

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

                  Ah yes, that solved my problem. 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