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

    Installing new Branch via console (command line)

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 2 Posters 304 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.
    • B
      bigbmn
      last edited by

      We have automation that issues
      pfSense-upgrade -U -d -y

      We'd like to be able to have that command upgrade the version of pfsense (currently at 23.09.1) to the newer available version of 24.11, but it appears to be set on the 23.09.1 brance

      The web interface allows me to change the Branch to 24.11, but can I do that via the console (command line)? We could do this by updating specific files too.

      In addition, any negative consequences upgrading from 23.09.1 > 24.11?

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

        @bigbmn said in Installing new Branch via console (command line):

        can I do that via the console (command line)?

        Not yet. https://redmine.pfsense.org/issues/15476

        Yes you should be able to upgrade from 23.09.1 to 24.11 directly.

        B 1 Reply Last reply Reply Quote 0
        • B
          bigbmn @stephenw10
          last edited by

          @stephenw10
          Sorry I don't understand the response.
          If you can set the branch from the webgui, what are the corresponding steps I would use to do that from the console, so that the command pfSense-upgrade -U -d -y would upgrade from 23.09.1 >> 24.11

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

            There is no direct command to set the update branch from the CLI currently. There is a feature request open to add it because it is now a required step during the upgrade and some users, like you, would like to do that entirely from the CLI.

            B 1 Reply Last reply Reply Quote 0
            • B
              bigbmn @stephenw10
              last edited by

              @stephenw10 Got it, thanks.
              If the GUI sets the branch, and I assume updates some configuration files.
              Are there a set of files that we can modify via the console, or symbolic links, that can manually set the branch version, so we can then issue pfSense-upgrade -U -d -y

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