• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 8.2k 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
    stephenw10 Netgate Administrator
    last edited by May 6, 2025, 12:31 PM

    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 May 7, 2025, 10:47 AM

      I too have this exact problem.

      1 Reply Last reply Reply Quote 0
      • J
        janostasik
        last edited by May 28, 2025, 11:51 AM

        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
        • S
          stephenw10 Netgate Administrator
          last edited by May 28, 2025, 12:13 PM

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

          J 1 Reply Last reply May 28, 2025, 12:15 PM Reply Quote 0
          • J
            janostasik @stephenw10
            last edited by May 28, 2025, 12:15 PM

            @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
            • S
              stephenw10 Netgate Administrator
              last edited by May 28, 2025, 12:16 PM

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

              1 Reply Last reply Reply Quote 0
              • D
                Donny
                last edited by 28 days ago

                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
                • S
                  stephenw10 Netgate Administrator
                  last edited by 28 days ago

                  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
                  • D
                    Donny
                    last edited by 28 days ago

                    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
                    • S
                      stephenw10 Netgate Administrator
                      last edited by 28 days ago

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

                      1 Reply Last reply Reply Quote 0
                      • D
                        Donny
                        last edited by Donny 28 days ago 28 days ago

                        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
                        • D
                          Donny
                          last edited by 28 days ago

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by 27 days ago

                            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.

                            D 1 Reply Last reply 27 days ago Reply Quote 0
                            • F
                              fredgate
                              last edited by 27 days ago

                              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
                              • D
                                Donny @stephenw10
                                last edited by 27 days ago

                                @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.

                                S 1 Reply Last reply 26 days ago Reply Quote 0
                                • F
                                  fredgate
                                  last edited by 26 days ago

                                  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
                                  • S
                                    stephenw10 Netgate Administrator @Donny
                                    last edited by 26 days ago

                                    @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.

                                    D 2 Replies Last reply 26 days ago Reply Quote 0
                                    • D
                                      Donny @stephenw10
                                      last edited by 26 days ago

                                      @stephenw10 Ok I will explain step by step today.

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        Donny @stephenw10
                                        last edited by Donny 26 days ago 26 days ago

                                        @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
                                        • S
                                          stephenw10 Netgate Administrator
                                          last edited by 25 days ago

                                          Ah OK. That sounds more like it simply hasn't had time to fail the check the first time you login and display the dashboard. As soon as you go to some other page the check has failed and it displays the alert.

                                          If you can try just refreshing the dashboard. I expect the alert to be shown then too.

                                          But importantly this only happens once after rebooting and not again until the next reboot?

                                          D 1 Reply Last reply 25 days ago Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]