My GoDaddy WHM / cPanel prompts for upgrade
My Godaddy WHM / cPanel prompts for an update
see
attached image
==
Normally I have to press the "Click to Upgrade" button and wait to complete???
==
VPS Server needed restart after?
Web Sites are Not affected by this upgrade, during the upgrade, correct?
In other words, I Do Not have to apply Upgrade off-peak hours????
-
This VPS is a Linux Server cPanel/WHM 0 -
It is a minor version upgrade (small upgrade) shouldn't take a long time to finish. However, it is always recommended to carry out such activities in off-peak hours. 0 -
Thank you! For your Reply! 0 -
I pressed Click to Upgrade in 3-5 sec it has finished... but shows again the alert Version 90.0.16 available, like NOT upgraded anything - like the image attached in initial post log in this: // do you know what to do? [root@ip-yyyyyyyyyyy ~]# cat /var/cpanel/updatelogs/update.1604279239.log ---------------------------------------------------------------------------------------------------- => Log opened from cPanel Update (upcp) - Slave (2781) at Mon Nov 2 03:07:19 2020 [2020-11-02 03:07:19 +0200] Detected cron=0 (manual flag passed on command line) [2020-11-02 03:07:20 +0200] 1% complete [2020-11-02 03:07:20 +0200] Running Standardized hooks [2020-11-02 03:07:20 +0200] 2% complete [2020-11-02 03:07:20 +0200] mtime on upcp is 1582962565 (Sat Feb 29 09:49:25 2020) ---------------------------------------------------------------------------------------------------- => Log opened from /usr/local/cpanel/scripts/updatenow (2783) at Mon Nov 2 03:07:21 2020 [2020-11-02 03:07:21 +0200] Running version '11.90.0.9' of updatenow. [2020-11-02 03:07:22 +0200] Retrieved public key from vendor: cpanel, category: release, url: [2020-11-02 03:07:22 +0200] Detected version '11.90.0.9' from version file. [2020-11-02 03:07:22 +0200] Target version set to '11.90.0.16' [2020-11-02 03:07:22 +0200] Switching to version 11.90.0.16 of updatenow to determine if we can reach that version without failure. [2020-11-02 03:07:22 +0200] ***** FATAL: Failed to download updatenow.static from server: (XIDccw7ea) "/bin/rpm" reported error code "1" when it ended: error: rpmdb: BDB0113 Thread/process2843/139741486594112 failed: BDB1507 Thread died in Berkeley DB library [2020-11-02 03:07:22 +0200] error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery [2020-11-02 03:07:22 +0200] error: cannot open Packages index using db5 - (-30973) [2020-11-02 03:07:22 +0200] error: cannot open Packages database in /var/lib/rpm [2020-11-02 03:07:22 +0200] error: rpmdb: BDB0113 Thread/process 2843/139741486594112 failed: BDB1507 Thread died in Berkeley DB library [2020-11-02 03:07:22 +0200] error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery [2020-11-02 03:07:22 +0200] error: cannot open Packages database in /var/lib/rpm [2020-11-02 03:07:22 +0200] The Administrator will be notified to review this output when this script completes => Log closed Mon Nov 2 03:07:22 2020 [2020-11-02 03:07:22 +0200] 17% complete => Log closed Mon Nov 2 03:07:22 2020 ---------------------------------------------------------------------------------------------------- => Log opened from /usr/local/cpanel/scripts/maintenance (2797) at Mon Nov 2 03:07:23 2020 => Log closed Mon Nov 2 03:07:23 2020 ---------------------------------------------------------------------------------------------------- => Log opened from cPanel Update (upcp) - Slave (2781) at Mon Nov 2 03:07:23 2020 [2020-11-02 03:07:23 +0200] E Pre Maintenance ended, however it did not exit cleanly (65280). Please check the logs for an indication of what happened => Log closed Mon Nov 2 03:07:23 2020 [2020-11-02 03:07:24 +0200] 95% complete [2020-11-02 03:07:24 +0200] Running Standardized hooks [2020-11-02 03:07:24 +0200] 100% complete [2020-11-02 03:07:24 +0200] [2020-11-02 03:07:24 +0200] cPanel update completed [2020-11-02 03:07:24 +0200] A log of this update is available at /var/cpanel/updatelogs/update.1604279239.log [2020-11-02 03:07:24 +0200] Removing upcp pidfile [2020-11-02 03:07:24 +0200] [2020-11-02 03:07:24 +0200] Completed all updates => Log closed Mon Nov 2 03:07:24 2020 [root@ip-yyyyyyyyyyy~]# 0 -
It looks like your RPM database is corrupted hence the upgrade failed. You can try to re-create the RPM db or hire a cPanel certified sys admin from for professional help. mv /var/lib/rpm/__db* /tmp/ rpm --rebuilddb yum clean all 0 -
Yes, it is due to the RPM database is corrupt. Steps to re-create the RPM db is already shared by andrew.n 0 -
Yes that's correct. You should always make backup beforehand. If you copy paste the command you can see there is a space between the parameters. You can run these from web terminal in WHM 0 -
you say "You should always make a backup beforehand." What to backup? Do the instructions 3:00 in the morning on off-peak, correct? 0 -
Leonidas, if you are that unsure I suggest you to hire somebody to do this for you. We can guide you how to fix it but you need to have a certain level of expertise to decide whether it's a right way or not and ensure that you have all the "safety" measures if something go south.... just my 2cents. 0 -
The "mv" command that @andrew.n provided creates the RPM backup on the system for you. Can you try that and let us know the results? 0 -
I read many Linux books And feel confident in Linux Terminal I will try 3:00 tomorrow The cmd mv can be copy: cp, or must be mv...? 0 -
Everything looks good nice job Leonidas! 0 -
You should upgrade it. 0
Please sign in to leave a comment.
Comments
16 comments