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!

NuGet Package on Server Not Updating



  • I have a nuget package I am trying to update on my proget server, which I have created a new version of. Even though it says it pushed successfully in both the web interface and command line, the new version of the package does not appear on the proget server.

    Product: ProGet
    Version: 2.2.12



  • Package indexing is done by the service, so make sure the service is running and that no errors occurred during indexing.



  • It is and it actually does generate indexing errors saying a file is current in use by another process.

    The only way to resolve this is to delete the package from the ProgramData folder, stop the service, manually read it and start the service. When doing this, the service appears to spin for some time (up to an hour) before the package shows up.



  • How big is the package? Keep in mind a hash must be generated for the ODATA feed to keep NuGet happy, and if it's quite big then this will take a long time.



  • The file is around 4 MB.



  • Are you still experiencing this problem? The ProGet service is very lightweight and should startup almost instantly, though it's possible that the database connection is what's taking the time.

    Could you try running the ProGet service interactively? (Make sure to stop the service and run the ProGet.Service.exe executable) This will give instant logging feedback and detail any errors or connection slowness as it happens.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation