Skip to content

MariaDB Upgrade fails #69

@m-witt

Description

@m-witt

Describe the bug
Upgrade fails to pass DNF transaction checks due to "Alma-MariaDB" 10.1 repository being unavailable :

2025-01-27 00:37:12,658 - INFO - stdout: Errors during downloading metadata for repository 'alma-mariadb':
2025-01-27 00:37:12,658 - INFO - stdout:   - Status code: 404 for http://yum.mariadb.org/10.1/rhel8-amd64/repodata/repomd.xml (IP: 162.55.42.214)
2025-01-27 00:37:12,658 - INFO - stdout: Error: Failed to download metadata for repo 'alma-mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
2025-01-27 00:37:12,658 - INFO - stdout: 
2025-01-27 00:37:12,658 - INFO - stdout: 
2025-01-27 00:37:12,658 - INFO - stdout: ============================================================
2025-01-27 00:37:12,658 - INFO - stdout:                        END OF ERRORS                        
2025-01-27 00:37:12,658 - INFO - stdout: ============================================================
2025-01-27 00:37:12,658 - INFO - stdout: 
2025-01-27 00:37:12,658 - INFO - stdout: Debug output written to /var/log/leapp/leapp-preupgrade.log
2025-01-27 00:37:12,658 - INFO - stdout: 
2025-01-27 00:37:12,658 - INFO - stdout: ============================================================
2025-01-27 00:37:12,658 - INFO - stdout:                       REPORT OVERVIEW                       
2025-01-27 00:37:12,658 - INFO - stdout: ============================================================
2025-01-27 00:37:12,658 - INFO - stdout: 
2025-01-27 00:37:12,658 - INFO - stdout: Following errors occurred and the upgrade cannot continue:
2025-01-27 00:37:12,658 - INFO - stdout:     1. Actor: dnf_transaction_check
2025-01-27 00:37:12,659 - INFO - stdout:        Message: DNF execution failed with non zero exit code.

Oldest available Version is 10.4 : https://mirror.mariadb.org/yum/

System has a MariaDB Version from CL and alma-mariadb probably shouldn't be used

[root@XYZ:~] # rpm -qa | grep -i mariadb | grep server
cl-MariaDB102-server-10.2.44-5.el7.cloudlinux.x86_64

Right before starting the conversion process the system was upgraded from MDB10.1 to MDB 10.2 due to the version restrictions here

Although MariaDB 10.1 with governor was supported earlier (before update 10.1 -> 10.2) :

[root@XYZ:~] # /usr/share/lve/dbgovernor/mysqlgovernor.py --status
The db_governor service is correctly configured

[root@XYZ:~] # plesk db "select version();"
+-------------------------+
| version()               |
+-------------------------+
| 10.1.48-MariaDB-cll-lve |
+-------------------------+

Feedback archive

cloudlinux7to8_feedback.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions