OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Upgrading from the stone age to current?
« previous next »
  • Print
Pages: [1]

Author Topic: Upgrading from the stone age to current?  (Read 311 times)

anomaly0617

  • Newbie
  • *
  • Posts: 34
  • Karma: 0
    • View Profile
Upgrading from the stone age to current?
« on: November 12, 2022, 11:17:24 pm »
Let's say I stumble upon an OPNsense firewall that was installed in 2020, but not updated with the major versions since then.

22.10 is presently out.

Is there a way to upgrade from, say, 20.1 to 22.10 in one command at the console or SSH interface? Or do I have to do the upgrades in order until I make it to the latest version?
Logged

yourfriendarmando

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 3
    • View Profile
Re: Upgrading from the stone age to current?
« Reply #1 on: November 13, 2022, 02:16:58 am »
The quick easy to find out is try it.

The upgrade functions could offer the next necessary intermediate version. If not, it could be dangerous.

In either case, take a dd capture if the disk, or keep an older iso and backup config handy.

Logged

anomaly0617

  • Newbie
  • *
  • Posts: 34
  • Karma: 0
    • View Profile
Re: Upgrading from the stone age to current?
« Reply #2 on: November 13, 2022, 06:59:38 pm »
Quote from: yourfriendarmando on November 13, 2022, 02:16:58 am
The quick easy to find out is try it.

The upgrade functions could offer the next necessary intermediate version. If not, it could be dangerous.

In either case, take a dd capture if the disk, or keep an older iso and backup config handy.

I'm not certain how to try it out. When you run option 12 from the UI in the console or SSH, it will offer you the next major version (if you're on 19.1, it will likely offer you 19.7 - but not 22.7 or 22.10). So if it's possible, I'm not sure how to kick start it into the latest major version. the dd backup is a good plan, though, regardless. I tend to rely on the XML backup config files more though.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Upgrading from the stone age to current?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2