OPNsense Forum

English Forums => General Discussion => Topic started by: anomaly0617 on November 12, 2022, 11:17:24 pm

Title: Upgrading from the stone age to current?
Post by: anomaly0617 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?
Title: Re: Upgrading from the stone age to current?
Post by: 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.

Title: Re: Upgrading from the stone age to current?
Post by: anomaly0617 on November 13, 2022, 06:59:38 pm
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.