Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Update to Specific Release Version
« previous
next »
Print
Pages: [
1
]
Author
Topic: Update to Specific Release Version (Read 1193 times)
hhabroad
Newbie
Posts: 9
Karma: 0
Update to Specific Release Version
«
on:
April 03, 2024, 09:39:03 pm »
Hi,
I've been enjoying using OPNsense but now have more and more to manage. We have 2 HA clusters setup to allow for testing on one cluster before updating the main cluster. My question is, is there a way for force the update to a specific version and not just the latest version? I've been digging around here and all over the internet, and have been trying some testing using opnsense-update using the -r option, but have not found the solution yet.
For example, I currently have version 23.7.10 installed and would like to upgrade the first cluster to 24.1.2, wait a certain amount of time, then complete the same upgrade path on the main cluster. Would this be possible?
Thanks!
Logged
Patrick M. Hausen
Hero Member
Posts: 6853
Karma: 575
Re: Update to Specific Release Version
«
Reply #1 on:
April 03, 2024, 10:20:25 pm »
Why do you want to upgrade to 24.1.2 instead of 24.1.4? I fully understand the "test first, then production" approach, I do it myself. But there are two weeks between updates. You can wait a full week before going from test to production and still have plenty of leeway left.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
hhabroad
Newbie
Posts: 9
Karma: 0
Re: Update to Specific Release Version
«
Reply #2 on:
April 12, 2024, 07:37:37 am »
Hi Patrick,
Thanks for your reply. My interest in being able to do this is to control what release is used in my environment at any given time. The environment doesn't always allow the current release to be installed a couple days after release on the test cluster, and then on the production cluster prior to the next release date. It would simply be more convenient to be able to say "I want to freeze the release at some date/version so that both environments can be synchronized in relation to the other constraints that exist.
Does that make the "need" clearer?
Logged
Monviech (Cedrik)
Global Moderator
Hero Member
Posts: 1622
Karma: 178
Re: Update to Specific Release Version
«
Reply #3 on:
April 12, 2024, 08:34:06 am »
Why aren't you using the OPNsense Business edition if you have such a critical enviorment?
Check out the release cycle of it:
OPNsense 23.10.3 - March 28, 2024
OPNsense 23.10.2 - February 02, 2024
OPNsense 23.10.1 - January 02, 2024
OPNsense 23.10 - November 02, 2023
As you can see, there are 1 to 2 months between releases, because there is more release engineering involved that downstreams tested features from the community edition to the business edition.
That way, you have to do less testing, because it's highly likely there won't be regressions.
Otherwise, why not build the Firewall DVD from source with the release tag that you want with the release toolkit?
https://github.com/opnsense/tools
https://github.com/opnsense/tools/tags
«
Last Edit: April 12, 2024, 08:35:45 am by Monviech
»
Logged
Hardware:
DEC740
franco
Administrator
Hero Member
Posts: 17671
Karma: 1612
Re: Update to Specific Release Version
«
Reply #4 on:
April 15, 2024, 09:56:42 am »
Search for "MINT" on this forum. It's actually pretty easy to accomplish your requirement.
Cheers,
Franco
Logged
hhabroad
Newbie
Posts: 9
Karma: 0
Re: Update to Specific Release Version
«
Reply #5 on:
April 29, 2024, 11:56:13 am »
Thanks for the push in the right direction Franco. I'd looked at using the custom flavour option but couldn't fully understand what was expected. I've now found what to put here for it to work correct.
Is there any room to contribute to documentation for these types of subjects, to make them a bit easier to understand for others in the community? I'd be more than happy to contribute, I'm just not sure how to contribute.
Ashley
Logged
Monviech (Cedrik)
Global Moderator
Hero Member
Posts: 1622
Karma: 178
Re: Update to Specific Release Version
«
Reply #6 on:
April 29, 2024, 12:00:54 pm »
You can contribute to the docs here, I think that would be nice.
https://github.com/opnsense/docs
Logged
Hardware:
DEC740
franco
Administrator
Hero Member
Posts: 17671
Karma: 1612
Re: Update to Specific Release Version
«
Reply #7 on:
April 29, 2024, 12:30:10 pm »
I consider these volatile mirror details that may shift between major versions so I would not want to document them in a permanent manner.
The flavour is just the subdirectory on the mirror. E.g.
24.1/MINT/24.1.5/latest
Cheers,
Franco
Logged
bitcore
Newbie
Posts: 5
Karma: 2
Re: Update to Specific Release Version
«
Reply #8 on:
October 23, 2024, 01:16:04 am »
For reference, it appears the format suggested by franco simply follows the directory structure that can be seen in the mirror, since apparently you are instructing opnsense to pull down those packages directly. For example, I'm trying to go to 24.7.1 even though 24.7.6 is available.
The mirror that automatically showed up when I browsed to /ui/core/firmware#status on my device is:
https://pkg.opnsense.org/FreeBSD:14:amd64/
That mirror has the folder inside it: 24.7/MINT/24.7.1/latest/
so I will put that into the flavour field and install the version I am after.
Logged
franco
Administrator
Hero Member
Posts: 17671
Karma: 1612
Re: Update to Specific Release Version
«
Reply #9 on:
October 23, 2024, 07:50:53 am »
Yes, correct
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Update to Specific Release Version