• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 256 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 Jan 13, 2025, 5:47 PM

    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?

    S 1 Reply Last reply Jan 13, 2025, 9:22 PM Reply Quote 0
    • S
      stephenw10 Netgate Administrator @bigbmn
      last edited by stephenw10 Jan 13, 2025, 9:22 PM Jan 13, 2025, 9:22 PM

      @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 Jan 13, 2025, 10:35 PM Reply Quote 0
      • B
        bigbmn @stephenw10
        last edited by Jan 13, 2025, 10:35 PM

        @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
        • S
          stephenw10 Netgate Administrator
          last edited by Jan 13, 2025, 11:12 PM

          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 Jan 14, 2025, 2:16 PM Reply Quote 0
          • B
            bigbmn @stephenw10
            last edited by Jan 14, 2025, 2:16 PM

            @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
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received