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

    certificate error while running pkg update 2024

    Scheduled Pinned Locked Moved General pfSense Questions
    17 Posts 5 Posters 3.0k 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.
    • T
      tknospdr @stephenw10
      last edited by

      @stephenw10

      Ah ha, I was also being told that I was up to date on my pfSense install until I did this fix. Now it's showing me the 2.7.2 update is available.
      Safe to do so or are there any gotcha's I should look out for?

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

        Should be good to upgrade from 2.7.0 to 2.7.2. Of course always backup the config first. 😉

        T 1 Reply Last reply Reply Quote 0
        • T
          tknospdr @stephenw10
          last edited by

          @stephenw10

          Well I tried to upgrade one of my packages and got a 'new major PHP' error, so I went to run the system update and it's gone again.

          The rehash is no longer working. I did that, then:

          pkg-static -d update

          And got a 'no repositories configured' error.

          GertjanG stephenw10S 2 Replies Last reply Reply Quote 0
          • GertjanG
            Gertjan @tknospdr
            last edited by

            @tknospdr said in certificate error while running pkg update 2024:

            Well I tried to upgrade one of my packages

            You mean : you've upgraded to 2.7.2 and now you can't upgrade packages ?
            That's a new issue then. But nothing really serious. Hundreds of thousands use 2.7.2 right now, and can update install packages just fine.

            Or you still on 2.7.0 and tried to install or upgrade packages ? That's 'forbidden', you broke the law ^^ ( Well, you can try, but, as shown, if pfSense uses - example - PHP 8.1 and the packages uses (presumes) PHP 8.2 which is the latest version, it will also update your PHP from 8.1 to 8.2, and that will break the GUI, => break your entire pfSense )
            You can only install / upgrade pfSense packages when you are using the latest OS, as packages present on the pfSense Netgate packages are build against the latest avaible FreeBSD OS, PHP version, etc etc.

            See it like this : you have Windows 7 and you want to install 'Office 365' : you can't. First upgrade the OS to a supported level, and then do your shopping for programs.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            T 1 Reply Last reply Reply Quote 0
            • T
              tknospdr @Gertjan
              last edited by

              @Gertjan

              Yes, I did the second. If it’s gonna break that hard it should stop you, or at a minimum tell you it’s a ‘Really Bad Idea(tm).

              So I tried rebooting and now the entire system is down. That seems like it’s a little too fragile a system if it’s that easy to hose the whole thing.

              I’ll have to toss a monitor on it and see what’s going on.

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

                @tknospdr said in certificate error while running pkg update 2024:

                Well I tried to upgrade one of my packages

                Indeed, don't do that. 😉

                If you are seeing 2.7.2 available then you are also seeing packages from 2.7.2 and if you try to install one it may not be compatible with 2.7.0 Here it failed to install because the php version is different.

                First thing to try is setting the branch again in the update settings.

                1 Reply Last reply Reply Quote 0
                • T
                  tknospdr
                  last edited by

                  Wow, I don't know what happened. Monitor is not seeing any video out from the pf box.
                  I'm a Mac guy, how do you boot into the bios thing? F2 or something right?

                  patient0P 1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan @tknospdr
                    last edited by Gertjan

                    @tknospdr said in certificate error while running pkg update 2024:

                    or at a minimum tell you it’s a ‘Really Bad Idea(tm).

                    It's less then that : no hand holding, no pop-upss, just a simple

                    https://pfsense-docs.netlify.app/install/upgrade-guide#packages

                    69e1a053-029b-4fb8-8744-83811a55b3fe-image.png

                    if you can't update 2.7.2 because you are on the latest version, you can have a look at, and use the packet manager.

                    Things are better these days. In the early days, a simple packet upgrade without upgrading pfSense first could really break everything.
                    For some reason (what do I know ?) there is no version specific package update upgrade server.

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

                    1 Reply Last reply Reply Quote 0
                    • patient0P
                      patient0 @tknospdr
                      last edited by

                      @tknospdr what kind of box is it?

                      If it's a box with HDMI, that often won't work if there was no monitor connected to it when you booted it up (reboot necessary with monitor connected and switched on). If you got a serial console then connect that.

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

                        It shouldn't be possible to break the install by upgrading a pkg like that, I agree.

                        From 23.09 onwards the new pkg branches are opt-in only to prevent that happening.

                        1 Reply Last reply Reply Quote 0
                        • T
                          tknospdr
                          last edited by

                          My hardware wasn't actually shutting down by holding the button. I pulled the plug and restarted and then it booted to a screen with a yellow "SHELL>" prompt.

                          So I downloaded the 2.7.2 installer and put it on a stick and reinstalled from scratch.
                          Then logged in and uploaded my latest backup.
                          After a restart it got stuck on this screen twice.

                          I then pulled the plug again expecting to have to start from scratch, but when it powered on the 3rd time I had my config back.

                          So I'm up and running again with the latest version installed.

                          Let that be a lesson to everyone. DO BACKUPS. It saved me hours of time, plus I'm sure I've forgotten all the tricks I learned while setting up the first time.

                          IMG_2399.jpeg

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