Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. rhessinger

    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!

    rhessingerR Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 771
    • Groups 2

    rhessinger

    @rhessinger

    inedo-engineer
    68
    Reputation
    24
    Profile views
    771
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    rhessinger Unfollow Follow
    inedo-engineer administrators

    Best posts made by rhessinger

    • RE: ProGet slow fetching cargo packages

      Hi @jolaka9284_9458,

      Thanks for providing all these details. I was able to pinpoint the reason for the slow down and why it specifically happens on some crates and not others. This is related to some code that we have to determine when to point cargo to pull dependencies from ProGet vs crates.io. Specifically this comes from cargo's API specs for dependencies:

      registry — cargo metadata uses a value of null to indicate that the dependency comes from crates.io. The index uses a value of null to indicate that the dependency comes from the same registry as the index. When creating an index entry, a registry other than crates.io should translate a value of null to be https://github.com/rust-lang/crates.io-index and translate a URL that matches the current index to be null.

      As you can see, the value specified in the metadata is different than the value the index needs to return. In ProGet, we will return null if the package exists in the feed (including connectors) and https://github.com/rust-lang/crates.io-index if it does not. This is to support the case when ProGet is not used as a mirror and instead for only local crates. Unfortunately the use ProGet as a mirror option is stored only in the client config and is not sent to ProGet.

      This is the reason why crates with a lot of dependencies take longer to generate the index than ones that don't and why you'll occasionally get timeouts, but after the retry it works. We have some caching on this to help with performance, but it's not a forever cache.

      I'm going to work on some potential improvements for this and will let you know when I have a solution ready. Unfortunately, the only workaround we have for this currently is to use a package approval workflow (like our npm Package Approval blog article).

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: Run proget container as non root

      Hi @kichikawa_2913,

      I have an idea on how to accomplish this. It looks like Docker allows you to expose ports in the run command. Here is what I'm thinking should work. The first thing to do is to map a volume to /usr/share/Inedo/SharedConfig. In my example, I'll map to SharedConfig.

      So here would be the steps to try:

      1. Create the config file using port 8080
      echo '<?xml version="1.0" encoding="utf-8"?><InedoAppConfig><ConnectionString Type="SqlServer">'"`$SQL_CONNECTION_STRING"'</ConnectionString><WebServer Enabled="true" Urls="http://*:8080/"/></InedoAppConfig>' > SharedConfig/ProGet.config
      
      1. run the container using the following command
      podman run -d --userns=keep-id -v proget-packages:/var/proget/packages -v  `SharedConfig:/usr/share/Inedo/SharedConfig` -v /etc/pki/ca-trust/source/anchors:/usr/local/share/ca-certificates:ro --expose=8080 -p 8080:8080 --name=proget -e ASPNETCORE_URLS='http://+:8080' -e SQL_CONNECTION_STRING='Server=SERVERNAME;Database=ProGet;User ID=USERNAME;Password=PASSWORD' -e TZ='America/New_York' -i -t proget.inedo.com/productimages/inedo/proget:5.3.32 /bin/bash
      

      Can you please give that a try?

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: ProGet 5.3.6 SQL Exception

      Hi @gravufo,

      Would you be able to rerun the database scripts on your database? You will just need to run the Run inedosql to update the database step of our manual install guide. Can you see if this fixes your issue?

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: Unable to save changes to Role Configuration Script in Otter 2023 and 2023.1 (Build 3)

      Hi @MY_9476,

      Thanks for bringing this to our attention. I added a ticket, OT-502, to fix the issue. This should be released next week in Otter 2023.2.

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: BuildMaster 2024.6 - Build .NET Project script template bug

      Hi @mwatt_5816,

      Thanks for all of the detail. I have fixed the code, BM-3982, for this template and it will be released in the next maintenance of BuildMaster 2024.0.7 on Friday.

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: Error getting npm package versions: The JSON value could not be converted to System.DateTime ...

      Hi @jeff-peirson_4344,

      I have been able to recreate the issue and created a ticket, PG-2870, to track the fix. We expect this to release in ProGet 2024.25 on January 24, 2025. This looks to be related to the package name existing on npmjs.org with all versions being unlisted. If you need a fix sooner, we can provide a pre-release version of ProGet 2024.25 that includes the fix.

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: ProGet 6.0.11 (Build 25) allow to use LDAP in Free version

      Hi @NUt ,

      Thank you for bringing this to our attention. This bug, PG-2126, will be fixed in ProGet 6.0.12. Going forward it will allow you to configure everything and even test it via the "Test User Directories" button, but it will only allow you to login using the Built-In user directory and the username/password login option when using ProGet free.

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: ProGet 5.3.6 SQL Exception

      Hi @gravufo,

      Great! Glad to hear it! Please post back if you find anything else.

      I also recommend that you switch to the Inedo Hub in the future. We are in the process of deprecating our traditional installer. The Inedo Hub has the ability to update an installation previously installed with the traditional installer and the Inedo Hub now supports offline installations as well, if you need that functionality.

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: Timeout errors after upgrade to 5.3.7

      Hi @markus4830,

      I'm definitely sorry about this. The change was made to help to aide in improvements to other areas of the system related to NuGet. Unfortunately, it looks like it affected the NuGet API. Expect a more permanent solution in the near future.

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: Connection issues when configuring LDAP on Linux container

      Hi @kichikawa_2913,

      I think I have identified the issue. I have just pushed another version of InedoCore, version 1.10.7-CI.2 . Could you update and give that a try? I also added an option to bypass the LDAPS certificate verification. It is something that I would only use while testing. The solution you have with adding your certificates as valid certs is a more secure solution. One last thing to make sure you set is the Domain Controller Host. It can just be set to your domain (ex: domain.network using your steps from above). Linux/Docker does not seem to translate domain URLs the same way windows does.

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger

    Latest posts made by rhessinger

    • RE: Install Issues - Docker Compose + Postgres

      Hi @jeremy-oaks_9309,

      Glad to help! Please let us know if you have any issues with the migration.

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: Install Issues - Docker Compose + Postgres

      Hi @jeremy-oaks_9309,

      After digging into this further, there are a handful of issues that have all hit here. Before I dive into these, is there a reason you chose to use InedoDB over using the embedded database? Our guidance is when using a single ProGet container, use the embedded database. InedoDB is only recommended to be used with clustered installations of ProGet.

      In your case for using InedoDB and ProGet, there were basically 3 main issues that occurred.

      Issue 1:
      Your docker compose file is not quite correct. You currently have your volume mappings backwards which will cause your data to not be persisted through restarts. This is also why when you updated the the pg_hba.conf file, it did not persist. I should also point out there was a typo in our DockerFile, which pointed to the wrong directory for an InedoDB volume path. This is fixed in InedoDB 17.10.2. We also updated our InedoDB Docker Installation Docs to include the volume as well.

      Here is a modified version of your docker compose that will fix these issues:

      services:
        inedodb:
          image: proget.inedo.com/productimages/inedo/inedodb:17.10.2
          container_name: inedodb
          restart: unless-stopped
          ports:
            - "5432:5432"
          volumes:
            - /mnt/volume_nyc1_proget/postgres:/var/lib/inedodb
      
        proget:
          image: proget.inedo.com/productimages/inedo/proget:26.0.5
          container_name: proget
          restart: unless-stopped
          depends_on:
            - inedodb
          ports:
            - "8634:80"
          environment:
            PROGET_POSTGRES_CONNECTION_STRING: Host=inedodb;Port=5432;Database=proget;Username=inedodb;Password=<REDACTED>
          volumes:
            - /mnt/volume_nyc1_proget/proget/packages:/var/proget/packages
          deploy:
            resources:
              limits:
                memory: 2g
      

      Issue 2:
      The default for pg_hab.conf was too restrictive. This was actually updated in the Windows installer, but not in the inedodb create --name=proget command. This has now been fixed in InedoDB 17.10.2 and it will work out of the box. With that said, it is stored in a persisted volume, so changes will stay in affect. The other part of this is that when create a database, the container needs to be restarted. We have now added a message in the inedodb create command to restart the container.

      Issue 3:
      The connection string confusion. This is a side effect of Docker. When we generate the connection string in InedoDB, we use the get host name command from within the container. That hostname does not match the container name or network alias of the InedoDB . We have now added a warning when creating a database in InedoDB on Docker that you may need to update the host in the connection string.

      With all those addressed in docs and InedoDB 17.10.2, you should be good to create a new ProGet instance with InedoDB. If you have already started adding packages using your existing setup, I would be worried that your database and package files are not persisting through restarts. I would recommend:

      1. Set up a new instance using the DockerFile I used above and a trial key
      2. Import your packages from that instance to the new instance
      3. Shut down you old instance and move the license key to the new instance

      I know this is kind of long, so if you are confused on anything or have any other questions, please let me know!

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: Install Issues - Docker Compose + Postgres

      Hi @jeremy-oaks_9309,

      Thanks for bringing this to our attention. This looks like a change will will need to make to the InedoDB container. Let me do some digging and I'll have an update for you soon.

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: Cargo package metadata not parsing correctly causing builds to fail

      Hi @joris-guex,

      Thanks for sending an example over. It looks like this is related to an issue in the libssh2-sys's manifest. I have created a ticket, PG-3321, to handle these issues better. We are expecting to have a fix out within the couple of maintenance releases of ProGet 2026.

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: Project-scoped permissions not working as expected

      Hi @Nils-Nilsson,

      Thanks for bringing this to our attention. This looks to be a regression that happened right before release. I have created a ticket, PG-3289, to track the fix and we will release it this Friday in ProGet 2026.2.

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: [BUG] ProGet 2026 no longer able to find Active Directory Users/Groups when configuring Task/Permissions

      Hi @Nils-Nilsson,

      We identified the issue with the UI and have fixed it in PG-3277. This will be released next week in ProGet 2026.1.

      As for the UserNotFoundException after the rollback, that is most likely related to your cookies. Once the cookie expired, it then let you login again. You can verify that by using an private/incognito window and logging in or clearing your cookies and logging in again.

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: Unhandled exception in execution #xxx: 42702: column reference "DatabasePath_Text" is ambiguous

      Hi @cole-brand_2889,

      I have identified the issue, PG-3268, and this should now be fixed in ProGet 2025.27. Please upgrade to 2025.27 and see if that resolves your issue.

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: Increased Incorrect Classification of Security Vulnerabilities

      Hi @geraldizo_0690,

      Thanks for providing all of this information. I was finally able to recreate the issue. I have created ticket PG-3263 to fix that issue. That fix will be released next week in ProGet 2025.27. Just to make sure I cover all my bases, can you tell me which database backend you are using?

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: Alpine/APK-based container images show no vulnerabilities despite CVEs existing in PGVD

      Hi @kien-buit_2449,

      This is partially fixed in our vulnerability aggregator. You should see alpine vulnerabilities showing up next time your vulnerability updated runs. I also recreated a situation where certain packages may not be removed upon update of the vulnerability. I have created ticket PG-3263 to fix that issue. That fix will be released next week in ProGet 2025.27.

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger
    • RE: 404 error for missing SVG image (issues-hold.svg) on the Administration > Logs page

      Hi @sigurd-hansen_7559,

      This is a known issue, PG-3246, and will be fixed on Friday in ProGet 2025.25.

      Thanks,
      Rich

      posted in Support
      rhessingerR
      rhessinger