Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. jlarionov_2030
    3. Posts
    J
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by jlarionov_2030

    • RE: Apply license key inside container

      @atripp I'm sorry, you're absolutely right. It does indeed work with version 2025.18. I simply forgot to apply the license key with pgutil before attempting to create the API key. Then I confused myself more when 2024.39 wasn't throwing the same error (because I was still setting the license with the --LicenseKey Inedo Hub option).

      For anyone stumbling here in the future like me, here's what you need to do to apply the license key and create an API key with pgutil:

      pgutil sources add --name=Default --url=http://localhost:8624
      pgutil settings set --name=Licensing.Key --value=LICENSE-KEY-GOES-HERE
      api_key=$(pgutil apikeys create system)
      
      posted in Support
      J
      jlarionov_2030
    • RE: Apply license key inside container

      I have confirmed that the issue was reintroduced with version 2025.0 (it was last working in 2024.39).

      posted in Support
      J
      jlarionov_2030
    • RE: Apply license key inside container

      @atripp This issue has resurfaced. I confirmed it was fixed in 2024.39 but it's failing in the same way again in 2025.18.

      When calling pgutil apikeys create system I get the following error:

      Downloading InedoHub.
      Gathering package information...
      Installing MSVC runtime...
      Downloading ProGet-25.0.18.upack...
      Installing ProGet...
      ProGet 25.0.18 installed.
      Downloading pgutil v2.2.4.4
      Creating API key.
      '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
      
      posted in Support
      J
      jlarionov_2030
    • RE: Apply license key inside container

      @atripp That did the trick. I'm able to use pgutil now to set an API key and fully automate ProGet setup. Thank you!

      posted in Support
      J
      jlarionov_2030
    • RE: Apply license key inside container

      @stevedennis We run a lot of automated tests against ephemeral instances of ProGet in CI environments, so we need a programmatic way to apply a license key.

      posted in Support
      J
      jlarionov_2030
    • RE: Apply license key inside container

      @stevedennis Trying to use pgutil settings list with a fresh ProGet container gives me the following error:

      [vagrant@localhost ~]$ pgutil settings list
      '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
      

      Here's my pgutil config:

      [vagrant@localhost ~]$ cat ~/pgutil/pgutil.config
      {
        "sources": [
          {
            "name": "Default",
            "url": "http://localhost:8624"
          }
        ]
      }
      

      However once I enter the license key via the web UI, the pgutil settings list command successfully lists all the instance settings.

      posted in Support
      J
      jlarionov_2030
    • Apply license key inside container

      I'm testing out running ProGet via a container based on Docker Installation Guide - Inedo Documentation. I'm using the image proget.inedo.com/productimages/inedo/proget:25.

      How do I programmatically apply the license key to the ProGet instance inside the container?

      Usually we use Inedo Hub for this but that doesn't seem to be included inside the container image.

      posted in Support
      J
      jlarionov_2030
    • 1 / 1