Centos 7 evolve to Centos 9 turned bad

Hi i used almalinux’s evolve to upgrade my old Centos 7 server up to 9 but something went wrong on the last parts of the upgrade and it failed.
No gui login even if gui shows up but with a sad face.
I can ssh into it and everything seems to work except yum/dnf, it error’s out with:
ImportError: /usr/local/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29’ not found.

Here’s a snipet of the upgrade log if it helps.
Nov 02 00:42:02 localhost upgrade[1861]: Complete!
Nov 02 00:42:03 localhost upgrade[1861]: 2024-11-02 02:42:03.854 ERROR PID: 1159 leapp.workflow.RPMUpgrade.dnf_upgrade_transaction: Cannot obtain the dnf configuration
Nov 02 00:42:04 localhost upgrade[705]: ====> * scan_installed_target_kernel_version
Nov 02 00:42:04 localhost upgrade[705]: Scan for the version of the newly installed kernel
Nov 02 00:42:06 localhost upgrade[705]: ====> * check_leftover_packages
Nov 02 00:42:06 localhost upgrade[705]: Check if there are any left over packages from older RHEL version present after upgrade.
Nov 02 00:43:43 localhost upgrade[705]: ====> * prepare_python_workround
Nov 02 00:43:43 localhost upgrade[705]: Prepare environment to be able to run leapp with Python3 in initrd.
Nov 02 00:43:43 localhost upgrade[705]: ====> * update_grub_core
Nov 02 00:43:43 localhost upgrade[705]: Update GRUB2 core on legacy BIOS systems.
Nov 02 00:43:50 localhost upgrade[705]: ====> * pythonthreetmpworkaround
Nov 02 00:43:50 localhost upgrade[705]: Create the /usr/bin/python3 alternative if not exists.
Nov 02 00:43:50 localhost upgrade[705]: ====> * report_leftover_packages
Nov 02 00:43:50 localhost upgrade[705]: Collect messages about leftover RHEL packages from older major versions and generate a report.
Nov 02 00:43:52 localhost upgrade[705]: ============================================================
Nov 02 00:43:52 localhost upgrade[705]: ERRORS
Nov 02 00:43:52 localhost upgrade[705]: ============================================================
Nov 02 00:43:52 localhost upgrade[705]: 2024-11-02 02:42:03.897096 [ERROR] Actor: dnf_upgrade_transaction
Nov 02 00:43:52 localhost upgrade[705]: Message: Cannot obtain data about the DNF configuration
Nov 02 00:43:52 localhost upgrade[705]: Summary:
Nov 02 00:43:52 localhost upgrade[705]: Stdout:
Nov 02 00:43:52 localhost upgrade[705]: Stderr: Traceback (most recent call last):
Nov 02 00:43:52 localhost upgrade[705]: File “/usr/bin/dnf”, line 61, in
Nov 02 00:43:52 localhost upgrade[705]: from dnf.cli import main
Nov 02 00:43:52 localhost upgrade[705]: File “/usr/lib/python3.9/site-packages/dnf/init.py”, line 30, in
Nov 02 00:43:52 localhost upgrade[705]: import dnf.base
Nov 02 00:43:52 localhost upgrade[705]: File “/usr/lib/python3.9/site-packages/dnf/base.py”, line 29, in
Nov 02 00:43:52 localhost upgrade[705]: import libdnf.transaction
Nov 02 00:43:52 localhost upgrade[705]: File “/usr/lib64/python3.9/site-packages/libdnf/init.py”, line 11, in
Nov 02 00:43:52 localhost upgrade[705]: from . import common_types
Nov 02 00:43:52 localhost upgrade[705]: File “/usr/lib64/python3.9/site-packages/libdnf/common_types.py”, line 13, in
Nov 02 00:43:52 localhost upgrade[705]: from . import _common_types
Nov 02 00:43:52 localhost upgrade[705]: ImportError: /usr/local/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29’ not found (required by /usr/lib64/python3.9/site-packages/libdnf/_common_types.so)
Nov 02 00:43:52 localhost upgrade[705]: ============================================================
Nov 02 00:43:52 localhost upgrade[705]: END OF ERRORS
Nov 02 00:43:52 localhost upgrade[705]: ============================================================
Nov 02 00:43:52 localhost upgrade[705]: Debug output written to /var/log/leapp/leapp-upgrade.log
Nov 02 00:43:52 localhost upgrade[705]: ============================================================
Nov 02 00:43:52 localhost upgrade[705]: REPORT OVERVIEW
Nov 02 00:43:52 localhost upgrade[705]: ============================================================
Nov 02 00:43:52 localhost upgrade[705]: Following errors occurred and the upgrade cannot continue:
Nov 02 00:43:52 localhost upgrade[705]: 1. Actor: dnf_upgrade_transaction
Nov 02 00:43:52 localhost upgrade[705]: Message: Cannot obtain data about the DNF configuration
Nov 02 00:43:52 localhost upgrade[705]: HIGH and MEDIUM severity reports:
Nov 02 00:43:52 localhost upgrade[705]: 1. Remote root logins globally allowed using password
Nov 02 00:43:52 localhost upgrade[705]: 2. Packages not signed by Red Hat found on the system
Nov 02 00:43:52 localhost upgrade[705]: 3. Detected custom leapp actors or files.
Nov 02 00:43:52 localhost upgrade[705]: 4. Leapp detected loaded kernel drivers which are no longer maintained in RHEL 9.
Nov 02 00:43:52 localhost upgrade[705]: 5. Leapp detected a processor which is no longer maintained in RHEL 9.
Nov 02 00:43:52 localhost upgrade[705]: 6. Detected customized configuration for dynamic linker.
Nov 02 00:43:52 localhost upgrade[705]: 7. GRUB2 core will be automatically updated during the upgrade
Nov 02 00:43:52 localhost upgrade[705]: 8. Some RHEL packages have not been upgraded
Nov 02 00:43:52 localhost upgrade[705]: 9. MariaDB (mariadb-server) has been detected on your system
Nov 02 00:43:52 localhost upgrade[705]: Reports summary:
Nov 02 00:43:52 localhost upgrade[705]: Errors: 1
Nov 02 00:43:52 localhost upgrade[705]: Inhibitors: 0
Nov 02 00:43:52 localhost upgrade[705]: HIGH severity reports: 8
Nov 02 00:43:52 localhost upgrade[705]: MEDIUM severity reports: 1
Nov 02 00:43:52 localhost upgrade[705]: LOW severity reports: 2
Nov 02 00:43:52 localhost upgrade[705]: INFO severity reports: 4
Nov 02 00:43:52 localhost upgrade[705]: Before continuing, review the full report below for details about discovered problems and possible remediation instructions:
Nov 02 00:43:52 localhost upgrade[705]: A report has been generated at /var/log/leapp/leapp-report.txt
Nov 02 00:43:52 localhost upgrade[705]: A report has been generated at /var/log/leapp/leapp-report.json
Nov 02 00:43:52 localhost upgrade[705]: ============================================================
Nov 02 00:43:52 localhost upgrade[705]: END OF REPORT OVERVIEW
Nov 02 00:43:52 localhost upgrade[705]: ============================================================
Nov 02 00:43:52 localhost upgrade[705]: Answerfile has been generated at /var/log/leapp/answerfile

ELevate is maintained by the AlmaLinux project, I’d recommend asking in their support channels as they’re more likely to be able to help: