Skip to main content

centos 7 upgrade to Almalinux 8 failed at stage 4

Comments

35 comments

  • cPRex Jurassic Moderator

    Hey there!  This doesn't seem to be an issue with ELevate but a problem with Yum itself on the system.  Are you able to run the following commands on the server?

    yum clean all
    yum makecache
    yum update

    If so, can you run those and then try ELevate again?

    0
  • Robert Mwaura

    i have done that and still getting the error

     

    [root@host ~]# yum clean all
    Repository extras is listed more than once in the configuration
    Repository extras-source is listed more than once in the configuration
    42 files removed
    [root@host ~]# yum makecache
    Repository extras is listed more than once in the configuration
    Repository extras-source is listed more than once in the configuration
    CentOS-7-Base                                                        17 MB/s |  10 MB     00:00
    CentOS-7-Updates                                                     16 MB/s |  34 MB     00:02
    ELevate                                                             711 kB/s | 109 kB     00:00
    EA4 ( EasyApache 4 )                                                2.0 MB/s | 4.6 MB     00:02
    cPanel Addons Production Feed                                       2.0 kB/s |  10 kB     00:05
    cPanel Plugins project                                              235 kB/s | 479 kB     00:02
    CentOS-7 - Extras                                                   1.4 MB/s | 361 kB     00:00
    AlmaLinux 7 - BaseOS                                                120  B/s | 269  B     00:02
    Errors during downloading metadata for repository 'baseos':
      - Status code: 404 for https://mirrors.almalinux.org/mirrorlist/7/baseos (IP: 3.212.234.222)
    Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.almalinux.org/mirrorlist/7/baseos (IP: 3.212.234.222)
    [root@host ~]# yum update
    Repository extras is listed more than once in the configuration
    Repository extras-source is listed more than once in the configuration
    AlmaLinux 7 - BaseOS                                                124  B/s | 269  B     00:02
    Errors during downloading metadata for repository 'baseos':
      - Status code: 404 for https://mirrors.almalinux.org/mirrorlist/7/baseos (IP: 3.212.234.222)
    Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.almalinux.org/mirrorlist/7/baseos (IP: 3.212.234.222)

    0
  • cPRex Jurassic Moderator

    Thanks for the additional details - that's exactly what I needed to see.

    Can you disable the BaseOS mirror using the details here? https://support.cpanel.net/hc/en-us/articles/360054840794-How-to-enable-a-repository-on-a-RHEL-based-system

    0
  • Robert Mwaura

    getting this error

     

    [root@host ~]# /scripts/elevate-cpanel --log
    # -------------------------> [INFO] # Monitoring existing running upgrade (stage=4) ; Running: tail -f /var/log/elevate-cpanel.log
    * 2024-06-17 22:44:56 (6604) [INFO] Repository extras is listed more than once in the configuration
    * 2024-06-17 22:44:56 (6604) [INFO] Repository extras-source is listed more than once in the configuration
    * 2024-06-17 22:44:56 (6604) [INFO] 42 files removed
    * 2024-06-17 22:44:56 (6621) [INFO]
    * 2024-06-17 22:44:57 (6590) [INFO] Running: /usr/bin/dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
    * 2024-06-17 22:44:57 (6591) [INFO]
    * 2024-06-17 22:44:57 (6604) [INFO] Repository extras is listed more than once in the configuration
    * 2024-06-17 22:44:57 (6604) [INFO] Repository extras-source is listed more than once in the configuration
    * 2024-06-17 22:44:58 (6604) [INFO] CentOS-7-Base                                    16 MB/s |  10 MB     00:00
    * 2024-06-17 22:45:06 (6604) [INFO] CentOS-7-Updates                                8.5 MB/s |  34 MB     00:04
    * 2024-06-17 22:45:19 (6604) [INFO] ELevate                                         613 kB/s | 109 kB     00:00
    * 2024-06-17 22:45:21 (6604) [INFO] EA4 ( EasyApache 4 )                            1.8 MB/s | 4.6 MB     00:02
    * 2024-06-17 22:45:25 (6604) [INFO] cPanel Addons Production Feed                   7.9 kB/s |  10 kB     00:01
    * 2024-06-17 22:45:27 (6604) [INFO] cPanel Plugins project                          234 kB/s | 479 kB     00:02
    * 2024-06-17 22:45:27 (6604) [INFO] CentOS-7 - Extras                               3.1 MB/s | 361 kB     00:00
    * 2024-06-17 22:45:30 (6604) [INFO] AlmaLinux 7 - BaseOS                            124  B/s | 269  B     00:02
    * 2024-06-17 22:45:30 (6604) [INFO] Errors during downloading metadata for repository 'baseos':
    * 2024-06-17 22:45:30 (6604) [INFO]   - Status code: 404 for https://mirrors.almalinux.org/mirrorlist/7/baseos (IP: 3.212.234.222)
    * 2024-06-17 22:45:30 (6604) [INFO] Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.almalinux.org/mirrorlist/7/baseos (IP: 3.212.234.222)
    * 2024-06-17 22:45:30 (6621) [INFO]
    * 2024-06-17 19:46:27 (8591) [INFO] ******************************************************************************************
    * 2024-06-17 19:46:27 (8592) [INFO] *
    * 2024-06-17 19:46:27 (8593) [INFO] * Starting stage 4 of 5
    * 2024-06-17 19:46:27 (8594) [INFO] *
    * 2024-06-17 19:46:27 (8595) [INFO] ******************************************************************************************
    * 2024-06-17 19:46:27 (6099) [INFO] LEAPP does not appear to have completed successfully, but continuing anyway because [/var/cpanel/elevate_leap_fail_continue] exists
    * 2024-06-17 19:46:27 (8540) [DEBUG] Running 'post_leapp' from RpmDB component.
    * 2024-06-17 19:46:27 (6590) [INFO] Running: /usr/bin/dnf clean all
    * 2024-06-17 19:46:27 (6591) [INFO]
    * 2024-06-17 19:46:28 (6604) [INFO] Repository extras is listed more than once in the configuration
    * 2024-06-17 19:46:28 (6604) [INFO] Repository extras-source is listed more than once in the configuration
    * 2024-06-17 19:46:28 (6604) [INFO] 42 files removed
    * 2024-06-17 19:46:28 (6621) [INFO]
    * 2024-06-17 19:46:30 (6590) [INFO] Running: /usr/bin/dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
    * 2024-06-17 19:46:30 (6591) [INFO]
    * 2024-06-17 19:46:30 (6604) [INFO] Repository extras is listed more than once in the configuration
    * 2024-06-17 19:46:30 (6604) [INFO] Repository extras-source is listed more than once in the configuration
    * 2024-06-17 19:46:31 (6604) [INFO] CentOS-7-Base                                    17 MB/s |  10 MB     00:00
    * 2024-06-17 19:46:36 (6604) [INFO] CentOS-7-Updates                                 20 MB/s |  34 MB     00:01
    * 2024-06-17 19:46:46 (6604) [INFO] ELevate                                         452 kB/s | 109 kB     00:00
    * 2024-06-17 19:46:59 (6604) [INFO] EA4 ( EasyApache 4 )                            384 kB/s | 4.6 MB     00:12
    * 2024-06-17 19:47:02 (6604) [INFO] cPanel Addons Production Feed                   7.8 kB/s |  10 kB     00:01
    * 2024-06-17 19:47:04 (6604) [INFO] cPanel Plugins project                          213 kB/s | 479 kB     00:02
    * 2024-06-17 19:47:04 (6604) [INFO] CentOS-7 - Extras                               3.3 MB/s | 361 kB     00:00
    * 2024-06-17 19:47:07 (6604) [INFO] AlmaLinux 7 - BaseOS                            122  B/s | 269  B     00:02
    * 2024-06-17 19:47:07 (6604) [INFO] Errors during downloading metadata for repository 'baseos':
    * 2024-06-17 19:47:07 (6604) [INFO]   - Status code: 404 for https://mirrors.almalinux.org/mirrorlist/7/baseos (IP: 3.212.234.222)
    * 2024-06-17 19:47:07 (6604) [INFO] Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.almalinux.org/mirrorlist/7/baseos (IP: 3.212.234.222)
    * 2024-06-17 19:47:07 (6621) [INFO]

    0
  • cPRex Jurassic Moderator

    It's interesting that it's still trying to download anything from there if it is disabled.

    Does "baseos" still show up if you run this command?

    yum repolist enabled
    0
  • Robert Mwaura

    [root@host ~]# yum repolist enabled
    Repository extras is listed more than once in the configuration
    Repository extras-source is listed more than once in the configuration
    repo id                                           repo name
    EA4                                               EA4 ( EasyApache 4 )
    appstream                                         AlmaLinux 7 - AppStream
    base                                              CentOS-7-Base
    baseos                                            AlmaLinux 7 - BaseOS
    cpanel-addons-production-feed                     cPanel Addons Production Feed
    cpanel-plugins                                    cPanel Plugins project
    elevate                                           ELevate
    extras                                            CentOS-7 - Extras
    updates                                           CentOS-7-Updates
    wp-toolkit-cpanel                                 WP Toolkit for cPanel
    wp-toolkit-thirdparties                           WP Toolkit third parties
    [root@host ~]#

    0
  • cPRex Jurassic Moderator

    That output would indicate that the repo wasn't properly disabled.

    0
  • Robert Mwaura

    is there a way to totally reverse the elevate process?

    0
  • Robert Mwaura

    tried again and the error is the same

     

    [root@host ~]# yum-config-manager --enable $repo_id
    Repository extras is listed more than once in the configuration
    Repository extras-source is listed more than once in the configuration
    [root@host ~]# /scripts/elevate-cpanel --continue
    # -------------------------> [INFO] Restarting install process (stage=4)
    * 2024-06-18 00:06:18 [INFO] Running: /usr/bin/systemctl restart elevate-cpanel.service
    * 2024-06-18 00:06:18 [INFO]
    # -------------------------> [ERROR] # Upgrade process failed at stage=4 ; Running: tail -f /var/log/elevate-cpanel.log
    * 2024-06-18 00:04:20 (8540) [DEBUG] Running 'post_leapp' from RpmDB component.
    * 2024-06-18 00:04:20 (6590) [INFO] Running: /usr/bin/dnf clean all
    * 2024-06-18 00:04:20 (6591) [INFO]
    * 2024-06-18 00:04:20 (6604) [INFO] Repository extras is listed more than once in the configuration
    * 2024-06-18 00:04:20 (6604) [INFO] Repository extras-source is listed more than once in the configuration
    * 2024-06-18 00:04:20 (6604) [INFO] 42 files removed
    * 2024-06-18 00:04:20 (6621) [INFO]
    * 2024-06-18 00:04:20 (6590) [INFO] Running: /usr/bin/dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
    * 2024-06-18 00:04:20 (6591) [INFO]
    * 2024-06-18 00:04:21 (6604) [INFO] Repository extras is listed more than once in the configuration
    * 2024-06-18 00:04:21 (6604) [INFO] Repository extras-source is listed more than once in the configuration
    * 2024-06-18 00:04:22 (6604) [INFO] CentOS-7-Base                                    14 MB/s |  10 MB     00:00
    * 2024-06-18 00:04:27 (6604) [INFO] CentOS-7-Updates                                 17 MB/s |  34 MB     00:02
    * 2024-06-18 00:04:36 (6604) [INFO] ELevate                                         762 kB/s | 109 kB     00:00
    * 2024-06-18 00:04:40 (6604) [INFO] EA4 ( EasyApache 4 )                            1.4 MB/s | 4.6 MB     00:03
    * 2024-06-18 00:04:42 (6604) [INFO] cPanel Addons Production Feed                    14 kB/s |  10 kB     00:00
    * 2024-06-18 00:04:43 (6604) [INFO] cPanel Plugins project                          399 kB/s | 479 kB     00:01
    * 2024-06-18 00:04:44 (6604) [INFO] CentOS-7 - Extras                               2.3 MB/s | 361 kB     00:00
    * 2024-06-18 00:04:46 (6604) [INFO] AlmaLinux 7 - BaseOS                            121  B/s | 269  B     00:02
    * 2024-06-18 00:04:46 (6604) [INFO] Errors during downloading metadata for repository 'baseos':
    * 2024-06-18 00:04:46 (6604) [INFO]   - Status code: 404 for https://mirrors.almalinux.org/mirrorlist/7/baseos (IP: 52.3.173.145)
    * 2024-06-18 00:04:46 (6604) [INFO] Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.almalinux.org/mirrorlist/7/baseos (IP: 52.3.173.145)
    * 2024-06-18 00:04:46 (6621) [INFO]
    * 2024-06-18 00:04:46 (6512) [INFO] Sending notification: Failed to update to AlmaLinux 8
    * 2024-06-18 00:04:46 (6517) [ERROR] The elevation process failed during stage 4.
    * 2024-06-18 00:04:46 (6517) [ERROR]
    * 2024-06-18 00:04:46 (6517) [ERROR] You can continue the process after fixing the errors by running:
    * 2024-06-18 00:04:46 (6517) [ERROR]
    * 2024-06-18 00:04:46 (6517) [ERROR]     /usr/local/cpanel/scripts/elevate-cpanel --continue
    * 2024-06-18 00:04:46 (6517) [ERROR]
    * 2024-06-18 00:04:46 (6517) [ERROR] You can check the error log by running:
    * 2024-06-18 00:04:46 (6517) [ERROR]
    * 2024-06-18 00:04:46 (6517) [ERROR]     /usr/local/cpanel/scripts/elevate-cpanel
    * 2024-06-18 00:04:46 (6517) [ERROR]
    * 2024-06-18 00:04:46 (6517) [ERROR] Last Error:
    * 2024-06-18 00:04:46 (6517) [ERROR]
    * 2024-06-18 00:04:46 (6517) [ERROR] command failed. Fix it and run command. at /usr/local/cpanel/scripts/elevate-cpanel line 6582.
    * 2024-06-18 00:04:47 (8092) [FATAL] command failed. Fix it and run command. at /usr/local/cpanel/scripts/elevate-cpanel line 6582.
    * 2024-06-18 00:06:18 (6590) [INFO] Running: /usr/bin/systemctl restart elevate-cpanel.service
    * 2024-06-18 00:06:18 (6591) [INFO]
    * 2024-06-18 00:06:18 (6621) [INFO]
    * 2024-06-18 00:06:18 [INFO]
    * 2024-06-18 00:06:19 (8591) [INFO] ******************************************************************************************
    * 2024-06-18 00:06:19 (8592) [INFO] *
    * 2024-06-18 00:06:19 (8593) [INFO] * Starting stage 4 of 5
    * 2024-06-18 00:06:19 (8594) [INFO] *
    * 2024-06-18 00:06:19 (8595) [INFO] ******************************************************************************************
    * 2024-06-18 00:06:19 (6099) [INFO] LEAPP does not appear to have completed successfully, but continuing anyway because [/var/cpanel/elevate_leap_fail_continue] exists
    * 2024-06-18 00:06:19 (8540) [DEBUG] Running 'post_leapp' from RpmDB component.
    * 2024-06-18 00:06:19 (6590) [INFO] Running: /usr/bin/dnf clean all
    * 2024-06-18 00:06:19 (6591) [INFO]
    * 2024-06-18 00:06:19 (6604) [INFO] Repository extras is listed more than once in the configuration
    * 2024-06-18 00:06:19 (6604) [INFO] Repository extras-source is listed more than once in the configuration
    * 2024-06-18 00:06:19 (6604) [INFO] 42 files removed
    * 2024-06-18 00:06:19 (6621) [INFO]
    * 2024-06-18 00:06:20 (6590) [INFO] Running: /usr/bin/dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
    * 2024-06-18 00:06:20 (6591) [INFO]
    * 2024-06-18 00:06:20 (6604) [INFO] Repository extras is listed more than once in the configuration
    * 2024-06-18 00:06:20 (6604) [INFO] Repository extras-source is listed more than once in the configuration
    * 2024-06-18 00:06:21 (6604) [INFO] CentOS-7-Base                                    14 MB/s |  10 MB     00:00
    * 2024-06-18 00:06:26 (6604) [INFO] CentOS-7-Updates                                 19 MB/s |  34 MB     00:01
    * 2024-06-18 00:06:35 (6604) [INFO] ELevate                                         697 kB/s | 109 kB     00:00
    * 2024-06-18 00:06:39 (6604) [INFO] EA4 ( EasyApache 4 )                            1.5 MB/s | 4.6 MB     00:03
    * 2024-06-18 00:06:41 (6604) [INFO] cPanel Addons Production Feed                    14 kB/s |  10 kB     00:00
    * 2024-06-18 00:06:42 (6604) [INFO] cPanel Plugins project                          398 kB/s | 479 kB     00:01
    * 2024-06-18 00:06:43 (6604) [INFO] CentOS-7 - Extras                               2.2 MB/s | 361 kB     00:00
    * 2024-06-18 00:06:45 (6604) [INFO] AlmaLinux 7 - BaseOS                            124  B/s | 269  B     00:02
    * 2024-06-18 00:06:45 (6604) [INFO] Errors during downloading metadata for repository 'baseos':
    * 2024-06-18 00:06:45 (6604) [INFO]   - Status code: 404 for https://mirrors.almalinux.org/mirrorlist/7/baseos (IP: 52.3.173.145)
    * 2024-06-18 00:06:45 (6604) [INFO] Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.almalinux.org/mirrorlist/7/baseos (IP: 52.3.173.145)
    * 2024-06-18 00:06:45 (6621) [INFO]
    * 2024-06-18 00:06:45 (6512) [INFO] Sending notification: Failed to update to AlmaLinux 8
    * 2024-06-18 00:06:45 (6517) [ERROR] The elevation process failed during stage 4.
    * 2024-06-18 00:06:45 (6517) [ERROR]
    * 2024-06-18 00:06:45 (6517) [ERROR] You can continue the process after fixing the errors by running:
    * 2024-06-18 00:06:45 (6517) [ERROR]
    * 2024-06-18 00:06:45 (6517) [ERROR]     /usr/local/cpanel/scripts/elevate-cpanel --continue
    * 2024-06-18 00:06:45 (6517) [ERROR]
    * 2024-06-18 00:06:45 (6517) [ERROR] You can check the error log by running:
    * 2024-06-18 00:06:45 (6517) [ERROR]
    * 2024-06-18 00:06:45 (6517) [ERROR]     /usr/local/cpanel/scripts/elevate-cpanel
    * 2024-06-18 00:06:45 (6517) [ERROR]
    * 2024-06-18 00:06:45 (6517) [ERROR] Last Error:
    * 2024-06-18 00:06:45 (6517) [ERROR]
    * 2024-06-18 00:06:45 (6517) [ERROR] command failed. Fix it and run command. at /usr/local/cpanel/scripts/elevate-cpanel line 6582.
    * 2024-06-18 00:06:45 (8092) [FATAL] command failed. Fix it and run command. at /usr/local/cpanel/scripts/elevate-cpanel line 6582.

    0
  • Robert Mwaura

    when i run to check my version i am seeing its already on Almalinux 8.10

     

    [root@host ~]# cat /etc/os-release

     

    NAME="AlmaLinux" VERSION="8.10 (Cerulean Leopard)" ID="almalinux" ID_LIKE="rhel centos fedora" VERSION_ID="8.10" PLATFORM_ID="platform:el8" PRETTY_NAME="AlmaLinux 8.10 (Cerulean Leopard)" ANSI_COLOR="0;34" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:almalinux:almalinux:8::baseos" HOME_URL="https://almalinux.org/" DOCUMENTATION_URL="https://wiki.almalinux.org/" BUG_REPORT_URL="https://bugs.almalinux.org/"

    ALMALINUX_MANTISBT_PROJECT="AlmaLinux-8" ALMALINUX_MANTISBT_PROJECT_VERSION="8.10" REDHAT_SUPPORT_PRODUCT="AlmaLinux" REDHAT_SUPPORT_PRODUCT_VERSION="8.10" SUPPORT_END=2029-06-01

    0
  • cPRex Jurassic Moderator

    Is it possible the update completed normally?  If it's reporting the updated OS, it sounds like ELevate ran.

    0
  • Robert Mwaura

    how can we fix this?

    0
  • cPRex Jurassic Moderator

    At this point it would be best to submit a ticket so the server can be examined.

    0
  • Robert Mwaura

    to cpanel or my server provider? i have been talking to almalinux support they are saying its an issue witg cpanel

    0
  • cPRex Jurassic Moderator

    If your license is purchased with us, then your support should also come to us.  If not, you'd need to speak with your host.

    0
  • Robert Mwaura

    my license i have purchased with my host its been 3 days with no response. 

    0
  • cPRex Jurassic Moderator

    I'm sorry to hear that - unfortunately I don't have any control over the support your host provides.

    You're always welcome to cancel your license there and purchase a license directly with cPanel through our store.  You can also send us a message describing your support experience with your host to cs@cpanel.net and our team will review that information.

    0
  • Robert Mwaura

    i am wondering if the elevate process was successfully installed its showing when i check the release us almalinux but when i run the status check its saying it failed on stage 4.

    [root@host ~]# /scripts/elevate-cpanel --status
    Failed during stage 4

    and when i login im getting this notication

    # /!\ ELEVATE IN PROGRESS /!\
    #
    # Do not make any changes until it's complete
    # you can check the current process status by running:
    #
    #               /scripts/elevate-cpanel --status
    #
    # Or monitor the progress by running:
    #
    #               /scripts/elevate-cpanel --log

     

    0
  • cPRex Jurassic Moderator

    It certainly doesn't look successful from that output.

    0
  • Robert Mwaura

    whwn i check for os release i am getting this

     

    [root@host ~]# cat /etc/os-release

    NAME="AlmaLinux" VERSION="8.10 (Cerulean Leopard)" ID="almalinux" ID_LIKE="rhel centos fedora" VERSION_ID="8.10" PLATFORM_ID="platform:el8" PRETTY_NAME="AlmaLinux 8.10 (Cerulean Leopard)" ANSI_COLOR="0;34" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:almalinux:almalinux:8::baseos" HOME_URL="https://almalinux.org/" DOCUMENTATION_URL="https://wiki.almalinux.org/" BUG_REPORT_URL="https://bugs.almalinux.org/"

    ALMALINUX_MANTISBT_PROJECT="AlmaLinux-8" ALMALINUX_MANTISBT_PROJECT_VERSION="8.10" REDHAT_SUPPORT_PRODUCT="AlmaLinux" REDHAT_SUPPORT_PRODUCT_VERSION="8.10" SUPPORT_END=2029-06-01

    0
  • Robert Mwaura

    hello i managed to get it working but facing 2 issues

     

    one i cant get mysql to work getting this error i have tried to rempove it and install it again but no change

    Waiting for “mysql” to start ………Unrecognized configuration options may have caused the MySQL startup errors. The system has attempted to auto-update your MySQL configuration file for your MySQL version. This should resolve any errors that stem from an outdated MySQL configuration file. …Unrecognized configuration options may have caused the MySQL startup errors. The system has attempted to auto-update your MySQL configuration file for your MySQL version. This should resolve any errors that stem from an outdated MySQL configuration file. …failed.

    Cpanel::Exception::Services::StartError Service Status
    undefined status from Cpanel::ServiceManager::Services::Mysql

    Service Error
    (XID z65kpw) The “mysql” service failed to start.

     

    also all services are running but when i click on webmail im getting an error login

     

    Internal Server Error

    500

    Internal Error (ID 777877764850022)

     


    cpsrvd Server 

     

    0
  • cPRex Jurassic Moderator

    Can you post the output of this command from the server?

    cat /etc/my.cnf
    0
  • Robert Mwaura

    # For advice on how to change settings please see
    # http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html

    [mysqld]
    disable-log-bin=1
    default-authentication-plugin=mysql_native_password
    performance-schema=0
    #
    # Remove leading # and set to the amount of RAM for the most important data
    # cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
    # innodb_buffer_pool_size = 128M
    #
    # Remove the leading "# " to disable binary logging
    # Binary logging captures changes between backups and is enabled by
    # default. It's default setting is log_bin=binlog
    # disable_log_bin
    #
    # Remove leading # to set options mainly useful for reporting servers.
    # The server defaults are faster for transactions and fast SELECTs.
    # Adjust sizes as needed, experiment to find the optimal values.
    # join_buffer_size = 128M
    # sort_buffer_size = 2M
    # read_rnd_buffer_size = 2M
    #
    # Remove leading # to revert to previous value for default_authentication_plugin,
    # this will increase compatibility with older clients. For background, see:
    # https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_plugin
    # default-authentication-plugin=mysql_native_password
    innodb_log_file_size=512M
    innodb_log_files_in_group=2
    innodb_flush_log_at_trx_commit=1
    datadir=/var/lib/mysql
    socket=/var/lib/mysql/mysql.sock
    innodb_force_recovery=0
    log-error=/var/log/mysqld.log
    pid-file=/var/run/mysqld/mysqld.pid
    innodb_file_per_table=1
    # unix_socket=OFF
    mysqlx=0

    0
  • cPRex Jurassic Moderator

    Can you try removing or commenting out the "innodb_force_recovery=0" line and then restarting MySQL to see if that changes the behavior?

    0
  • Robert Mwaura

    still the same no change sql still not installing or running

    0
  • Andrew
    Translate
    Translate

    Hey Robert,

    So first of all how did you managed to "get it working" as you said after the stage 4 failure? At stage 4 the softwares would be reinstalled by the process using the saved EA profile, MySQL config files etc.. If this stage didn't run due to repo issues and you manually tried to install/bring up services that is a very bad solution and based on the warning after you login as root via SSH this is where you are now.

    So once again if you run this what you get:

    /scripts/elevate-cpanel --log

    Andrew N. - cPanel Plesk VMWare Certified Professional
    Do you need immediate assistance? 20 minutes response time!* Open a ticket
    EmergencySupport - Professional Server Management and One-time Services

    0
  • Robert Mwaura

    server is now running on almalinux 8 issue i am having is mysql is not running

     

    ##########################################################################################
    #
    # Please re-run this script with
    #
    #     --help  to know more about this script
    #     --check to check if your server is ready to upgrade
    #     --start if you would like to begin the upgrade process
    #
    #     Read more from https://cpanel.github.io/elevate/
    #
    ##########################################################################################

    0
  • Andrew
    Translate

    Please type the above command manually then. It seems the system doesn't recognize -- correctly.

    Andrew N. - cPanel Plesk VMWare Certified Professional
    Do you need immediate assistance? 20 minutes response time!* Open a ticket
    EmergencySupport - Professional Server Management and One-time Services

    0
  • Robert Mwaura

    getting the same

    [root@host ~]# /scripts/elevate-cpanel --log
    ##########################################################################################
    #
    # Please re-run this script with
    #
    #     --help  to know more about this script
    #     --check to check if your server is ready to upgrade
    #     --start if you would like to begin the upgrade process
    #
    #     Read more from https://cpanel.github.io/elevate/
    #
    ##########################################################################################

    0
  • Andrew
    Translate

    How about this only then?

    /usr/local/cpanel/scripts/elevate-cpanel

    Andrew N. - cPanel Plesk VMWare Certified Professional
    Do you need immediate assistance? 20 minutes response time!* Open a ticket
    EmergencySupport - Professional Server Management and One-time Services

    0

Please sign in to leave a comment.