DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 28th April 2017
adealey adealey is offline
New User
 
Join Date: Mar 2010
Posts: 6
Question Upgrade from 4.6?

I've tried to do research on this questions but haven't been successful.

It's embarrassing but I have two boxes which are still running obsd 4.6. I want to upgrade them to 6.1.

I know that only upgrades to the successive release are officially blessed but this would mean (if I take it literrally) twelve upgrades for each box.

So my question is, do I really have to iterate through each point release or can I get away with 4.6 -> 5.x -> 6.1

(BTW... for some odd reasons I'd rather not rebuild these boxes from scratch)
Reply With Quote
  #2   (View Single Post)  
Old 28th April 2017
e1-531g e1-531g is offline
VPN Cryptographer
 
Join Date: Mar 2014
Posts: 375
Default

Quote:
Originally Posted by adealey View Post
So my question is, do I really have to iterate through each point release or can I get away with 4.6 -> 5.x -> 6.1
Yes. Even then I would bet that some configuration files changed syntax. You should test this environment, before putting this boxes to production again, and be ready to modernize config files.
Before doing upgrade or reinstall backup your config files via Git or some other version control system (cvs is in base system). Anything else worth to backup using tar(1) and copy to external storage. Alternatively clone entire HDD (or relevant partitions and MBR/GPT) to separate HDD.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #3   (View Single Post)  
Old 28th April 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,974
Default

A reinstallation will be much easier.

Even though 15 upgrades might take only two hours for the upgrade scripts to run, and not even considering the manual architectural changes you would need to make according to each Upgrade Guide, you should know that:
  • Most mirrors will be missing the bulk of your intervening releases. My nearest mirror only keeps them back to 5.5.
  • There were significant changes to PF and PF syntax at 4.7.
  • There was a major ABI change for the year 2038 for 5.5. This necessitated removing all third party packages before upgrading, then reinstalling new packages after the upgrade. If you had any locally built applications you would have had to do the same transition yourself.

Last edited by jggimi; 28th April 2017 at 08:40 PM. Reason: I cannot count from 46 to 61
Reply With Quote
  #4   (View Single Post)  
Old 28th April 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,974
Default

Oh, yes, here's another post to note that there were additional syntax and structural changes to PF at 5.5 for queuing. There was a transition period for two releases... one year ... to assist with that transition.

Throughout the intervening years, there have been many built-in application changes. Without thinking much about it, I recall major changes in Mail Transfer Agents (sendmail is long gone), web servers (OpenBSD's fork of Apache 1.3 -> nginx -> httpd). Huge changes in daemon management.

A transition of existing applications and services to a new, clean system will be much easier on you, and on those who use your servers.
Reply With Quote
  #5   (View Single Post)  
Old 29th April 2017
bsd-keith bsd-keith is offline
Real Name: Keith
Open Source Software user
 
Join Date: Jun 2014
Location: Surrey/Hants Border, England
Posts: 143
Default

jggimi knows what he's talking about, so I'd listen to what he says there.

I'd also have suggested backing up your data, (which you already do, of course), & install afresh for the least amount of hassle.
__________________
Linux since 1999, & also a BSD user.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PF Upgrade to 5.8 Roedy OpenBSD Security 2 20th March 2016 10:15 PM
upgrade from 4.8 to 5.3 polken OpenBSD Installation and Upgrading 6 30th May 2013 05:41 AM
6.1 RC upgrade climby FreeBSD Installation and Upgrading 2 30th September 2010 12:51 PM
How do I upgrade? wubrgamer FreeBSD Ports and Packages 2 27th August 2008 07:18 PM
upgrade from 5.5 to 6.3 keithlybsd FreeBSD Installation and Upgrading 9 27th May 2008 06:21 PM


All times are GMT. The time now is 07:17 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick