I tried to update cpanel by running
/script/upcp --force
but got the following error: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