Upgrade from 24.7.12_2 to 25.x question

Started by stanps, January 25, 2025, 03:56:46 AM

Previous topic - Next topic
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

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!)

Perfect!  Thanks dseven!  That's what I figured, but with the FreeBSD update (specifically), I just wanted to be sure.

Thanks again!
-S

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.

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.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

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!

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.
Networking is love. You may hate it, but in the end, you always come back to it.

OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G - VM HA(SOON)
N100   - i226-V | Crucial 16G  4800 DDR5 | S 980 500G - PROD