cPanel & WHM update failure in upcp script
I tried to update cpanel by running
but got the following error: [QUOTE] The cPanel & WHM update process failed for the following reason: Maintenance ended; however, it did not exit cleanly (256). The following events were logged: "bin/checkallsslcerts". Review the update logs to determine why the update failed. Update log preview: ... ... [2022-11-16 15:31:37 +0100] E [/usr/local/cpanel/bin/checkallsslcerts] Can't call method "expired" on an undefined value at bin/checkallsslcerts.pl line 181. [2022-11-16 15:31:37 +0100] E [/usr/local/cpanel/bin/checkallsslcerts] The "/usr/local/cpanel/bin/checkallsslcerts --allow-retry --verbose" command (process 20289) reported error number 255 when it ended. ... [2022-11-16 15:31:40 +0100] - Processing command `/usr/local/cpanel/bin/cloudlinux_update` [2022-11-16 15:31:40 +0100] - Finished command `/usr/local/cpanel/bin/cloudlinux_update` in 0.050 seconds [2022-11-16 15:31:40 +0100] Processing: Updating plugins data cache [2022-11-16 15:31:40 +0100] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache` [2022-11-16 15:31:40 +0100] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.013 seconds [2022-11-16 15:31:40 +0100] Processing: Ensuring SSL certificate information for CCS is up to date. [2022-11-16 15:31:40 +0100] - Processing command `/usr/local/cpanel/scripts/ccs-check --run --ssl` [2022-11-16 15:31:40 +0100] - Finished command `/usr/local/cpanel/scripts/ccs-check --run --ssl` in 0.004 seconds [2022-11-16 15:31:40 +0100] Processing: Ensure cpanel-plugins yum repo exists [2022-11-16 15:31:41 +0100] - Finished in 0.764 seconds [2022-11-16 15:31:41 +0100] Processing: Checking Addon Licenses [2022-11-16 15:31:41 +0100] - Finished in 0.010 seconds [2022-11-16 15:31:41 +0100] Processing: Updating Public Suffix List [2022-11-16 15:31:41 +0100] Processing: Checking End Of Life for current version. [2022-11-16 15:31:41 +0100] - Finished in 0.052 seconds [2022-11-16 15:31:41 +0100] Processing: [2022-11-16 15:31:41 +0100] Maintenance complete. [state=post] => Log closed Wed Nov 16 15:31:41 2022 ---------------------------------------------------------------------------------------------------- => Log opened from cPanel Update (upcp) - Slave (14976) at Wed Nov 16 15:31:41 2022
/script/upcp --forcebut got the following error: [QUOTE] The cPanel & WHM update process failed for the following reason: Maintenance ended; however, it did not exit cleanly (256). The following events were logged: "bin/checkallsslcerts". Review the update logs to determine why the update failed. Update log preview: ... ... [2022-11-16 15:31:37 +0100] E [/usr/local/cpanel/bin/checkallsslcerts] Can't call method "expired" on an undefined value at bin/checkallsslcerts.pl line 181. [2022-11-16 15:31:37 +0100] E [/usr/local/cpanel/bin/checkallsslcerts] The "/usr/local/cpanel/bin/checkallsslcerts --allow-retry --verbose" command (process 20289) reported error number 255 when it ended. ... [2022-11-16 15:31:40 +0100] - Processing command `/usr/local/cpanel/bin/cloudlinux_update` [2022-11-16 15:31:40 +0100] - Finished command `/usr/local/cpanel/bin/cloudlinux_update` in 0.050 seconds [2022-11-16 15:31:40 +0100] Processing: Updating plugins data cache [2022-11-16 15:31:40 +0100] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache` [2022-11-16 15:31:40 +0100] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.013 seconds [2022-11-16 15:31:40 +0100] Processing: Ensuring SSL certificate information for CCS is up to date. [2022-11-16 15:31:40 +0100] - Processing command `/usr/local/cpanel/scripts/ccs-check --run --ssl` [2022-11-16 15:31:40 +0100] - Finished command `/usr/local/cpanel/scripts/ccs-check --run --ssl` in 0.004 seconds [2022-11-16 15:31:40 +0100] Processing: Ensure cpanel-plugins yum repo exists [2022-11-16 15:31:41 +0100] - Finished in 0.764 seconds [2022-11-16 15:31:41 +0100] Processing: Checking Addon Licenses [2022-11-16 15:31:41 +0100] - Finished in 0.010 seconds [2022-11-16 15:31:41 +0100] Processing: Updating Public Suffix List [2022-11-16 15:31:41 +0100] Processing: Checking End Of Life for current version. [2022-11-16 15:31:41 +0100] - Finished in 0.052 seconds [2022-11-16 15:31:41 +0100] Processing: [2022-11-16 15:31:41 +0100] Maintenance complete. [state=post] => Log closed Wed Nov 16 15:31:41 2022 ---------------------------------------------------------------------------------------------------- => Log opened from cPanel Update (upcp) - Slave (14976) at Wed Nov 16 15:31:41 2022
-
Hey there! Can you manually run the "checkallsslcerts" command and see if you get a more helpful error message? 0 -
Hey there! Can you manually run the "checkallsslcerts" command and see if you get a more helpful error message?
Can't call method "expired" on an undefined value at bin/checkallsslcerts.pl line 181.0 -
Since that workaround isn't helping, could you open a ticket with our team so we can check this for you? 0 -
Hello, Can you try running: whmapi1 reset_service_ssl_certificate service='cpanel'
Then try/usr/local/cpanel/bin/checkallsslcerts --verbose
again. Thank you0 -
Hello, Can you try running:
whmapi1 reset_service_ssl_certificate service='cpanel'
Then try/usr/local/cpanel/bin/checkallsslcerts --verbose
again. Thank you
YES! That fixed it! Thank You!0
Please sign in to leave a comment.
Comments
7 comments