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

    check_upgrade: "Updating repositories metadata" returned error code 1

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    54 Posts 13 Posters 6.3k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Hmm, curious...

      1 Reply Last reply Reply Quote 1
      • R
        rpsmith
        last edited by

        Same problem here:

        PC Engines APU2 Platform ("apu4" model)
        Netgate Device ID: 97372676272a13e1bf6f

        Everything else seems to be working OK. This system has no packages installed and the WAN is using 100 megabit PPPoE.

        RPSmith...

        1 Reply Last reply Reply Quote 0
        • R
          rpsmith
          last edited by

          Also, if I set "Disable the dashboard auto-update check", the error does not appear again even after a reboot and I can manually check for an update and still no error so It might be a timing issue during boot-up.

          RPSmith...

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Yes, it certainly seems like a race condition with the initial upgrade check. But there must be something additional in play to trigger it. I still can't replicate it here....

            R 1 Reply Last reply Reply Quote 1
            • R
              rpsmith @stephenw10
              last edited by

              @stephenw10 ~ I think it will start again if I re-enable "dashboard auto-update check" and I could give you access to the firewall if that would help your troubleshooting.

              RPSmith...

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                I think we're going to need to replicate it locally but if I can't that could be helpful.

                R 1 Reply Last reply Reply Quote 0
                • R
                  rpsmith @stephenw10
                  last edited by rpsmith

                  @stephenw10 ~ The one I'm seeing this problem on is my one and only PC Engines APU2 Platform ("apu4" model) so it doesn't have much for CPU power and my "Branch" has always been correctly populated. Also, My WAN is PPPoE and I have the new PPPoE service enabled.

                  RPSmith...

                  1 Reply Last reply Reply Quote 1
                  • J
                    JonnyQuest
                    last edited by

                    I would like to add I am having the same problem after upgrading from 2.7.2 to 2.8.0. The only packages that I had installed were Wireguard and the system patches. Packages were uninstalled then updated. As with the others, the message only shows up again after a reboot.

                    Running bare metal on a

                    Dell Wyze 5070 Extended

                    Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz
                    Current: 1500 MHz, Max: 1501 MHz
                    4 CPUs : 1 package(s) x 4 core(s)
                    AES-NI CPU Crypto: Yes (active)
                    QAT Crypto: No

                    4 GB DDR4

                    250GB M.2 SATA used for pfSense
                    (Internal eMMC not used)

                    Intel I350-T2 Network card

                    Very basic configuration (no vlans) with no wireguard at the moment (Did not restore my configuration file yet).

                    Had no issues running 2.7.2

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Also using a pppoe WAN?

                      And I assume, like the others here, you can still access the repos after boot?

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        JonnyQuest @stephenw10
                        last edited by

                        @stephenw10

                        WAN - DHCP

                        I also noticed the first 3-4 minutes of a reboot the CPU usage is very high at 27-37% then settles down to 2-5% (typical for 2.7.2) then the message pops up. I don't remember that high of a CPU usage with 2.7.2 during the first few minutes, but to be fair I did not reboot much.

                        I do have "Current Stable Version (2.8.0)" in the Branch dropdown box.

                        stephenw10S 1 Reply Last reply Reply Quote 0
                        • R
                          rpsmith
                          last edited by

                          I've seen this error now on multiple PC Engines APU2 Platforms but not on any of my other platforms.

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator @JonnyQuest
                            last edited by

                            @JonnyQuest said in check_upgrade: "Updating repositories metadata" returned error code 1:

                            I do have "Current Stable Version (2.8.0)" in the Branch dropdown box.

                            I mean, for example, if you go to the package manager can you see the list of available packages? The requires querying the configured repos which would fail if it could access them.

                            J 1 Reply Last reply Reply Quote 0
                            • R
                              rpsmith
                              last edited by rpsmith

                              I have no problems showing or searching for available packages on the firewall that displays this error.

                              RPSmith...

                              1 Reply Last reply Reply Quote 1
                              • J
                                JonnyQuest @stephenw10
                                last edited by

                                @stephenw10

                                I can access the available packages and install with no issues. Installed Wireguard and System_Patches no problem.

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