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

    Cannot Update PFSENSE

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    16 Posts 5 Posters 997 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.
    • X
      xarope1337 @Gertjan
      last edited by

      @Gertjan this is bad. I'm newer using pfsense. And where i work forgot to updating pfsense since 2021, and now this confusion is in my hands. I don't know how i can pick up de backupfile

      GertjanG 1 Reply Last reply Reply Quote 0
      • X
        xarope1337 @jimp
        last edited by

        @jimp my repositories is broken. When i try to update using PKG-STATIC returns me the first screenshot saying "Consider changin PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'."

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

          @xarope1337 said in Cannot Update PFSENSE:

          I don't know how i can pick up de backupfile

          You've console access ! Get a copy of /conf/config.xml, that's the file.

          The experience you have now is a bit like "upgrading from Windows 7 to Windows 11". If possible, it will be with pain. Do what we all do : re install and call it a day.

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

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

            Do you not have gui access?

            If you do what repo branches do you see?

            2.4.5 to 23.01 is a big jump.

            X 1 Reply Last reply Reply Quote 0
            • X
              xarope1337 @stephenw10
              last edited by

              @stephenw10 yeah i have gui acess to my pfsense.
              The freebsd repositories when i try update pkg upgrade or pkg-static upgrade the o.s attempt to push repositories he try download an repository from 2019, but, this repository no exists, only repositories from FreeBSD Version 13

              a94292a5-45d1-41f3-ae01-f5e736aa6a87-image.png

              1 Reply Last reply Reply Quote 0
              • X
                xarope1337 @Gertjan
                last edited by

                @Gertjan woah... this is terrible. I Can't going updating like a "going up stairs?"
                Updating version per version..

                S 1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire @xarope1337
                  last edited by SteveITS

                  @xarope1337 You should not be trying to update anything manually, use the console option or the web GUI to upgrade. Yes there are very likely multiple steps if you are that many versions old. Hence the suggestions to just install again and restore from backup. :)

                  Edit: the pfSense updates will also update FreeBSD along the way.

                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                  Upvote ๐Ÿ‘ helpful posts!

                  X 1 Reply Last reply Reply Quote 0
                  • X
                    xarope1337 @SteveITS
                    last edited by

                    @SteveITS my boss don't want to install again pfsense, and i can't say no, he is a little pride, because this i need to solve this problem.

                    soo, let's go:
                    i can just upgrading just pressing the button "Confirm" ?

                    05616975-0a6f-4132-9d93-9dfe417e11d0-image.png

                    or i am have other form to updating this version per version, avoiding the "biggest" update jumping 2.4.5 to 23.01 ?

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      SteveITS Galactic Empire @xarope1337
                      last edited by

                      @xarope1337 If it is offered, it should work. If it runs into problems, reinstalling is safest/best/fastest.

                      What model hardware is this? You can open a ticket and download the firmware first. https://docs.netgate.com/pfsense/en/latest/solutions/

                      You should probably read
                      https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide-versions.html
                      and
                      https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide.html

                      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                      Upvote ๐Ÿ‘ helpful posts!

                      X 1 Reply Last reply Reply Quote 1
                      • X
                        xarope1337 @SteveITS
                        last edited by

                        @SteveITS i'll see these articles, thanks a lot!
                        we use this pfsense in AWS EC2.

                        I press the confirmation button, but the update system is stuck

                        42a707f0-9176-42a9-8682-0c0b92784c08-image.png

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

                          To be clear pfSense does not use the FreeBSD pkg repos and if you see it trying to connect there then something/someone has added custom repo files.

                          What branches do you see offered in the GUI?

                          Try to upgrade at the command line so you see more useful error output:
                          pfSense-upgrade -d

                          X 1 Reply Last reply Reply Quote 0
                          • X
                            xarope1337 @stephenw10
                            last edited by

                            @stephenw10 said in Cannot Update PFSENSE:

                            Try to upgrade at the command line so you see more useful error output:
                            pfSense-upgrade -d

                            Hello, when i try to run this command, the CLI returns me:

                            PFSENSED.png

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

                              OK so it's trying to use something in pkg that doesn't exist in 2.4.5.

                              So, again, what update branches do you see offered in the GUI?

                              2.4.5 to 23.01 is too large a jump. You will probably need to upgrade first to something closer to 2.4.5.

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