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

    Upgrading pfSense 21.05 to 23.01

    Scheduled Pinned Locked Moved General pfSense Questions
    upgrade
    11 Posts 4 Posters 92 Views 4 Watching
    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 Offline
      stemid
      last edited by

      I only use pfSense Firewall, NAT, interfaces, dhcp and port forwarding features. Nothing advanced like IDS, or even VPN.

      Just wondering if it's safe to upgrade directly to 23.01?

      Also in case the system becomes inaccessible, is there a guide for local troubleshooting? Or some docs for the local console?

      And where can I download the 21.05 USB image in case there is no boot?

      I will of course make a backup but I want to prepare as well as possible.

      patient0P S 2 Replies Last reply Reply Quote 0
      • patient0P Offline
        patient0 @stemid
        last edited by

        @stemid said in Upgrading pfSense 21.05 to 23.01:

        Just wondering if it's safe to upgrade directly to 23.01?

        Even the version you want to upgrde to, is really old, are you sure that you want to run the device that protects you from the internet with a version that is 2 1/2 years old?

        Also in case the system becomes inaccessible, is there a guide for local troubleshooting?

        To get recovery images that old you will have to open a support tickets: https://www.netgate.com/tac-support-request

        Troubleshooting help: you'll find lots of helpful information uner Netgate doc: Troubleshooting.

        Or some docs for the local console?

        Depends on your device, if it's a Netgate device you will find information about the serial console access on the device page:
        https://docs.netgate.com/pfsense/en/latest/solutions/

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          stemid @patient0
          last edited by stemid

          @patient0 Ok so it's a good idea I investigated this first.

          So in other words what do you recommend then? Should I buy a new device with a later version of pfSense and reconfigure all our interfaces and firewall rules to make a quick replacement?

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

            @stemid said in Upgrading pfSense 21.05 to 23.01:

            Should I buy a new device with a later version of pfSense

            You don't have to buy a new device, depending on what device you got, it's stil good. What device have you got?

            You would backup the configuration, download the Netgate online installer (in Netgate store, for $0) and completely reinstall pfSense+ (using ZFS as file system), then restore the config you backup-ed.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              stemid @patient0
              last edited by stemid

              @patient0 It's a Netgate XG-7100 and I'm sure it's good but I was thinking more of doing an upgrade with as little interruption as possible. So therefore I think configuring a new device and just replacing the old one with it might be the way to go here.

              I was afraid the backup could not be restored to a later version of pfSense. But you're saying it can then.

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

                @stemid said in Upgrading pfSense 21.05 to 23.01:

                I was afraid the backup could not be restored to a later version of pfSense. But you're saying it can then

                Yes, backups from older version can be restored to newer version. The other way round is not guaranteed to work.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  SteveITS Rebel Alliance @stemid
                  last edited by

                  @stemid In general Netgate recommends reinstalling if skipping many versions. This would for instance get you ZFS if you don't already have it.

                  If you upgrade it will normally work but you will need to go in stages. IIRC from a recent client who was out of date, one must go to 23.01, 23.09, 23.09.1, then 24.11. Maybe another step or two, I don't recall offhand.

                  After ~23.09 you'll need to change the update branch to the new version in order to see the new update.

                  I'd recommend following the upgrade guide and uninstalling packages before the upgrade chain. (then reinstall at the end, settings are saved by default)

                  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 reboot, or more depending on packages, and device or disk speed.
                  Upvote 👍 helpful posts!

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

                    Yes, I would re-install 25.07.1 clean from something that old. You can upgrade but it takes ages with the required steps.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      stemid @patient0
                      last edited by

                      @patient0 You keep mentioning ZFS, is that a big advantage? I'm assuming you refer to snapshots, being able to rollback to a previous snapshot for future upgrades?

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

                        @stemid said in Upgrading pfSense 21.05 to 23.01:

                        You keep mentioning ZFS, is that a big advantage? I'm assuming you refer to snapshots, being able to rollback to a previous snapshot for future upgrades?

                        Yep, that's it. The snapshot feature makes it just very easy to recover to the previous snapshot if something goes t*ts up.
                        Even if you make config changes that could lead to issues a snapshot is helpful. Beside choosing the snapshot to boot from in the GUI, you can do that from the boot menu too.

                        Of course having a second device (HA or just as a cold standby) is even better.

                        You mentioned that you have a XG-7100. If it runs from the build-in 32GB eMMC then you have to be aware that ZFS writes a lot more then UFS and it will wear out the eMMC fast. Installing a M.2 would be recommended in that case (check 7100-U M.2 SATA Installation documentation).

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

                          ZFS is also a lot more resilient to filesystem issues than UFS. So if you see frequent power outages it's a much better choice.

                          But, yes, it does write more to the drive. Though the default values in 25.07 reduce that significantly. You can mitigate it almost entirely by running RAM disks too.

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