SOLVED My GoDaddy WHM / cPanel prompts for upgrade

Leonidas Savvides

Well-Known Member
May 10, 2016
83
4
8
Cyprus
cPanel Access Level
Root Administrator
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????
 

Attachments

Last edited by a moderator:

kodeslogic

Well-Known Member
Apr 26, 2020
257
84
103
IN
cPanel Access Level
Root Administrator
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.
 
  • Like
Reactions: Leonidas Savvides

Leonidas Savvides

Well-Known Member
May 10, 2016
83
4
8
Cyprus
cPanel Access Level
Root Administrator
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?

[[email protected] ~]# 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: https://securedownloads.cpanel.net/cPanelPublicKey.asc
[2020-11-02 03:07:22 +0200] Retrieved public key from vendor: cpanel, category: development,url: https://securedownloads.cpanel.net/cPanelDevelopmentKey.asc
[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
[[email protected]~]#
 

andrew.n

Well-Known Member
Jun 9, 2020
519
138
43
EU
cPanel Access Level
Root Administrator
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 System Administration Services for professional help.

mv /var/lib/rpm/__db* /tmp/
rpm --rebuilddb
yum clean all
 
  • Like
Reactions: Leonidas Savvides

Leonidas Savvides

Well-Known Member
May 10, 2016
83
4
8
Cyprus
cPanel Access Level
Root Administrator
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 System Administration Services for professional help.

mv /var/lib/rpm/__db* /tmp/
rpm --rebuilddb
yum clean all
By saying RPM database
Is the RedHat package manager database?
Is serious problem, or any danger permanently do the VPS Server useless?
Or danger impact my web sites or MySQL databases?

This command is correct? Mv is move - after are two parameters? Where is the space between?
mv /var/lib/rpm/__db* /tmp/

Can give these commands in CLI from web Terminal in WHM?
 

andrew.n

Well-Known Member
Jun 9, 2020
519
138
43
EU
cPanel Access Level
Root Administrator
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
 

andrew.n

Well-Known Member
Jun 9, 2020
519
138
43
EU
cPanel Access Level
Root Administrator
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.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
4,748
585
273
cPanel Access Level
Root Administrator
The "mv" command is correct. You could also try and perform this work through WHM directly using the details in our guide here:

 

Leonidas Savvides

Well-Known Member
May 10, 2016
83
4
8
Cyprus
cPanel Access Level
Root Administrator
Followed
...
D: closed db environment /var/lib/rpmrebuilddb.28827
Complete!
after I have pressed the "Click to Upgrade" button and waited to complete -- see attached screen-shots --- I think now all OK
 

Attachments

  • Like
Reactions: cPRex