Skip to main content

Centos 8 vs Almalinux, is it okay to upgrade? A help to understand how to change OS

Comments

25 comments

  • cPRex Jurassic Moderator
    Hey there! I've been using AlmaLinux 8 for about three months now on my personal and haven't had any issues. I wouldn't even know it wasn't CentOS.
    One of the doubts is precisely on the fact that with centos 8 I already have redis and varnish, if I had to change Centos with Almalinux, would these two extensions remain or should I reinstall them?

    If you are converting the existing operating system, I would expect these to remain in place. I would plan for reinstallation just so you are prepared, but I wouldn't expect it to be necessary.
    Another question, as I have two sites on the VPS, and both have been live for some time, what if something goes wrong?

    What if something goes wrong on your current system? You could restore from a backup or troubleshoot to see if you can find the issue.
    0
  • Joso
    Hi cPRex, thanks to your answare. From what I understand, I shouldn't have any problems with switching to Almalinux, well. Just in case, I'll take a snapshot of the VPS hosting panel.
    0
  • Joso
    @cPRex, I follow the cPanel guide migrate to Almalinux, and after digit dnf -y update show me this error: CentOS-8 - Base Error: Failed to download metadata for repo 'BaseOS': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried How can solve it?
    0
  • cPRex Jurassic Moderator
    That would indicate an error with the existing system and not a problem with the update. The "dnf -y update" command is just updating the machine first. That error is actually normal at this point since CentOS 8 is no longer supported. You can just start with the "deploy" script mentioned here:
    0
  • Joso
    Hi cPRex, I followed the cpanel article to convert centos in almalinux, after digit "dnf -y update", show me this with errors: [root@server ~]# dnf -y update CentOS-8 - Base 2.2 MB/s | 4.6 MB 00:02 EA4 ( EasyApache 4 ) 23 kB/s | 3.0 MB 02:13 cPanel Addons Production Feed 4.1 kB/s | 8.9 kB 00:02 cPanel Plugins project 25 kB/s | 423 kB 00:16 CentOS-8 - AppStream 1.8 MB/s | 8.4 MB 00:04 MariaDB105 497 kB/s | 601 kB 00:01 AlmaLinux 8 - BaseOS 9.6 MB/s | 7.0 MB 00:00 AlmaLinux 8 - AppStream 8.6 MB/s | 10 MB 00:01 AlmaLinux 8 - Extras 23 kB/s | 12 kB 00:00 Docker CE Stable - x86_64 241 kB/s | 23 kB 00:00 Elasticsearch repository for 7.x packages 51 MB/s | 43 MB 00:00 Extra Packages for Enterprise Linux 8 - x86_64 12 MB/s | 11 MB 00:00 Extra Packages for Enterprise Linux Modular 8 - x86_64 1.9 MB/s | 1.0 MB 00:00 Imunify360 - Gradual Rollout Slot 1 3.1 kB/s | 3.2 kB 00:01 Imunify360 - Gradual Rollout Slot 2 255 B/s | 257 B 00:01 Imunify360 - Gradual Rollout Slot 3 247 B/s | 257 B 00:01 Imunify360 - Gradual Rollout Slot 4 252 B/s | 257 B 00:01 EL-8 - Imunify360 218 kB/s | 3.1 MB 00:14 Remi's Modular repository for Enterprise Linux 8 - x86_64 3.1 MB/s | 974 kB 00:00 Safe Remi's RPM repository for Enterprise Linux 8 - x86_64 8.0 MB/s | 2.1 MB 00:00 Error: Problem 1: package libstdc++-devel-8.5.0-4.el8_5.alma.x86_64 requires libstdc++(x86-64) = 8.5.0-4.el8_5.alma, but none of the providers can be installed - cannot install both libstdc++-8.5.0-4.el8_5.alma.x86_64 and libstdc++-8.5.0-4.el8_5.x86_64 - cannot install the best update candidate for package libstdc++-devel-8.5.0-4.el8_5.x86_64 - cannot install the best update candidate for package libstdc++-8.5.0-4.el8_5.x86_64 Problem 2: package libxml2-devel-2.9.7-12.el8_5.x86_64 requires libxml2(x86-64) = 2.9.7-12.el8_5, but none of the providers can be installed - cannot install both libxml2-2.9.7-12.el8_5.x86_64 and libxml2-2.9.7-9.el8_4.2.x86_64 - cannot install the best update candidate for package libxml2-devel-2.9.7-9.el8_4.2.x86_64 - cannot install the best update candidate for package libxml2-2.9.7-9.el8_4.2.x86_64 Problem 3: libgcc-8.5.0-4.el8_5.alma.i686 has inferior architecture - package gcc-8.5.0-4.el8_5.alma.x86_64 requires libgcc >= 8.5.0-4.el8_5.alma, but none of the providers can be installed - cannot install both libgcc-8.5.0-4.el8_5.alma.x86_64 and libgcc-8.5.0-4.el8_5.x86_64 - cannot install the best update candidate for package libgcc-8.5.0-4.el8_5.x86_64 - cannot install the best update candidate for package gcc-8.5.0-4.el8_5.x86_64 Problem 4: libgomp-8.5.0-4.el8_5.alma.i686 has inferior architecture - package gcc-8.5.0-4.el8_5.alma.x86_64 requires libgomp = 8.5.0-4.el8_5.alma, but none of the providers can be installed - cannot install both libgomp-8.5.0-4.el8_5.alma.x86_64 and libgomp-8.5.0-4.el8_5.x86_64 - package gcc-c++-8.5.0-4.el8_5.alma.x86_64 requires gcc = 8.5.0-4.el8_5.alma, but none of the providers can be installed - cannot install the best update candidate for package libgomp-8.5.0-4.el8_5.x86_64 - cannot install the best update candidate for package gcc-c++-8.5.0-4.el8_5.x86_64 (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) [root@server ~]# Do you have any suggest to solve it?
    0
  • cPRex Jurassic Moderator
    Can you try using the full details here to ensure the correct repositories are in place?
    0
  • Joso
    Hi, I solved.. I run dnf -y update --nobest and completed migration.
    0
  • anton_latvia
    We have upgraded all Centos8 to AlmaLinux - some with cPanel and some without any control panel - absolutely zero issues!
    0
  • caseyj0
    Please I join the discuss as I just follow the guide here
    0
  • anton_latvia
    it does not look, like you've executed it. Can you run: sh almalinux-deploy.sh instead of "bash"
    0
  • cPRex Jurassic Moderator
    The "#" at the beginning of each line would keep the command from running. Please remove the pound sign and run both those commands again.
    0
  • caseyj0
    Ok guys. Following your advices i got this time : Error: Error downloading packages: Curl error (28): Timeout was reached for
    0
  • cPRex Jurassic Moderator
    Can you post the output of the following commands? cat /etc/redhat-release
    and uname -r
    0
  • caseyj0
    Hello Modo, Looks i update it yay! For cat /etc/redhat-release I have : AlmaLinux release 8.6 (Sky Tiger) For uname -r : 4.18.0-240.15.1.el8_3.x86_64 I also try dnf -y update : got this EA4 ( EasyApache 4 ) 0.0 B/s | 0 B 06:00 Error: Failed to download metadata for repo 'EA4': Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached for
    0
  • cPRex Jurassic Moderator
    Did you try running the "dnf makecache" command from that error's output to see if that resolves the issue?
    0
  • caseyj0
    I ran "dnf makecache" I got : In WHM It ask for reboot Reboot.. Oulala I dont like this ... both option give error... I sweat now....
    0
  • caseyj0
    ok I hopefully have a backup image of it. Retoring it.... Now please if we have something more effective than this (because for me it is totally dont work. Fail!) Almelinux wiki Initial release 30 March 2021 (13 months ago) Latest release 8.6 / 12 May 2022 (11 days ago) Heu.. whats next do we have to prepare to migrate to after Alma... ?
    0
  • caseyj0
    "We are equally pleased to now announce that cPanel & WHM version 102 will fully support
    0
  • cPRex Jurassic Moderator
    I'm sorry you're having so many issues with that operating system upgrade. cPanel does fully support Ubuntu at this time, so you could create a new installation and use the Transfer Tool to migrate your data over to the new machine. I'm not sure Wikipedia is going to be the best source for update logs. Check out their own site here: 8.6 | AlmaLinux Wiki, which was updated last week.
    0
  • caseyj0
    "Transfer Tool" What a magic word! Its exactly what I ll do. Thx!
    0
  • sajithgsm
    I'm having AlmaLinux 8 with WHM CloudLinux and LiteSpeed. There is no any issue with almalinux. But today I heard Almalinux 9 officially released.
    0
  • cPRex Jurassic Moderator
    No, we haven't done any testing with version 9 yet, so please don't try to use that with cPanel. We'll definitely make some major announcements when that is a supported operating system.
    0
  • caseyj0
    Hello, I install Ubuntu 20.x then Cpanel now I try transfert tool (just scan remote server). Now I got : " The source server does not contain a valid license. You cannot transfer accounts from an unlicensed server." Well I normally paid monthly my lisc. I check it and try of course options I find ... Here you see the lisc. check and the SSH screen.
    0
  • Dreamwebhosts
    @caseyj0 For license related issue you can contact billing@cpanel.net
    0
  • caseyj0
    @caseyj0 For license related issue you can contact billing@cpanel.net

    Exactly. Thx :)
    0

Please sign in to leave a comment.