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

    Unable to check for updates (SOLVED)

    Scheduled Pinned Locked Moved General pfSense Questions
    104 Posts 31 Posters 104.6k 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.
    • Bob.DigB
      Bob.Dig LAYER 8 @bingo600
      last edited by Bob.Dig

      @bingo600 But why now, it has worked until yesterday, I am on 22.05 for months now. So what has changed when? Sry, for not getting the root of the problem.

      bingo600B 1 Reply Last reply Reply Quote 1
      • bingo600B
        bingo600 @Bob.Dig
        last edited by

        @bob-dig
        See my initial post here

        https://forum.netgate.com/post/1062012

        And note that my DK FW (with the issue) updated to 22.05_5 at 01:00 CEST

        Sep 17 01:00:03 	pkg-static 	24861 	pfSense-repo upgraded: 22.05_2 -> 22.05_5
        

        My SE FW (with no issue) updated to 22.05_9 at 08:11 CEST

        Sep 17 08:11:49 	pkg-static 	55031 	pfSense-repo upgraded: 22.05_2 -> 22.05_9
        

        My guess is that the 22.05_05 update somehow FSCK'ed up the repos url's. And that Netgate got it fixed, sometime in the 01:00 to 08:11 timeframe.

        So "Slow updaters" are not affected , "Fast updaters" are affected.

        /Bingo

        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

        pfSense+ 23.05.1 (ZFS)

        QOTOM-Q355G4 Quad Lan.
        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

        Bob.DigB 1 Reply Last reply Reply Quote 0
        • Bob.DigB
          Bob.Dig LAYER 8 @bingo600
          last edited by

          @bingo600 So we are talking not about an update of pfSense to a new version but to the repos stored in pfSense? And there is no Boot Environment for fixing it. Also there is nothing in Config History, maybe because I changed stuff today.

          But lets say, I didn't changed something of interest in the last two days, I can use my own backup und it should be good. I will try that.

          bingo600B 1 Reply Last reply Reply Quote 0
          • bingo600B
            bingo600 @Bob.Dig
            last edited by bingo600

            @bob-dig said in Unable to check for updates:

            @bingo600 So we are talking not about an update of pfSense to a new version but to the repos stored in pfSense?

            Yes, a repos update ... And the naming might hint that 22.09 is close.

            And there is no Boot Environment for fixing it.

            I do not know pfSense well enough to know if there is another way of downloading a fix.

            Also there is nothing in Config History, maybe because I changed stuff today.

            I saw it (the update) in the System General Log

            6ba322a6-6dfe-4e59-a1fb-e36aebd172e6-image.png

            .
            .

            But lets say, I didn't changed something of interest in the last two days, I can use my own backup und it should be good. I will try that.

            Your config should not have been affected , and restoring the config would not fix it.

            A full reinstall would probably fix it, as it would pull the '09 repos update not the '05.
            But that would (IMHO) be a lot of hassle, in order to avoid doing a ssh admin@xxxxxx , select 8 , and do the "One-Liner"

            /Bingo

            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

            pfSense+ 23.05.1 (ZFS)

            QOTOM-Q355G4 Quad Lan.
            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

            M Bob.DigB 2 Replies Last reply Reply Quote 1
            • M
              mcury Rebel Alliance @bingo600
              last edited by

              @bingo600 said in Unable to check for updates:

              Yes, a repos update ... And the naming might hint that 22.09 is close.

              I think it is close indeed..
              https://redmine.pfsense.org/projects/pfsense-plus/issues?fixed_version_id=60&set_filter=1&status_id=%2A

              dead on arrival, nowhere to be found.

              1 Reply Last reply Reply Quote 1
              • S
                sgc Rebel Alliance
                last edited by sgc

                This is what NetGate support sent to me about this problem.

                Diagnostics --> Edit File --> and in the "Path to file to be Edited", please enter the following and click "Load":

                /usr/local/share/pfSense/pkg/repos/pfSense-repo.conf

                You can then replace the file with the following contents and hit "Save". This will resolve your issue:

                FreeBSD: { enabled: no }

                pfSense-core: {
                url: "pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core",
                mirror_type: "srv",
                signature_type: "fingerprints",
                fingerprints: "/usr/local/share/pfSense/keys/pkg",
                enabled: yes
                }

                pfSense: {
                url: "pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05",
                mirror_type: "srv",
                signature_type: "fingerprints",
                fingerprints: "/usr/local/share/pfSense/keys/pkg",
                enabled: yes
                }

                The problem is gone after changing this.

                W 1 Reply Last reply Reply Quote 13
                • Bob.DigB
                  Bob.Dig LAYER 8 @bingo600
                  last edited by Bob.Dig

                  @bingo600
                  I rolled back an "Image" from yesterday mornings backup, fixed it as well. The good thing about all that, I just noticed that I can't roll back an Image of pfSense when it is not running, do to the way I built my network lately, so I had to change that again. 😊

                  I think the (official) solution should be pinned somehow.

                  bingo600B 1 Reply Last reply Reply Quote 0
                  • bingo600B
                    bingo600 @Bob.Dig
                    last edited by

                    @bob-dig
                    How did you do that "image backup" ?
                    Via the new Boot Environment in 22.05 ?

                    Wonder if that one would restore the system too ?
                    Anyone knows ???

                    If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                    pfSense+ 23.05.1 (ZFS)

                    QOTOM-Q355G4 Quad Lan.
                    CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                    LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                      This is fixed now. As noted the newer repo pkg has the correct URL.

                      If you're still seeing it, because the firewall pulled in the bad pkg, then switching the update branch to development and then back to latest stable will pull in the fixed pkg.

                      Doing that you will see logged:

                      Sep 17 15:36:45 	pkg-static 	13430 	pfSense-repo upgraded: 22.05_5 -> 22.09.a.20220802.0600
                      Sep 17 15:37:19 	pkg-static 	22387 	pfSense-repo downgraded: 22.09.a.20220802.0600 -> 22.05_9 
                      

                      Steve

                      1 Reply Last reply Reply Quote 7
                      • Bob.DigB
                        Bob.Dig LAYER 8 @bingo600
                        last edited by Bob.Dig

                        @bingo600 said in Unable to check for updates:

                        @bob-dig
                        How did you do that "image backup" ?

                        I use a vm for pfSense.

                        @stephenw10 said in Unable to check for updates:

                        This is fixed now.

                        Too bad I can't test this slick approach to that problem anymore. šŸ˜‰

                        bingo600B 1 Reply Last reply Reply Quote 0
                        • bingo600B bingo600 referenced this topic on
                        • bingo600B
                          bingo600 @Bob.Dig
                          last edited by

                          @bob-dig said in Unable to check for updates:

                          @bingo600 said in Unable to check for updates:

                          @bob-dig
                          How did you do that "image backup" ?

                          I use a vm for pfSense.

                          Ahh šŸ‘

                          If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                          pfSense+ 23.05.1 (ZFS)

                          QOTOM-Q355G4 Quad Lan.
                          CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                          LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                          1 Reply Last reply Reply Quote 0
                          • I
                            Innz
                            last edited by Innz

                            Awesome! Worked on my 6100 without any issues

                            1 Reply Last reply Reply Quote 1
                            • GertjanG Gertjan referenced this topic on
                            • K
                              KB8DOA
                              last edited by

                              This is creepy - I am getting this but never initiated any sort of update.
                              I only noticed as I about weekly go and peek at "Package Manager"
                              to see if I need to do any Package Updates (or install something new).

                              On this pfSense+ on an SG-5100
                              v22.01
                              I was holding off on upgrades, as I wanted to be sure that my OpenVPNs were not going to be "broken" because of changes recently done on recent releases.

                              I am willing to accept that this final resolution might actually upgrade me to v22.05

                              I need advice on whether I should try to fix it using the advice already previously mentioned here on this Forum Topic

                              • which might be meant for those that have intentionally upgraded to v22.05 ?
                              bingo600B 1 Reply Last reply Reply Quote 0
                              • bingo600B
                                bingo600 @KB8DOA
                                last edited by

                                @kb8doa
                                This way of fixing it, came from our resident Netgate guru.
                                https://forum.netgate.com/post/1062058

                                /Bingo

                                If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                                pfSense+ 23.05.1 (ZFS)

                                QOTOM-Q355G4 Quad Lan.
                                CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                                LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                                K 1 Reply Last reply Reply Quote 1
                                • K
                                  KB8DOA @bingo600
                                  last edited by KB8DOA

                                  @bingo600

                                  It is not working for me.

                                  I am running v22.01 on a SG-5100
                                  Should I really have "pfSense_plus-v22_05_amd64-core" in that file?

                                  Perhaps a reboot has to happen, to make this effective?

                                  bingo600B 1 Reply Last reply Reply Quote 0
                                  • bingo600B
                                    bingo600 @KB8DOA
                                    last edited by bingo600

                                    @kb8doa

                                    That sounds right you have an Intel CPU

                                    b65f5715-913c-4253-b89a-d35efee26e50-image.png

                                    Does your file look like this ?

                                    b5b415dd-535d-45ce-ba8d-545cbdf1a70f-image.png

                                    Else there was a guide how to Edit the file manually here.
                                    https://forum.netgate.com/post/1062052

                                    But you could try a reboot first

                                    If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                                    pfSense+ 23.05.1 (ZFS)

                                    QOTOM-Q355G4 Quad Lan.
                                    CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                                    LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                                    K 1 Reply Last reply Reply Quote 0
                                    • K
                                      KB8DOA @bingo600
                                      last edited by KB8DOA

                                      @bingo600

                                      Can you clarify:
                                      I am running v22.01
                                      Should the pfSense.conf file have pfSense_plus-v22_05_amd-core ?

                                      And do I need to reboot after fixing this?

                                      bingo600B 1 Reply Last reply Reply Quote 0
                                      • bingo600B
                                        bingo600 @KB8DOA
                                        last edited by

                                        @kb8doa

                                        OOpzz - I missed that you are running 22.01 , thought you were on 22.05

                                        According to Netgate , if you have switched to the Development "train" , and then back to "normal" , your file should contain the correct lines.

                                        @stephenw10
                                        Any wise words here ?

                                        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                                        pfSense+ 23.05.1 (ZFS)

                                        QOTOM-Q355G4 Quad Lan.
                                        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                                        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                                          Yeah, switch to dev(22.11) and then back to prev(22.01). The should restore the correct repos pkg.

                                          You shouldn't need to edit anything manually. But if you do then, yes, it should be 22_01 since that's what you're running.

                                          Steve

                                          1 Reply Last reply Reply Quote 2
                                          • K
                                            KB8DOA @bingo600
                                            last edited by

                                            @bingo600

                                            Did you mean switch the Firmware Branch to "Latest development snapshots (Experimental 22.09 DEVEL)" then Save
                                            Then
                                            switch the Firmware Branch to "Previous stable version (22.01)" then Save
                                            ?

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