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
    68 Posts 16 Posters 7.1k 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.
    • M
      mad_4u @stephenw10
      last edited by mad_4u

      @stephenw10

      I did factory defaults and reset everyting the error still shows and even after restoring my configuration it keeps coming back
      then i reinstall all packages and reboot.
      no more errors

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

        Are you redirecting DNS? Routing over a VPN?

        I can't hit this on anything here, fast or slow...

        M 1 Reply Last reply Reply Quote 0
        • M
          mad_4u @stephenw10
          last edited by

          @stephenw10
          yes dns on adguard-home, Guest vlan on wireguard vpn.
          after reinstalling everything no more erros i suspect the issue was acme package

          1 Reply Last reply Reply Quote 1
          • 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 P 2 Replies 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
                                      • P
                                        pfpv @stephenw10
                                        last edited by

                                        @stephenw10
                                        I got here by googling the error. I upgraded from 2.7.2 to 2.8.0 CE about a week ago. I uninstalled all packages as instructed and after the upgrade I restored the saved 2.7.2 configuration and the packages were reinstalled automatically. I am on the new PPPoE driver on WAN.

                                        After about a week without any issues, today I logged in to the GUI and it was slow to appear. After I got the interface the dashboard update check was "turning around the circle" forever. I didn't wait until it finished and checked the installed packages for updates but the list of packages never loaded. I stopped waiting and went to check other things (port forwards etc.) Meanwhile, I checked my pi-holes for queries (my DNS goes through pi-holes) and saw plenty of queries to ews.netgate.com, pkg00-atx.netgate.com, pkg01-atx.netgate.com, netgate.com. They were all served IPs.

                                        Then, I went to the dashboard and the update check finished with no updates. That's when I noticed that error at the top. I checked packages and they all loaded this time with no updates. Getting back to the dashboard was still slow. After reading this thread I went to System/Update/System Update and in the line "Retrieving" there was the "turning circle" for quite a long time. After some time I got the following:

                                        "Retrieving: Another instance of pfSense-upgrade is running. Please try again in a few moments."
                                        

                                        This is something new. I haven't seen this before. I just went back to the dashboard and found the same message again

                                        check_upgrade: "Updating repositories metadata" returned error code 1
                                        

                                        Maybe this can give you an idea of what may be going on here. My system has been up for 6 days and 21 hours when I noticed the above. I also wonder if the new PPPoE driver has anything to do with this as it was mentioned earlier. I guess the simplest explanation could be that the Netgate servers were intermittently down but I doubt it. This was happening on 2025-06-16 between 10 and 10:25am EDT. Now I refreshed the system update page and it came with Status Up to date as expected. Also, strangely I didn't receive Pushover notifications for the errors.

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

                                          I assume you see available packages if you manually check after that?

                                          Do you only see that error after rebooting?

                                          The 'Another instance of pfSense-upgrade is running' message is expected if the initial update check at boot is still running.

                                          P 1 Reply Last reply Reply Quote 1
                                          • P
                                            pfpv @stephenw10
                                            last edited by

                                            @stephenw10
                                            I tried to describe everything carefully. It's all in my post.
                                            Yes, the installed, not the available packages list showed up later.

                                            No, not after rebooting. My system hasn't been rebooted for 6 days and 21 hours. I had logged in to it after the reboot (~7 days ago) and some time after but before today. That's why I thought what was going on today was strange.

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