Unable to update cPanel properly
Hello,
I try to update my cpanel server to latest version but it reboot automatically. So I try to open my whm panel but it can't open.
I try to update cpanel from ssh by using the script /usr/local/cpanel/scripts/upcp --force and /scripts/upcp --force but t says "-bash: /xxxx/xxxx/xxx: No such file or directory"
I'm also try to fix rpm but im getting
Can't locate Cpanel/SafeDir/MK.pm in @INC (you may need to install the Cpanel::SafeDir::MK module) (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0 /opt/cpanel/perl5/526/site_lib/x86_64-linux-64int /opt/cpanel/perl5/526/site_lib) at /usr/local/cpanel/Cpanel/Update/Logger.pm line 10.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Update/Logger.pm line 10.
Compilation failed in require at /scripts/check_cpanel_rpms line 23.
BEGIN failed--compilation aborted at /scripts/check_cpanel_rpms line 23.
this error
-
Hi @indharajith When you run /scripts/find_and_fix_rpm_issues --rebuildonly
do you continue to get the same output? Please note this will just rebuild the RPM database: --rebuildonly - Unconditionally rebuild the RPM database.0 -
Hi @cPanelLauren Thank you for your reply I fix this issue by copy /usr/local/cpanel folder from my snapshot and run /scripts/find_and_fix_rpm_issues --rebuildonly 0 -
Hi @indharajith I'm really glad to hear it's resolved, thank you for posting here the solution that worked for you! 0
Please sign in to leave a comment.
Comments
3 comments