Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Yoeri.rousseaux_8527
    Y
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Yoeri.rousseaux_8527

    @Yoeri.rousseaux_8527

    0
    Reputation
    3
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Yoeri.rousseaux_8527 Follow

    Best posts made by Yoeri.rousseaux_8527

    This user hasn't posted anything yet.

    Latest posts made by Yoeri.rousseaux_8527

    • RE: Issue with ProGet and connector cache in rootless container

      Hiya,

      We changed the setup to root, but still encountered the same issue. Besides rootless container policy we're also doing segmentation of every platform, so only allowing powershellgallery.com wasn't enough. after extented search and looking through logs we saw that the CDN's of powershellgallery were being dropped.

      Will probably revert the setup and go back rootless after the holidays to see if everything still works flawless, be I guess it will be fine now :)
      Thanks for your insight!

      posted in Support
      Y
      Yoeri.rousseaux_8527
    • Issue with ProGet and connector cache in rootless container

      We're trying to setup a test environment with proget container to see if it can replace our current nuget.server, so at the moment this is a free licence setup.
      Policy here is to setup our containers with rootless users.
      The main setup is working, even the kestrel wasn't trowing errors without the config as described here (we did however applied these settings afterwards to make sure this wasn't part of the problem described bellow)
      We've tested several methods to see if everything works as expected, we have two feeds setup for powershell modules, one without a connector to psgallery and one with.
      The following work flawless with both feeds find-module, publish-module, however when we try to install a package that hasn't been cached yet, there is an error thrown in powershell (notice the 404)

      Install-Module -Name IvantiPS -Scope CurrentUser -Repository PSGalleryLocal -Force
      PackageManagement\Install-Package : Package 'IvantiPS' failed to be installed because: Het einde van de record voor de
      centrale map is niet gevonden.
      At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21
      + ...          $null = PackageManagement\Install-Package @PSBoundParameters
      +                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : InvalidResult: (IvantiPS:String) [Install-Package], Exception
          + FullyQualifiedErrorId : Package '{0}' failed to be installed because: {1},Microsoft.PowerShell.PackageManagement
         .Cmdlets.InstallPackage
      

      In the logs of the container we then see the following happening

      info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
            Request starting HTTP/1.1 GET http://nuget.qa.xxx.be/nuget/PSGallery - - -
      info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
            Request finished HTTP/1.1 GET http://nuget.qa.xxx.be/nuget/PSGallery - 200 273 text/xml 2.7007ms
      info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
            Request starting HTTP/1.1 GET http://nuget.qa.xxx.be/nuget/PSGallery/FindPackagesById()?id='FoooBarr' - - -
      info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
            Request finished HTTP/1.1 GET http://nuget.qa.xxx.be/nuget/PSGallery/FindPackagesById()?id='FoooBarr' - 200 504 application/atom+xml 213.2596ms
      info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
            Request starting HTTP/1.1 GET http://nuget.qa.xxx.be/nuget/PSGallery/FindPackagesById()?id='IvantiPS'&$skip=0&$top=40 - - -
      info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
            Request starting HTTP/1.1 GET http://nuget.qa.xxx.be/ - - -
      info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
            Request finished HTTP/1.1 GET http://nuget.qa.xxx.be/ - 200 14205 text/html;+charset=UTF-8 3.0951ms
      info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
            Request finished HTTP/1.1 GET http://nuget.qa.xxx.be/nuget/PSGallery/FindPackagesById()?id='IvantiPS'&$skip=0&$top=40 - 200 14137 application/atom+xml 182.2315ms
      info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
            Request starting HTTP/1.1 GET http://nuget.qa.xxx.be/nuget/PSGallery/package/IvantiPS/0.1.8 - - -
      info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
            Request finished HTTP/1.1 GET http://nuget.qa.xxx.be/nuget/PSGallery/package/IvantiPS/0.1.8 - 404 24 - 746.6243ms
      

      When a package has been published to the same feed and then installed there is no issue, so it's like the copy/move from the psgallery-download is failing somewhere along the road. The same command to my own setup at home (without rootless setup) does work, so i think something is missing in the documentation to make caching work in a rootless setup, specific folders, permissions, config?

      Hope someone can help us out!

      posted in Support
      Y
      Yoeri.rousseaux_8527