Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MariaDB update fails in conversion stage #387

Open
corneboele opened this issue Nov 23, 2024 · 2 comments
Open

MariaDB update fails in conversion stage #387

corneboele opened this issue Nov 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@corneboele
Copy link

Hi,

While trying to upgrade CentOS 7 to AlmaLinux 8, I am encountering the following error during the conversion stage:

2024-11-23 07:10:57.188 DEBUG    PID: 1193 leapp.workflow.RPMUpgrade.dnf_upgrade_transaction:  Trying to start service mariadb... done
2024-11-23 07:10:57.209 DEBUG    PID: 1193 leapp.workflow.RPMUpgrade.dnf_upgrade_transaction:  Trying to establish test connection... /usr/bin/mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead
2024-11-23 07:10:57.225 DEBUG    PID: 1193 leapp.workflow.RPMUpgrade.dnf_upgrade_transaction: ERROR 2002 (HY000): Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2)

I think there is nothing special about my MariaDB installation. Recently I upgraded it using the Plesk UI.

Attached you will find the feedback file.

Any idea what I can do to resolve or to check?

Thank you for your support!

centos2alma_feedback.zip

@corneboele corneboele added the bug Something isn't working label Nov 23, 2024
@SandakovMM
Copy link
Collaborator

Hi @corneboele,
Could you try enabling the MariaDB service manually and then provide the journal logs afterward?

@corneboele
Copy link
Author

I wasn't sure what went wrong earlier, as I had tried about four times before and encountered the same error each time. To get the journal logs I tried another time. This time, however, everything worked and the full conversion succeeded. I followed the same steps as before.

The only difference this time was that it didn't attempt to upgrade from MariaDB 10.11 to 11.5, and it stayed on version 10.11. I think that's fine for now.

So, case closed. Thanks for your support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants