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

Is there a way to set the firmware version and upgrade pfSense from the console?

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
7 Posts 4 Posters 1.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.
  • T
    T145
    last edited by Nov 11, 2022, 7:59 PM

    Doing it through the "Update" UI is clunky and has caused the pkg command to break a couple times when simply selecting different firmware versions to check from the selection dropdown. If there's a way to handle this completely through console commands it would be a life-saver.

    1 Reply Last reply Reply Quote 0
    • J jimp moved this topic from General pfSense Questions on Nov 11, 2022, 8:35 PM
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Nov 11, 2022, 8:37 PM

      There isn't a console-based method of selecting the upgrade branch at the moment, but you can run the upgrade check (pfSense-upgrade -c) and the actual upgrade (pfSense-upgrade) from the console.

      https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide-update.html#upgrading-using-the-console

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      T 1 Reply Last reply Nov 11, 2022, 11:31 PM Reply Quote 0
      • T
        T145 @jimp
        last edited by Nov 11, 2022, 11:31 PM

        @jimp I have pfSense-upgrade -d set on a CRON task, but thanks for the tip! Is there a way to downgrade at all w/out installing from a flash drive?

        R 1 Reply Last reply Nov 14, 2022, 3:22 PM Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Nov 14, 2022, 1:31 PM

          Running pfSense-upgrade from a cron job is a terrible idea.

          There is no way to downgrade.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          T 1 Reply Last reply Nov 14, 2022, 5:22 PM Reply Quote 2
          • R
            rcoleman-netgate Netgate @T145
            last edited by Nov 14, 2022, 3:22 PM

            @t145 said in Is there a way to set the firmware version and upgrade pfSense from the console?:

            Is there a way to downgrade at all w/out installing from a flash drive?

            Presently it's all a live filesystem, and your config file post-upgrade is incompatible with older releases.

            This might be functional in the future with ZFS but as I understand right now that's not possible.

            Ryan
            Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
            Requesting firmware for your Netgate device? https://go.netgate.com
            Switching: Mikrotik, Netgear, Extreme
            Wireless: Aruba, Ubiquiti

            1 Reply Last reply Reply Quote 1
            • T
              T145 @jimp
              last edited by Nov 14, 2022, 5:22 PM

              @jimp said in Is there a way to set the firmware version and upgrade pfSense from the console?:

              Running pfSense-upgrade from a cron job is a terrible idea.

              There is no way to downgrade.

              Noted; I'll remove the entry xd

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Nov 16, 2022, 8:23 PM

                You can roll-back to an earlier BE snapshots if you re using ZFS. I have tested that between 23.01 and 22.05.

                Steve

                1 Reply Last reply Reply Quote 0
                7 out of 7
                • First post
                  7/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received