Unable to elevate from centos 7 to alma linux
I am trying to elevate one of my servers, so I ran the script after running yum update to make sure the OS was up to date as stated in the document to check for any elevation blockers and fixed whatever the blockers were, but when I went to start the elevation process I received the below message and the elevation process exited.
I tried to rerun the process and receive the message that An elevation process is currently in progress: running stage 1, but it's not really running.
Error that caused the elevate process to stop
2023-10-16 03:39:52 (1618) [^[[31mERROR^[[0m] yum appears to be unstable. Please address this before upgrading
* 2023-10-16 03:39:52 (1619) [^[[31mERROR^[[0m] cPanel elevate documentation | Known cPanel ELevate Blockers
When I try to run the elevate process again
scripts/elevate-cpanel --start --upgrade-to=almalinux
An elevation process is currently in progress: running stage 1
You can check the log by running:
/scripts/elevate-cpanel --log
or check the elevation status:
/scripts/elevate-cpanel --check
When I check the log using the listed command.
[root@server2 ~]# /scripts/elevate-cpanel --log
# -------------------------> [WARN] # Monitoring upgrade file (stage=1) ; Running: tail -f /var/log/elevate-cpanel.log
* 2023-10-16 03:51:02 (1773) [INFO] Checking /scripts/sysup
* 2023-10-16 03:51:02 (4228) [INFO] Running: /scripts/sysup
* 2023-10-16 03:51:02 (4229) [INFO]
* 2023-10-16 03:51:03 (4242) [INFO] checkyum version 22.3 (excludes: bind-chroot)
* 2023-10-16 03:51:03 (4242) [INFO] All Needed Packages are already installed.
* 2023-10-16 03:51:03 (4259) [INFO]
* 2023-10-16 03:51:38 (815) [INFO] Checking EasyApache profile compatibility with AlmaLinux 8.
* 2023-10-16 03:51:38 (2270) [INFO] Running: /usr/local/bin/ea_current_to_profile --target-os=AlmaLinux_8 --output=/tmp/NUJSWBhD6E/ea_profile.json
* 2023-10-16 03:51:39 (2293) [INFO] Backed up EA4 profile to /tmp/NUJSWBhD6E/ea_profile.json
* 2023-10-16 03:51:40 (271) [INFO] There is no known blockers to start the elevation process.
You can consider running:
/scripts/elevate-cpanel --start
* 2023-10-17 01:34:39 (1752) [INFO] Checking if your system is up to date:
* 2023-10-17 01:34:39 (4228) [INFO] Running: /usr/bin/yum clean all
* 2023-10-17 01:34:39 (4229) [INFO]
* 2023-10-17 01:34:39 (4242) [INFO] Loaded plugins: fastestmirror, universal-hooks
* 2023-10-17 01:34:39 (4242) [INFO] Cleaning repos: EA4 cpanel-addons-production-feed cpanel-plugins base epel
* 2023-10-17 01:34:39 (4242) [INFO] : extras imunify360 imunify360-rollout-1 imunify360-rollout-2
* 2023-10-17 01:34:39 (4242) [INFO] : imunify360-rollout-3 imunify360-rollout-4 imunify360-rollout-5
* 2023-10-17 01:34:39 (4242) [INFO] : imunify360-rollout-6 imunify360-rollout-7 imunify360-rollout-8
* 2023-10-17 01:34:39 (4242) [INFO] : mysql-connectors-community mysql-tools-community
* 2023-10-17 01:34:39 (4242) [INFO] : mysql80-community updates wp-toolkit-cpanel
* 2023-10-17 01:34:39 (4242) [INFO] : wp-toolkit-thirdparties
* 2023-10-17 01:34:39 (4242) [INFO] Other repos take up 23 M of disk space (use --verbose for details)
* 2023-10-17 01:34:39 (4259) [INFO]
* 2023-10-17 01:34:39 (4228) [INFO] Running: /usr/bin/yum check-update -q
* 2023-10-17 01:34:39 (4229) [INFO]
* 2023-10-17 01:35:17 (4259) [INFO]
* 2023-10-17 01:35:17 (1773) [INFO] Checking /scripts/sysup
* 2023-10-17 01:35:17 (4228) [INFO] Running: /scripts/sysup
* 2023-10-17 01:35:17 (4229) [INFO]
* 2023-10-17 01:35:17 (4242) [INFO] checkyum version 22.3 (excludes: bind-chroot)
* 2023-10-17 01:35:18 (4242) [INFO] All Needed Packages are already installed.
* 2023-10-17 01:35:18 (4259) [INFO]
* 2023-10-17 01:35:49 (815) [INFO] Checking EasyApache profile compatibility with AlmaLinux 8.
* 2023-10-17 01:35:49 (2270) [INFO] Running: /usr/local/bin/ea_current_to_profile --target-os=AlmaLinux_8 --output=/tmp/4sc6LHIOMr/ea_profile.json
* 2023-10-17 01:35:49 (2293) [INFO] Backed up EA4 profile to /tmp/4sc6LHIOMr/ea_profile.json
* 2023-10-17 01:35:51 (271) [INFO] There is no known blockers to start the elevation process.
You can consider running:
/scripts/elevate-cpanel --start
-
Hey there! From your server, can you run the following command and download the file from the mirror? curl
It could have been the time of night I was doing the update and maybe there was some maintenance, but how do I clear it from thinking it is still on stage 1 and get it to start over? Btw yum update did not kick off any errors.0 -
If you try "/scripts/elevate-cpanel --start" does it complain about being on stage 1 still? 0 -
If you try "/scripts/elevate-cpanel --start" does it complain about being on stage 1 still?
Yes it does, I posted that above when I brokw down the log information and posted the responses from different commands.0 -
You can start a new run with "/scripts/elevate-cpanel --clean" and it will re-check everything while starting over. Try that and see if that gets you more progress. 0 -
You can start a new run with "/scripts/elevate-cpanel --clean" and it will re-check everything while starting over. Try that and see if that gets you more progress.
Ok thanks, I did not know that. I will try that a little later.0 -
I just wanted to let you know that I successfully completed an elevate of centos to Almalinux and I found out that I probably could have continued the process when it originally failed by doing /scripts/elevate-cpanel --continue, but thank you for the help that was provided. 0 -
I'm glad it's working well now! 0
Please sign in to leave a comment.
Comments
8 comments