Scott Galambos

Well-Known Member
Jul 13, 2016
102
4
68
Canada
cPanel Access Level
Root Administrator
I was updating cPanel to 94.0.4 from 92.0.11 and had one error below, but otherwise it seems to have complete fine. Is this a big deal?

"Failed to load a required module for this blocker. Skipping. (Error was: Can't locate cPanel/APIClient.pm"...

See:
Code:
=> Log opened from /usr/local/cpanel/scripts/updatenow.static-cpanelsync (5557) at Sat Mar 27 08:51:47 2021
[2021-03-27 08:51:47 -0400]   Running version '11.94.0.4' of updatenow.
[2021-03-27 08:51:47 -0400]   Detected version '11.92.0.11' from version file.
[2021-03-27 08:51:47 -0400]   Target version set to '11.94.0.4'
[2021-03-27 08:51:47 -0400]   Checking license
[2021-03-27 08:51:49 -0400]   License file check complete
[2021-03-27 08:51:49 -0400]   Checking that the RPM DB is OK...
[2021-03-27 08:51:49 -0400]   glibc-2.17-323.el7_9.x86_64
[2021-03-27 08:51:49 -0400]   OK: RPM DB is responding to queries
[2021-03-27 08:51:49 -0400]   Testing if rpm_is_working RPM is installed
[2021-03-27 08:51:49 -0400]   package rpm_is_working is not installed
[2021-03-27 08:51:49 -0400]   Testing if it's possible to install a simple RPM
[2021-03-27 08:51:49 -0400]   Preparing...                          ########################################
[2021-03-27 08:51:49 -0400]   Updating / installing...
[2021-03-27 08:51:49 -0400]   rpm_is_working-1.0-0                  ########################################
[2021-03-27 08:51:49 -0400]   Failed to load a required module for this blocker. Skipping. (Error was: Can't locate cPanel/APIClient.pm in @INC (you may need to install the cPanel::APIClient module) (@INC contains: /usr/local/cpanel /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/530/lib/perl5/5.30.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/530/lib/perl5/5.30.0 /opt/cpanel/perl5/530/site_lib/x86_64-linux-64int /opt/cpanel/perl5/530/site_lib) at (eval 44) line 1.
[2021-03-27 08:51:49 -0400] )
[2021-03-27 08:51:49 -0400]   Ensuring required distro packages are installed.
[2021-03-27 08:51:49 -0400]   Staging 11.94.0.4 cpanelsync files prior to updating /usr/local/cpanel
[2021-03-27 08:51:49 -0400]   Staging cpanel changes
[2021-03-27 08:51:49 -0400]   checkyum version 22.3  (excludes: bind-chroot kernel ruby)
[2021-03-27 08:51:49 -0400]   Loading digest cache from /usr/local/cpanel/.cpanelsync.digest
[2021-03-27 08:51:49 -0400]   Retrieving and staging /cpanelsync/11.94.0.4/binaries/linux-c7-x86_64/.cpanelsync.bz2
[2021-03-27 08:51:49 -0400]   Using mirror '208.100.0.204' for host 'httpupdate.cpanel.net'.
[2021-03-27 08:51:49 -0400]   Successfully verified signature for cpanel (key types: release).
[2021-03-27 08:51:49 -0400]   Retrieving and staging /cpanelsync/11.94.0.4/cpanel/.cpanelsync.bz2
[2021-03-27 08:51:49 -0400]   checkyum version 22.3
[2021-03-27 08:51:49 -0400]   All Needed RPMS are installed.
=> Log closed Sat Mar 27 08:51:49 2021
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
6,923
912
313
cPanel Access Level
Root Administrator
Hey there! It's not the end of the world, but I still don't like to see anything come up as "Failed"

Could you try running this to see if that resolves the issue?

Code:
/scripts/check_cpanel_rpms
It may have been resolved later on in the update itself, but it doesn't hurt to check.
 

Scott Galambos

Well-Known Member
Jul 13, 2016
102
4
68
Canada
cPanel Access Level
Root Administrator
thanks for your concern. I ran it, it did nothing at all, sat there for about 5 minutes then just ended gracefully with no message at all.
core(/temp): /scripts/check_cpanel_rpms
core(/temp):
that ok?