Symptoms
When attempting to install cPanel you observe a failure due to the MariaDB repository being unavailable.
CONFIG_TEXT: Status code: 404 for https://archive.mariadb.org/mariadb-10.11/yum/centos/8/x86_64/repodata/repomd.xml
Cause
This behavior is caused by the baseurls for the upstream MariaDB repositories being renamed, our templates that generate the MariaDB repository files will need to be updated to reflect the new baseurl paths for MariaDB. We have opened an internal case with our developers with case ID CPANEL-56109 to review this behavior further.
Resolution
At this time the best workaround is to modify the baseurl in the generated repository file on the cPanel server, and complete the database install manually:
# sed -i.bk "/baseurl/s|centos|almalinux|g" /etc/yum.repos.d/MariaDB106.repo && echo -e 'module_hotfixes=1' >> /etc/yum.repos.d/MariaDB106.repo
Then install the MariaDB packages manually for the version in question
# dnf install MariaDB-client MariaDB-common MariaDB-devel MariaDB-shared MariaDB-server
Afterward, if the EA4 portion of the install also failed move to the article below and complete the steps within to repair the failed cPanel installation:
# sed -i.bk "/baseurl/s|centos|almalinux|g" /etc/yum.repos.d/MariaDB1011.repo && echo -e 'module_hotfixes=1' >> /etc/yum.repos.d/MariaDB1011.repo
Then install the MariaDB packages manually for the version in question
# dnf install MariaDB-client MariaDB-common MariaDB-devel MariaDB-shared MariaDB-server
Afterward, if the EA4 portion of the install also failed move to the article below and complete the steps within to repair the failed cPanel installation:
# sed -i.bk "/baseurl/s|centos|almalinux|g" /etc/yum.repos.d/MariaDB114.repo && echo -e 'module_hotfixes=1' >> /etc/yum.repos.d/MariaDB114.repo
Then install the MariaDB packages manually for the version in question
# dnf install MariaDB-client MariaDB-common MariaDB-devel MariaDB-shared MariaDB-server
Afterward, if the EA4 portion of the install also failed move to the article below and complete the steps within to repair the failed cPanel installation:
# sed -i.bk "/baseurl/s|centos|almalinux|g" /etc/yum.repos.d/MariaDB118.repo && echo -e 'module_hotfixes=1' >> /etc/yum.repos.d/MariaDB118.repo
Then install the MariaDB packages manually for the version in question
# dnf install MariaDB-client MariaDB-common MariaDB-devel MariaDB-shared MariaDB-server
Afterward, if the EA4 portion of the install also failed move to the article below and complete the steps within to repair the failed cPanel installation:
Comments
0 comments
Article is closed for comments.