Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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!

    Proget: setting metadata cache to true not reflected in UI

    Scheduled Pinned Locked Moved Support
    5 Posts 2 Posters 15 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      stefan.hakansson_8938
      last edited by

      Hi,

      I did pgutil connectors properties set --connector=myconnector --property=metadataCacheEnabled --value=true, and when then doing pgutil connectors properties list --connector=myconnector it says metadataCacheEnabled=true.

      However, it is still said being disabled in the Web UI.

      Br,
      Stefan

      stevedennisS 1 Reply Last reply Reply Quote 0
      • stevedennisS Offline
        stevedennis inedo-engineer @stefan.hakansson_8938
        last edited by

        Hi @stefan-hakansson_8938 ,

        I cannot reproduce this in ProGet 2025 - the value is set and displayed correctly, as expected.

        Both the UI and API use the same code to retreive/load information from the database, and there is no data caching here, so I'm thinking there might be some other issue (looking at wrong instance, looking at wrong connector, etc).

        Thanks,
        Steve

        1 Reply Last reply Reply Quote 0
        • S Offline
          stefan.hakansson_8938
          last edited by

          Hi @stevedennis, thank you for looking into this.

          I was on ProGet 2025.1 Build 5, and just upgraded to ProGet 2025.2 Build 15

          $ ./pgutil health
          Checking https://packages.prod.antura.cloud/...all OK
          Version: 2025.2 (Build 15) (2025.2 (Build 15))
          
          Database: OK
          License:  OK
          Service:  OK
          $ ./pgutil connectors properties list --connector="noble updates"
          url=https://archive.ubuntu.com/ubuntu/
          feedType=debian
          timeout=60
          metadataCacheEnabled=true
          metadataCacheCount=100
          metadataCacheMinutes=30
          

          while the Web UI looks like
          Screenshot from 2025-07-03 09-05-27.png

          I will be away for a few weeks now but will investigate more when I'm back, I just wanted to upload the info I have now.

          Best regards,
          Stefan

          stevedennisS 1 Reply Last reply Reply Quote 0
          • stevedennisS Offline
            stevedennis inedo-engineer @stefan.hakansson_8938
            last edited by

            @stefan-hakansson_8938 thanks for confirming, I see what's happening

            Debian feeds do not use metadata caching (they have a local index file instead), so it's not settable and is always displayed as "disabled" in the ProGet UI. If you were to go to the connector page, you won't be able to set it. HOWEVER, it's settable using the API.

            1 Reply Last reply Reply Quote 0
            • S Offline
              stefan.hakansson_8938
              last edited by

              Thank you @stevedennis, this makes sense.

              One odd thing is that I noted that when I had set metadatacache=true using pgutil, the time the WebUI showed Loading Packages.... and the time it took to do sudo apt update in clients went from long to super long. It went back to long when I set metadatacache=false again. I don't know if there is a logical explanation for this or of it was just a coincidence.

              Br,
              Stefan

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation