Symptoms

The cPanel "upcp" script is reporting issues with the updates, we can see the following entries in the upcp  log file "/var/cpanel/updatelogs/last":

...
[2025-09-05 05:01:04 +0800]      [/usr/local/cpanel/scripts/update-packages] Err:204 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu jammy/main amd64 mariadb-server all 1:10.6.23+maria~ubu2204
[2025-09-05 05:01:04 +0800]      [/usr/local/cpanel/scripts/update-packages]   404  Not Found [IP: 104.17.191.14 443]
...

 

The Configured MariaDB repository in this case is:

# cat /etc/apt/sources.list.d/mariadb.list
deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu jammy main
deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu jammy main/debug
#

 

Description

This behavior is because of a non-responsive third-party MariaDB repository/mirror.

We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-49089. Follow this article to receive an email notification when a solution is published in the product. 

 

Workaround

  1. Backup the current configuration file "/etc/apt/sources.list.d/mariadb.list".
  2. Visit the following official MariaDB Page:
    https://mariadb.org/download/?t=repo-config
  3. Select the correct Operating System.
  4. Select the correct MariaDB version.
  5. Select the closest Mirror ot the server or go with the default selection.
  6. Follow the instructions to import the Key and modify the file "/etc/apt/sources.list.d/mariadb.list" with the new configurations.