OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: RickNY on July 14, 2017, 06:34:58 pm

Title: Upgrade from 17.1.9 to 17.7.r1?
Post by: RickNY on July 14, 2017, 06:34:58 pm

Is there a way to upgrade from 17.1.9 to 17.7.r1 from the command line in a stable way that will not mess up upgrading to the released 17.7 when it comes out?

Thanks
Rick
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: franco on July 14, 2017, 08:12:58 pm
Hi Rick,

It's complicated. The short answer is no but it's for staging reasons. When 17.1 is EoL you will be able to upgrade seamlessly, the upgrade from the GUI will also be supported this time. Until then we want to move the last pieces into place, allowing upgrades of development packages. There are also new signing keys which prevent the current 17.1.x from working flawlessly due to precaution...

17.1.10's development package will have update code + signing info to go to 17.7-RC1's development package (which is mostly the same as 17.7-RC1 but kept separate to be able to stay on the development track). Theoretically, you could go to 17.7-RCX by doing:

# opnsense-update -t opnsense-devel

(Upgrade from the GUI or console option 12)

# opnsense-update -t opnsense

Note the above only works when 17.1.10 has been released early next week. There may be an 17.7-RC2 just to smooth things out, either online-only or with images (if we want to test the installers again). We are not 100% sure yet.

17.1.11 should be EoL, there will be a Hotfix like 17.1.11_1 to allow the upgrade to 17.7. The release date for 17.7 is July 31.

We don't encourage upgrading 17.1 to 17.7 just yet, but given the right precautions (like snapshots in a VM) and screening the release notes for known issues and how to fix them there's no reason not to try.

I hope that helps. If not, happy to discuss this in more detail.


Cheers,
Franco
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: nmiller0113 on July 15, 2017, 05:28:28 pm
Quick question then. If I'm running the 17.7 release candidate will I need to do anything when the stable production release comes out in order to move to that from the release candidate?  Thanks!
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: franco on July 16, 2017, 10:20:13 am
No, no manual steps necessary at all. 17.7-RCX will upgrade to 17.7 and subsequently 17.7.x so you are already on the next stable track.


Cheers,
Franco
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: the_wolf on July 24, 2017, 04:50:59 pm
I try to update but appears this error.:

***GOT REQUEST TO UPGRADE: maj***
Fetching packages-17.7.r1-LibreSSL-amd64.tar: .....opnsense-verify: Unable to open /var/cache/opnsense-update/40360/packages-17.7.r1-LibreSSL-amd64.tar: No such file or directory
 failed
***DONE***
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: franco on July 24, 2017, 06:27:59 pm
Hi there,

See last bit of https://forum.opnsense.org/index.php?topic=5494.0 -- LibreSSL is not supported during pre-releases.

You can change to OpenSSL, then the upgrade will go through as expected and switch back next week when 17.7's LibreSSL repository is uploaded.


Cheers,
Franco
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: the_wolf on July 24, 2017, 07:38:31 pm
thank you
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: the_wolf on July 24, 2017, 11:54:25 pm
is already the fourth time that I update, it restarts automatically and I'm going in for updates and asks again.
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: franco on July 25, 2017, 02:47:29 pm
The screenshot you posted looks ok. Note you are on the development version, so when you upgrade, the upgrade code will still be active for testing reasons. You'll see from the dashboard if you made it to the new version, and you can "Check for updates" to update to 17.7.r2 (it'll be in the list).
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: RickNY on July 25, 2017, 03:08:04 pm
So, after doing a couple of command-line updates, I now find myself with the lobby showing "OPNsense 17.7.r_54-amd64" as of now.  Is that 17.7.r2?
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: the_wolf on July 25, 2017, 03:14:29 pm
Yes it happens anyway. Ai update the packages and restart and you're done. I don't need to do anything else???
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: franco on July 25, 2017, 03:18:19 pm
When you are there, go back to the release:

# opnsense-update -t opnsense

then the dashboard should show version 17.7.r1, the upgrade box should be gone and updates for 17.7.r2 should be visible.


Cheers,
Franco
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: RickNY on July 25, 2017, 03:27:19 pm

OK.. I think Im where I should be now..
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: franco on July 25, 2017, 03:30:23 pm
Looks good indeed.

There is a fix you should apply to r2, it has trouble upgrading from the GUI in some instances:

https://github.com/opnsense/core/commit/f0c8e2f9

Applies with:

# opnsense-patch f0c8e2f9


Cheers,
Franco
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: the_wolf on July 25, 2017, 03:32:27 pm
Now this 100%. Doing this the wrong way. Sorry. Thank you very much.
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: Julien on July 28, 2017, 06:28:04 pm
Hi Franco and the team,
is there is some bonjour /airprint services been added to the new release 17.7 R2 ?
Thank you
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: franco on July 28, 2017, 07:46:37 pm
Hi Julien,

No, there has been no progress on this front.


Cheers,
Franco
Title: Re: Upgrade from 17.1.9 to 17.7.r1?
Post by: Julien on July 29, 2017, 12:21:15 am
Hi Julien,

No, there has been no progress on this front.


Cheers,
Franco
Thank you Franco,
in the mean while will be using the mdns unless you advise a different one.