Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    transferred from Redmine -Bug #16341 Updating repositories metadata" returned error code 1 -- &/or Bug #15097

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 316 Views 3 Watching
    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.
    • DaddyGoD Offline
      DaddyGo
      last edited by DaddyGo

      @jimp I apologize Jim, - I got so caught up in the theme that I didn't take that into account.

      "
      Attention:
      The pfSense Redmine site is not a discussion platform and is never to be used for support requests.

      "

      I don't want to retype everything here, so I refer to what has been written on behalf of my company (Grid Solution Ltd.) here.
      Please read this too, so you can see the whole picture.: https://redmine.pfsense.org/issues/16341

      So, the conclusion is that now adding an HW element (&/or change) deletes the files(??) from the /usr/local/etc/pfSense/pkg/repos folder
      After restarting again, pfSense will no longer start up.

      When this occurs, this error message is immediately displayed.

      check_upgrade: "Updating repositories metadata" returned error code 1 @ 2025-10-30 19:19:11

      brief background:

      1. Restore the pfSense installation from a snapshot; this is the starting point, basic installation
      In this state, there were 9 interfaces + VMware Tools installation. 4x X710 rNDC + 4x X710 rNDC + vmx0 for mgmt. (VMXNET3) + QAT 10VFs

      -----The "pkg" files were here in the folder----

      61579463-4093-492f-86b3-d3ad5b83f852-image.png

      2. since it was necessary -- add an I350 with passthrough, - afterwards - REBOOT pfSense & ESXi host

      0ce16b54-cc9b-4b31-bad9-9ebfd762d3ee-image.png

      3. after restarting , the "pkg" files are missing and * Bug #16341 occurs immediately.*

      a3651c06-b161-4459-a6c0-e7a29b5df17e-image.png

      So, the conclusion is that now adding an HW element (&/or change) deletes the files(??) from the /usr/local/etc/pfSense/pkg/repos folder. hmmmm....?

      After restarting again, pfSense will no longer start up.

      c4ae8248-527e-4e44-a66f-912dc503e4e4-image.png

      Does anyone have any ideas about this?

      Cats bury it so they can't see it!
      (You know what I mean if you have a cat)

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        SteveITS Galactic Empire @DaddyGo
        last edited by

        @DaddyGo You had plus, correct? If one adds a NIC it changes the calculated NDI. The pfSense plus license is tied to the NDI so it's no longer valid. (Netgate will transfer it for this but IIRC only once)

        pfSense should function but you're blocked from updating, or installing packages, without a valid license.

        I've not seen anyone report core dumps or problems booting, though.

        Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
        Upvote ๐Ÿ‘ helpful posts!

        DaddyGoD 2 Replies Last reply Reply Quote 1
        • DaddyGoD Offline
          DaddyGo @SteveITS
          last edited by DaddyGo

          @SteveITS

          Hi, thanks for your reply.

          Yes, - fresh crispy license, two days old :-)
          I bought it during installation.

          You may have pointed out the solution.
          But how crazy would it be if, due to a hardware change, the box would throw away the license?
          (or the update options and the "pkg" repo)

          Mainly of adding or removing NICs.
          There are other parameters that could be linked to this ID, such as CPUID, etc.

          You should be able to add HW elements at any time, even if the device ID is calculated from them.

          Otherwise, the license status remains valid.

          7bc50672-a3d1-4d57-b1b4-d31ecc6b9673-image.png

          That's exactly what happens, by the way.
          https://redmine.pfsense.org/issues/15097

          I restored pfSense from the ESXi snapshot (was on half way) and copied the directory.
          (/usr/local/etc/pfSense/pkg/repos/)

          I don't know if this is okay, but I copied it back. :)
          I followed the workaround suggested in Bug #15097, but the files disappeared again.

          Please watch the video about this.

          https://mega.nz/file/phUWyCaI#xmz6H_4VJB3OvwP8aQqz8Gz6ioGr49qDTz7jat1cpBQ

          Edit1:
          Yes, I read that the license can be transferred once.
          but I didn't replace the entire box, I just added a NIC :)
          (I only added one NIC port, not the entire 4-port card.)

          Cats bury it so they can't see it!
          (You know what I mean if you have a cat)

          1 Reply Last reply Reply Quote 0
          • DaddyGoD Offline
            DaddyGo @SteveITS
            last edited by

            @SteveITS said in transferred from Redmine -Bug #16341 Updating repositories metadata" returned error code 1 -- &/or Bug #15097:

            The pfSense plus license is tied to the NDI so it's no longer valid. (Netgate will transfer it for this but IIRC only once)

            And you were right, I never would have imagined this, now that I'm back at pfSense.

            I just got a message from support, at least they were quick, hahaha....๐Ÿ˜‰

            Cats bury it so they can't see it!
            (You know what I mean if you have a cat)

            1 Reply Last reply Reply Quote 1
            • M Offline
              marcosm Netgate
              last edited by marcosm

              We are working on improving the license stuff. FWIW I tested the issue and it did not result in an unbootable system.

              DaddyGoD 1 Reply Last reply Reply Quote 0
              • DaddyGoD Offline
                DaddyGo @marcosm
                last edited by

                @marcosm said in transferred from Redmine -Bug #16341 Updating repositories metadata" returned error code 1 -- &/or Bug #15097:

                We are working on improving the license stuff. FWIW I tested the issue and it did not result in an unbootable system.

                @marcosm ---Thanks for the Follow-Up

                It would be great to be able to manage NICs flexibly on a NGFW, which is the "heart" of such a system.
                I have learned a lot about the relationship between NDI and MACs over the past few days. :)

                Kris is a great guy at TAC.

                I missed out a bit on this NDI and Plus license thing, but as I explained above, as soon as the added NIC created a new MAC, this license became invalid (so far, so good) and the firewall immediately threw up the error messages described in Bug #16341.

                After rebooting, it wouldn't start up again, and I had to continue from a snapshot.

                Now I understand that this is not directly related to the Bug #16341.

                Cats bury it so they can't see it!
                (You know what I mean if you have a cat)

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.