Welcome to Centmin Mod Community
Become a Member

Stable Branch fix PHP upgrades failing when the MariaDB yum repo is unreachable in …

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 23, 2026 at 8:54 AM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,036
    12,571
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,224
    Local Time:
    5:13 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix PHP upgrades failing when the MariaDB yum repo is unreachable in 132.00stable


    A broken, blocked or EOL MariaDB yum repo made yum/dnf calls in centmin.sh
    menu 5 fail with "Failed to download metadata for repo 'mariadb'", which
    aborted PHP upgrades even though PHP builds never install packages from
    that repo. Reported in https://community.centminmod.com/threads/33174/

    Changes:
    - inc/php_upgrade.inc: the upgrade body moves to php_upgrade_main() and
    funct_phpupgrade makes yum and dnf skip the mariadb repo via
    --disablerepo=mariadb while it runs, removing the wrappers when it returns
    - tools/php-libs-versionlock.sh: skip the mariadb repo for the versionlock
    plugin install and the PHP library update

    Continue reading...

    132.00stable branch