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
    83 Posts 21 Posters 11.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.
    • G
      giammarcoa3 @stephenw10
      last edited by

      @stephenw10 Hi, we have the same problem, pfSense+ 24.11. The problem appeared since about 3 days ago.
      7186d613-576c-4ceb-8598-6a8ed97ae483-image.png

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

        It's showing as unregistered. Send me your NDI in chat and I'll check it.

        1 Reply Last reply Reply Quote 0
        • 1
          11Thirty8
          last edited by

          I too have this exact problem.

          1 Reply Last reply Reply Quote 0
          • J
            janostasik
            last edited by

            Hello,
            I have exactly same issue. I am running pfSense on Proxmox. It was all good until couple days ago i've notices empty branches and dashboard shows community edition. If i enter activation token again, it accepts it but dashboard still showing community and no updates/branches available. How can we proceed?

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

              Send me your NDI and order number in chat and I'll check it.

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

                @stephenw10 Thank you, meanwhile I am in touch with LEV from netgate TAC. Already know about interface amount vs NDI.

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

                  Ah, OK. They can check that for you then.

                  1 Reply Last reply Reply Quote 0
                  • DonnyD
                    Donny
                    last edited by

                    Today I upgrade pfsense 2.7.2 to version 2.8 after reboot it shows in my notices on the menu bar also :
                    Upgrade
                    check_upgrade: "Updating repositories metadata" returned error code 1 @ 2025-05-30 13:34:24

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

                      It may fail during the upgrade or at reboot. Does that message return if you clear it? Can you see the available packages list?

                      1 Reply Last reply Reply Quote 0
                      • DonnyD
                        Donny
                        last edited by

                        How can I clear this message? I only see x Close and Mark All as Read buttons. yes I can see available packages list.

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

                          Mark it as read and it should be removed from the dashboard.

                          1 Reply Last reply Reply Quote 0
                          • DonnyD
                            Donny
                            last edited by Donny

                            Ok I will try it.
                            I did Mark All as Read. After I reboot pfsense. Notice come back again
                            Upgrade
                            check_upgrade: "Updating repositories metadata" returned error code 1 @ 2025-05-31 01:23:18

                            ! Before upgrading pfSense from version 2.7.2 to 2.8, I removed all the installed packages. After completing the upgrade, I reinstalled the same packages again.

                            1 Reply Last reply Reply Quote 0
                            • DonnyD
                              Donny
                              last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                But it only returns if you reboot? It checks for updates periodically or if you refresh the check on the dashboard. If that isn't throwing the error then it's not a general issue but something at boot.

                                DonnyD 1 Reply Last reply Reply Quote 0
                                • F
                                  fredgate
                                  last edited by

                                  I am getting this too. Everything went well with the upgrade and all works as it should but I also get the Notice after reboot (check_upgrade: "Updating repositories metadata" returned error code 1).
                                  notices.png
                                  Seems to come up after I reload a saved backup and reboot. If I clear it and reboot and it comes right back. Don't really want to rebuild the whole firewall by hand so it would be nice if there was a solution to fix this.
                                  My situation is an upgrade from 2.7.2 to 2.8 on pfsense CE. On the upgrade page it shows Branch 2.8 like it should. Seems to check ok. Packages show up and say they are up to date. Like I said everything seems to be ok. I tried all the things in the Upgrade Trouble Shooting Guide but none are the magic bullet for fixing this.

                                  1 Reply Last reply Reply Quote 0
                                  • DonnyD
                                    Donny @stephenw10
                                    last edited by

                                    @stephenw10 Now, every time I reboot, the notice does not appear. And if I refresh the check on the dashboard, the notice still doesn't come back.
                                    However, I've encountered a new issue: when I click on certain items in the menu—such as System, Interfaces, Firewall, Services, VPN, Status, or Diagnostics—the notice appears again. I think I might need to completely reinstall the pfSense system.

                                    stephenw10S 1 Reply Last reply Reply Quote 0
                                    • F
                                      fredgate
                                      last edited by

                                      Solved my problem.
                                      I did a clean install of 2.8 and restored a saved configuration. Got the same Notice. 😞
                                      Then I did a clean install of 2.7.2 and restored the same saved configuration. No notice even after several reboots. 🤠
                                      The first time I did the upgrade from 2.7.2 to 2.8 I followed the instructions that said to uninstall packages so I did. I had three, snort, watchdog and patches (all patches applied). So I tried an upgrade again. This time when I did my upgrade from 2.7.2 to 2.8 I didn't uninstall those packages. The upgrade went off without a hitch. Also no repository metadata error.
                                      Take it for what its worth. My box is happy now. I'll post an update if the Notice comes back.

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

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

                                        when I click on certain items in the menu—such as System, Interfaces, Firewall, Services, VPN, Status, or Diagnostics—the notice appears again

                                        Hmm, in a repeatable way? Every time?

                                        If you have some exact steps I'll try to replicate.

                                        DonnyD 2 Replies Last reply Reply Quote 0
                                        • DonnyD
                                          Donny @stephenw10
                                          last edited by

                                          @stephenw10 Ok I will explain step by step today.

                                          1 Reply Last reply Reply Quote 0
                                          • DonnyD
                                            Donny @stephenw10
                                            last edited by Donny

                                            @stephenw10 Hello Stephenw10, This is the actual issue that occurred with pfSense 2.8 after upgrading from version 2.7.2:

                                            1. When the notification bell appears in the upper right corner of the Dashboard, I click on it. The notification message displayed is:
                                              Upgrade
                                              check_upgrade: "Updating repositories metadata" returned error code 1 @ 2025-06-02 10:02:41
                                              A pop-up window appears with two options: X Close and Mark All as Read.
                                            2. I click Mark All as Read, and then the notification bell disappears.
                                            3. Next, let's say I want to configure the DHCP Server. I go to Services > DHCP Server (it doesn't have to be under Services—any other menu works too). If I enter any other menu like System, Interfaces, Firewall, VPN, Status, or Diagnostics and choose any configuration option, the notification bell does not reappear, and I can configure everything normally within those menus.
                                            4. Then, I tested by rebooting the system and logging back into the pfSense Dashboard. The notification bell did not appear at the top right corner of the Dashboard.
                                            5. However, once I go into any menu and click a configuration item—for example, VPN > IPsec to configure VPN—the notification bell immediately reappears in the top right corner of the Dashboard.
                                            6. And whenever the notification bell reappears, I repeat steps 1–3.

                                            My Installed packages:
                                            acme 0.9_1
                                            freeradius3 0.15.14
                                            openvpn-client-export 1.9.5
                                            pfBlockerNG-devel 3.2.8
                                            System_Patches 2.2.20_2

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