Upgrade process from CentOS7

Issues related to applications and software problems and general support
Adrien.D
Posts: 23
Joined: 2016/10/26 06:57:18

Upgrade process from CentOS7

Post by Adrien.D » 2019/09/24 12:30:58

Hi all,

Is it possible to migrate CentOS 7 to 8 ?

The way used for RHEL7 to 8 not work. (leapp)

Thanks

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: Upgrade process from CentOS7

Post by hunter86_bg » 2019/09/24 12:40:21

The migration tools provided by Red Hat for 7 -> 8 are not adapted for CentOS.
They will not work (unless you are very lucky).

Adrien.D
Posts: 23
Joined: 2016/10/26 06:57:18

Re: Upgrade process from CentOS7

Post by Adrien.D » 2019/09/24 13:01:48

The only way is only reinstallation ?

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Upgrade process from CentOS7

Post by TrevorH » 2019/09/24 18:03:27

There has never been an upgrade from one major version to another. Well, there was briefly for el7.0 but the packages soon got out of date and no-one was willing to do any work to fix them so they were removed. Plus it never worked properly anyway.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Drizzt
Posts: 8
Joined: 2009/11/06 17:50:20
Contact:

Re: Upgrade process from CentOS7

Post by Drizzt » 2019/09/24 18:53:50

Since upstream is offering a mean to upgrade from RHEL7 to RHEL8, we were hoping there was a way to do the same with CentOS 8.
Is it a work in progress?

Wolf101
Posts: 1
Joined: 2019/09/24 18:57:47

Re: Upgrade process from CentOS7

Post by Wolf101 » 2019/09/24 19:01:14

We were also hoping there would be an upgrade path... If anyone works one out, please post it up for us all to try. I am not looking forward to the manual reinstall of all the servers that we had to endure for the 6-7 migration....

Mike_Rochefort
Posts: 215
Joined: 2016/03/16 02:34:19

Re: Upgrade process from CentOS7

Post by Mike_Rochefort » 2019/09/25 01:16:45

Drizzt wrote:
2019/09/24 18:53:50
Since upstream is offering a mean to upgrade from RHEL7 to RHEL8, we were hoping there was a way to do the same with CentOS 8.
Is it a work in progress?
If you haven’t, I highly recommend reading the docs on it. The upgrade process is minimally supported, and has huge restrictions on what can be upgraded, and what can totally fail.

It really won’t be worth the effort.

Cheers,
Mike
Solution Architect @RedHat | RHCE
Former SysAdmin @BlueSkyStudios and @Pixar
Feature animation and VFX enthusiast
--
Report CentOS Stream 8 bugs: https://da.gd/c8s-bugs
Report CentOS Stream 9 bugs: https://da.gd/c9s-bugs

User avatar
jlehtone
Posts: 4530
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Upgrade process from CentOS7

Post by jlehtone » 2019/09/25 14:24:27

I see two mind-sets:

1. Make fresh install. Drop in config. Dream fulfilled.
This requires that you do have the config (and data) in a form that can be "dropped in". I.e. "outside".

2. Pray, hope, and duct-tape that the in-place conversion does not wipe your preciousss to oblivion.


Either way: have a backup.

foxb
Posts: 1927
Joined: 2006/04/20 19:03:33
Location: Montreal/QC

Re: Upgrade process from CentOS7

Post by foxb » 2019/09/25 14:52:44

Upstream doc on upgrading: https://access.redhat.com/documentation ... el_8/index

Tool used is leapp

It shoudl be in extras, but it is not.
I've tried to install it following https://leapp-to.github.io/gettingstarted#centos-7

But it fails with

Code: Select all

Requires: leapp-repository >= 0.8.1
Available: leapp-repository-0.3-1.devel.20181116.git.72
Any ideas on a fix?

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Upgrade process from CentOS7

Post by TrevorH » 2019/09/25 20:16:30

There are currently no plans to provide leapp for CentOS.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply