Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. dean-houston
    3. Posts

    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!

    dean-houstonD Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 226
    • Groups 1

    Posts

    Recent
    • RE: Unable to upload tar.gz file to NPM feed through web UI in Proget

      Hi @devops-services_2004 ,

      This means that the file you uploaded contained unexpected data; like maybe something in the package.json file was wrong, or it was in the wrong format, etc.

      How did you create this npm package? Or did you download it from somewhere? We could probably look at the file and say what's wrong with it.

      Best,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: attempt to write to readonly database

      Hi @henh-lieu_7061 ,

      This error indicates that you don't have access to the c:\ProgramData\Romp directory, or there is otherwise a file error when writing to that folder.

      You can try deleting that folder, then reinstalling again.

      Best,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: Installed ProGet Server on EC2, setting up HTTPS and associating with existing Domain Name

      Hi @Ricardo_C_RST ,

      For EC2 (a virtual server), you can just follow the ordinary Inedo Hub installation process. As for HTTPS and Domain, that's a setting probably easiest to do in AWS. I'm not familiar with AWS, but something like CloudFront might help?

      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: Multiple builds as part of an application

      Hi @Justinvolved,

      I don't know if I'm totally tracking the structure, and what you mean by "referencing the latest builds" in the deployment scripts.

      Are you looking to have three applications? One app per repo, and then a "controller" application?

      Or, do you want to have one application that builds from two repos? And it will always build/deploy content from those at the same time?

      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: Tile View partially working in RPM feed, not at all in Assets

      Hi @MaxCascone ,

      Thanks for pointing these out; we will get the RPM icon fixed (probably a minor CSS thing), and then then hide the option on the Manage Asset Directory page (via PG-2540).

      This view is intended mostly for ProGet ISV Edition use cases, and we likely won't expand on this in ProGet 2024, since you're probably first person who commented on it 😏

      Cheers,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: Connector showing error in logs if package doesn't exist in feed

      Hi @kigiwow570_6179,

      I don't have enough information/specifics to answer the questions; it really depends on the API queries being made, etc. Some API calls result in errors, others do not. In general, doing a NuGet restore will not result in errors being logged.

      Best,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: nuget.org connector throving NuGet v2 Bad Request

      Hi @kigiwow570_6179 ,

      These errors are being "forwarded" from NuGet.org, and if you're seeing them it means that "something" on your network is making requests to a ProGet feed that has a connector to nuget.org.

      This is typically an old, outdated tool or script. You'll need to track this down and update/disable it.

      It could also be a self-connector that is connecting to a feed that also has a connector to ProGet using the V2 APi - so double check your self-connectors.

      Best,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: [PROGET] Migration from 5.3.38 to 2023.22 - problems with npm packages

      Hi @philippe-camelio_3885 ,

      You mention the server is crashing? That's really strange, and we've never quite seen anything like this before. We routinely test on much less powerful hardware in nearly identical scenarios that you are doing now.

      SQL Server / .NET will use as much ram as it can, so the usage isn't surprising or really concerning.

      Otherwise we don't really any info info on the errors --- You'll need to track down error messages from the ProGet side of things; perhaps the Docker container error logs, the SQL Server error logs, etc. Maybe try putting the npm client (i.e. BuildMaster) on a different server, just to help isolate any potential issues.

      We've seen a lot of weird things happen -- every now and then, there's a problem with the network controller/hardware/driver on the server, and it's having a hard time processing the 1000's of simultaneous "loopback" connections that npm is making from the BuildMaster container to the ProGet container, and the "outbound" connections that npm would be making to npmjs.org.

      But until you find out what those errors are on the ProGet side, it's impossible to guess.

      posted in Support
      dean-houstonD
      dean-houston
    • RE: [BM] If you want the variables in JSON form, you only get the system variables

      Thanks @philippe-camelio_3885 , roger that!

      I thought you were reffering to the API :)

      We'll get this fixed as BM-3912 in a future maintenance release, likely Dec 14 since it's a holiday week coming up here in the states.

      Cheers,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: [BM] is ti possible to make a variable as list at a group level

      Hi @philippe-camelio_3885 ,

      Thanks for clarifying; so it sounds like you're talking about Variable Prompts (Templates), which are part of a pipeline?

      These are not "variables" per se; instead, they are used to prompt users at certain points during a pipeline (creating build, deploying build, etc.) to input values. Those values will then be created as variables.

      We don't plan to extend templates outside of pipelines. If you reaaaaly wanted to, you could create a BuildMaster "application that creates applications" using the API and then leverages the pipeline prompts to create the variables in the format you want.

      It's probably just easier to clone an application, however.

      Cheers,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: [BM] is ti possible to make a variable as list at a group level

      Hi @philippe-camelio_3885 ,

      I'm sorry it's not really clear what you're trying to accomplish.... you can define list-based variables at all levels. Just specify the value like @(a,b,c), for example.

      Cheers,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: [BM] If you want the variables in JSON form, you only get the system variables

      Hi @philippe-camelio_3885 ,

      Sorry - it's not really clear what the issue is; can you share more details? Ideally a way I can reproduce this in a new instance of BuildMaster, but also maybe a screenshot or the APi calls you're making?

      Thanks,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: NuGet V2 Bad Requests

      Hi @pallavi-tarigonda_9617,

      These errors are being "forwarded" from NuGet.org, and if you're seeing them it means that "something" on your network is making requests to a ProGet feed that has a connector to nuget.org.

      This is typically an old, outdated tool or script. You'll need to track this down and update/disable it.

      It could also be a self-connector that is connecting to a feed that also has a connector to ProGet using the V2 APi - so double check your self-connectors.

      Best,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: How to automate ProGet installation via ansible so that ProGet and SQL EXPRESS gets added to D drive instead of default C drive

      @Srinidhi-Patwari_0272 here is the api for healthcheck:
      https://docs.inedo.com/docs/proget-reference-api-health

      the url would be /health

      posted in Support
      dean-houstonD
      dean-houston
    • RE: How to automate ProGet installation via ansible so that ProGet and SQL EXPRESS gets added to D drive instead of default C drive

      Hi @Srinidhi-Patwari_0272 ... it sounds like everything's working on the ProGet side, but I'm not familiar enough with troubleshooting Terraform/etc. to advise how to troubleshoot automating that.

      posted in Support
      dean-houstonD
      dean-houston
    • RE: How to automate ProGet installation via ansible so that ProGet and SQL EXPRESS gets added to D drive instead of default C drive

      Hi @Srinidhi-Patwari_0272,

      The domain name is abcd.efg.com and the port is 8624; it's very likely someone will need to open that port on the firewall as well.

      Cheers,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: KeyNotFoundException when using pgscan

      Hi @v-makkenze_6348 ,

      This is the first time I've seen a "link": true type entry in a lock file.

      The docs for package-lock.json aren't very clear for what this signifies, aside from:

      A flag to indicate that this is a symbolic link. If this is present, no other fields are specified, since the link target will also be included in the lockfile.

      Not sure how a "link" entry like that gets added to a lock file, but I think we should just skip it then? Basically add code in that loop that does this?

      if (npmDependencyPackage.Value.TryGetProperty("link", out var link) && link.GetBoolean() == true)
        continue;
      

      What do you think?

      Cheers,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: How to automate ProGet installation via ansible so that ProGet and SQL EXPRESS gets added to D drive instead of default C drive

      @Srinidhi-Patwari_0272 said in How to automate ProGet installation via ansible so that ProGet and SQL EXPRESS gets added to D drive instead of default C drive:

      How to make ProGet URL accessible to all?

      If you're able to access ProGet while being logged into the server, then it means the web server is up and running without issues.

      From here, you'll need to adjust Windows firewall settings and/or enable DNS so that others can access. There's also certificate settings you'll need possibly. I'd check w/ your network team on this --- definitely not a change you can make inside of ProGet itself.

      posted in Support
      dean-houstonD
      dean-houston
    • RE: ProGet 2023 Data Migration fails with database timeout

      Hi @Evan_Mulawski_8840 ,

      That particular bug may be resolved by running the patch script attached to this upcoming change: https://inedo.myjetbrains.com/youtrack/issue/PG-2484

      As for retrying the migration; there will be a button on the ProGet root page if there is a failed/incomplete migration (/) that allows you to retry it. This will open to the /retry-migration URL, which I would recommend using instead of a database insert.

      Best,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: ProGet API to get the operating systems of all Docker images

      Hi @hashim-abu-gellban_3562,

      Due to some reasons I don't fully understand, authenticating to the Docker API requires using a Bearer authentication token Authorization: Bearer {token}

      Here is an example for how to get that token:

      function GetDockerToken() {
      
          param (
              [string] $packageName = $(throw "-packageName is required.  This is the namespace and image name.  For example: library/my-container-image"),
              [string] $feed = $(throw "-feed is required"),
              [string] $actionToAuthorize = $(throw "-action is required.  This is the docker action to be authorized (pull, push, delete, etc)"),
              [string] $apiKey = $(throw "-apiKey is required"),
              [string] $progetBaseUrl = $(throw "-progetBaseUrl is required. "),
      	[string] $service
          )
      
      
      	if ($service -eq "") {
                # This expects that $progetBaseUrl is prepended with "https://"  If you are using "http://" then change 8 to 7 below.
      	  $service = $progetBaseUrl.SubString(8,$progetBaseUrl.Length-8)
      	}
      
      	$base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(("{0}:{1}" -f "api","$apiKey")))
      	$response = Invoke-WebRequest -Uri "$progetBaseUrl/v2/_auth?service=$service&scope=repository`:$feed/$packageName`:$actionToAuthorize" -Headers @{Authorization=("Basic {0}" -f $base64AuthInfo)}
      	if ($response.StatusDescription -eq "OK") {
      		$token = ($response.Content | ConvertFrom-Json).token
      		$token
      	}
      }
      

      I know we plan to document all this better some day, for now you can find the Semantic Versioning for Containers page.

      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • 1 / 1