Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

MariaDB Upgrade fails

Đang mở
#69 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
mariadb, python
Lĩnh vực
databases

Hướng nghiên cứu

Start with actions/mariadb.py, especially lines 172-183, and inspect how the conversion handles the installed CL MariaDB version and the alma-mariadb repository. Use the supplied DNF transaction errors and feedback archive to determine why the unavailable 10.1 repository is selected; done means the conversion passes its transaction check for this MariaDB setup.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

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

Ngôn ngữ chính
Python
Star
7
Fork
5
Merge trung bình
11 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của plesk/cloudlinux7to8

Tất cả issue của plesk/cloudlinux7to8

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.