Hello guys,
I am running WHM Version: 102.0.1 and AlmaLinux v8.5.0 STANDARD kvm. Recently migrated from CentOS.
I have the below problem that I cannot seem to solve:
The cPanel & WHM update process failed for the following reason:
Maintenance ended; however, it did not exit cleanly (256). The following events were logged: “scripts/findphpversion”. Review the update logs to determine why the update failed.
When I perform the "dnf makecache", I get the following:
When I do "System Update" from WHM, I get the following:
Any ideas how to fix this?
I am running WHM Version: 102.0.1 and AlmaLinux v8.5.0 STANDARD kvm. Recently migrated from CentOS.
I have the below problem that I cannot seem to solve:
The cPanel & WHM update process failed for the following reason:
Maintenance ended; however, it did not exit cleanly (256). The following events were logged: “scripts/findphpversion”. Review the update logs to determine why the update failed.
Code:
...
...
[2022-01-31 22:05:27 +0200] E [/usr/local/cpanel/scripts/findphpversion] “/usr/local/cpanel/bin/python-packman” reported error code “1” when it ended: Errors during downloading metadata for repository 'BaseOS':
[2022-01-31 22:05:27 +0200] E [/usr/local/cpanel/scripts/findphpversion] - Status code: 404 for http://asi-fs-d.contabo.net/centos/8/BaseOS/x86_64/os/repodata/repomd.xml (IP: 213.136.72.159)
[2022-01-31 22:05:27 +0200] E [/usr/local/cpanel/scripts/findphpversion] Traceback (most recent call last):
[2022-01-31 22:05:27 +0200] E [/usr/local/cpanel/scripts/findphpversion] File "/usr/lib/python3.6/site-packages/dnf/repo.py", line 574, in load
...
[2022-01-31 22:05:31 +0200] Processing: Updating plugins data cache
[2022-01-31 22:05:31 +0200] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache`
[2022-01-31 22:05:31 +0200] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.015 seconds
[2022-01-31 22:05:31 +0200] Processing: Ensuring SSL certificate information for CCS is up to date.
[2022-01-31 22:05:31 +0200] - Processing command `/usr/local/cpanel/scripts/ccs-check --run --ssl`
[2022-01-31 22:05:31 +0200] - Finished command `/usr/local/cpanel/scripts/ccs-check --run --ssl` in 0.006 seconds
[2022-01-31 22:05:31 +0200] Processing: Ensure cpanel-plugins yum repo exists
[2022-01-31 22:05:31 +0200] - Finished in 0.508 seconds
[2022-01-31 22:05:31 +0200] Processing: Checking Addon Licenses
[2022-01-31 22:05:31 +0200] - Finished in 0.002 seconds
[2022-01-31 22:05:31 +0200] Processing: Updating Public Suffix List
[2022-01-31 22:05:31 +0200] Processing: Checking End Of Life for current version.
[2022-01-31 22:05:31 +0200] - Finished in 0.094 seconds
[2022-01-31 22:05:31 +0200] Processing:
[2022-01-31 22:05:31 +0200] Maintenance complete.
=> Log closed Mon Jan 31 22:05:31 2022
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (1631720) at Mon Jan 31 22:05:31 2022
Code:
CentOS-8 - Base 81 kB/s | 282 B 00:00
Error: Failed to download metadata for repo 'BaseOS': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Code:
System update process has started.
“/usr/bin/dnf” reported error code “1” when it ended: w/ /usr/bin/dnf upgrade -y
CentOS-8 - Base 84 kB/s | 282 B 00:00
<span class='text-danger'>Error: Failed to download metadata for repo 'BaseOS': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried</span>
Often errors like this can be resolved by running `dnf makecache`
System update process has finished
Last edited by a moderator: