Get the most out of your Centmin Mod LEMP stack
Become a Member

MariaDB MariaDB upgrade to 10.4 failed

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, Sep 1, 2025.

  1. pamamolf

    pamamolf Well-Known Member

    4,125
    429
    83
    May 31, 2014
    Ratings:
    +841
    Local Time:
    3:20 AM
    Nginx-1.29.x
    MariaDB 10.6.x
    Hi,

    I am on latest centminmod beta and i tried to upgrade from the menu from 10.3 to 10.4 and i got at the end:

    Code:
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    and

    Code:
    Redirecting to /bin/systemctl start mysql.service
    Failed to start mysql.service: Unit not found.
    There are also many broken references on repo urls on the upgrade menus i think like?

    Code:
    https://repo.ius.io/7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
    The server is on Centos 7.

    When i tried to install it manually i got:


    Code:
    extras                                                                                                                                                                                                           | 3.6 kB  00:00:00   
    https://repo.ius.io/7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
    Trying other mirror.
    To address this issue please refer to the below wiki article
    
    https://wiki.centos.org/yum-errors
    
    If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
    
    
    
     One of the configured repositories failed (IUS for Enterprise Linux 7 - x86_64),
     and yum doesn't have enough cached data to continue. At this point the only
     safe thing yum can do is fail. There are a few ways to work "fix" this:
    
         1. Contact the upstream for the repository and get them to fix the problem.
    
         2. Reconfigure the baseurl/etc. for the repository, to point to a working
            upstream. This is most often useful if you are using a newer
            distribution release than is supported by the repository (and the
            packages for the previous distribution release still work).
    
         3. Run the command with the repository temporarily disabled
                yum --disablerepo=ius ...
    
         4. Disable the repository permanently, so yum won't use it by default. Yum
            will then just ignore the repository until you permanently enable it
            again or use --enablerepo for temporary usage:
    
                yum-config-manager --disable ius
            or
                subscription-manager repos --disable=ius
    
         5. Configure the failing repository to be skipped, if it is unavailable.
            Note that yum will try to contact the repo. when it runs most commands,
            so will have to try and fail each time (and thus. yum will be be much
            slower). If it is a very temporary problem though, this is often a nice
            compromise:
    
                yum-config-manager --save --setopt=ius.skip_if_unavailable=true
    
    failure: repodata/repomd.xml from ius: [Errno 256] No more mirrors to try.
    https://repo.ius.io/7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
    Not sure what i am getting from this repo and if needed...

     
    Last edited: Sep 1, 2025
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:20 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    IUS repo was for some optional YUM repo packages for newer versions that CentOS 7 did not have at the time for some addons/

    You can disable it for now
    Code (Text):
    yum-config-manager --disable ius


    What version of Centmin Mod is reported output for command
    Code (Text):
    cminfo versions 
     
  3. pamamolf

    pamamolf Well-Known Member

    4,125
    429
    83
    May 31, 2014
    Ratings:
    +841
    Local Time:
    3:20 AM
    Nginx-1.29.x
    MariaDB 10.6.x
    Code:
    1st:
    123.09beta01.b426 #Sun Feb  9 11:48:00 EST 2020
    ..
    last 10:
    140.00beta01.b242 #Thu Aug 28 21:16:51 UTC 2025
    140.00beta01.b245 #Sun Aug 31 20:21:59 UTC 2025
    140.00beta01.b245 #Sun Aug 31 20:55:19 UTC 2025
    140.00beta01.b245 #Sun Aug 31 20:59:26 UTC 2025
    140.00beta01.b245 #Sun Aug 31 21:01:55 UTC 2025
    140.00beta01.b245 #Sun Aug 31 21:04:47 UTC 2025
    140.00beta01.b245 #Sun Aug 31 21:14:23 UTC 2025
    140.00beta01.b245 #Sun Aug 31 21:58:11 UTC 2025
    140.00beta01.b245 #Sun Aug 31 22:00:18 UTC 2025
    140.00beta01.b245 #Sun Aug 31 22:51:33 UTC 2025
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:20 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    FYI, just updated 131.00stable, 132.00stable, 140.00beta01 with fix
    • for CentOS 6/7 some newer YUM packages for Python 2.7/3.x at the time required using optional addon scripts that leveraged IUS YUM 3rd party repo which were at repo.ius.io but they are no longer maintained and archived at vault.ius.io. This update adds auto update for /etc/yum.repos.d/ius.repo YUM repo file on CentOS 6/7 versions to correctly switch YUM repo url from repo.ius.io to vault.ius.repo
    • does not apply to AlmaLinux/Rocky Linux 8/9
    • to update run cmupdate, and run and exit centmin.sh once
     
  5. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:20 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    FYI, 2nd update was made for typo fix, so if running centmin.sh gives very verbose output, re-run cmupdate and run and exit centmin.sh once :)