OPNsense Forum

English Forums => General Discussion => Topic started by: stanps on January 25, 2025, 03:56:46 AM

Title: Upgrade from 24.7.12_2 to 25.x question
Post by: stanps on January 25, 2025, 03:56:46 AM
Hey everyone.

Long time listener, first time caller.

I'm wondering what the best practice is for upgrading to 25.x when it's released.

Should/Can I upgrade in place and just keep moving forward?

Or, should I upgrade and reset the box, and reconfigure from scratch?

I'm using a Hunsn micro pc i3 8 core, 16 GB RAM, 512 GB SSD.

Thanks in advance,
Stan
Title: Re: Upgrade from 24.7.12_2 to 25.x question
Post by: dseven on January 25, 2025, 12:29:49 PM
Upgrade is expected to work, and I expect this will apply: https://docs.opnsense.org/manual/updates.html#major-upgrades

You should always have a backup copy of your configuration, so you can resort to a fresh installation and restore the config if something goes wrong with the upgrade:
https://docs.opnsense.org/manual/backups.html
https://docs.opnsense.org/manual/install.html#opnsense-importer

You should never need to manually reconfigure from scratch (although it may be a good exercise in fully understanding how your firewall works!)
Title: Re: Upgrade from 24.7.12_2 to 25.x question
Post by: stanps on January 25, 2025, 03:28:46 PM
Perfect!  Thanks dseven!  That's what I figured, but with the FreeBSD update (specifically), I just wanted to be sure.

Thanks again!
-S
Title: Re: Upgrade from 24.7.12_2 to 25.x question
Post by: Robertomcat on January 29, 2025, 03:27:24 PM
Hello, good afternoon. I came to ask if you have successfully upgraded the version via the graphical interface. My configuration is really basic and I only have the Adguard Home mimugmjail plugin installed. I would like to be able to upgrade the firewall from the graphical option, but I am not sure what the final result will be.
Title: Re: Upgrade from 24.7.12_2 to 25.x question
Post by: Patrick M. Hausen on January 29, 2025, 03:39:22 PM
Quote from: Robertomcat on January 29, 2025, 03:27:24 PMHello, good afternoon. I came to ask if you have successfully upgraded the version via the graphical interface. My configuration is really basic and I only have the Adguard Home mimugmjail plugin installed. I would like to be able to upgrade the firewall from the graphical option, but I am not sure what the final result will be.

Bugs notwithstanding - they happen - OPNsense can always be upgraded from the UI. That's how it's supposed to work.
So save a configuration backup, if you are running with ZFS create a snapshot, then go ahead.

I wonder where the idea is coming from that you could not upgrade from the UI? The product has worked like this for years if not from the very beginning which I personally just don't know.
Title: Re: Upgrade from 24.7.12_2 to 25.x question
Post by: Robertomcat on January 29, 2025, 04:22:05 PM
Quote from: Patrick M. Hausen on January 29, 2025, 03:39:22 PM
Quote from: Robertomcat on January 29, 2025, 03:27:24 PMHello, good afternoon. I came to ask if you have successfully upgraded the version via the graphical interface. My configuration is really basic and I only have the Adguard Home mimugmjail plugin installed. I would like to be able to upgrade the firewall from the graphical option, but I am not sure what the final result will be.

Bugs notwithstanding - they happen - OPNsense can always be upgraded from the UI. That's how it's supposed to work.
So save a configuration backup, if you are running with ZFS create a snapshot, then go ahead.

I wonder where the idea is coming from that you could not upgrade from the UI? The product has worked like this for years if not from the very beginning which I personally just don't know.
It's just scary, and before I make any major changes I do research and ask questions about it. Also keep in mind that I'm fairly new to this OS and am not yet fully integrated into all the ins and outs there may be. Thanks for the reply!
Title: Re: Upgrade from 24.7.12_2 to 25.x question
Post by: Seimus on February 01, 2025, 12:25:29 AM
Scary for some maybe, but that's why OPNsense comes with recommendation for ZFS deployment and to perform snapshots.

Ultimately Snapshots are OP, you can revert from any state to a state you did snapshot. I did even revert from 25.1 to 24.7.11 just to see if all will be restored and working, and it did.

There is nothing to worry just follow best practices.

Regards,
S.