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

V2.6.3 - MariaDB failing to install #408

Open
wants to merge 1 commit into
base: v2.6.3
Choose a base branch
from

Conversation

calvinkmts
Copy link

fix wrong MariaDB binary url

@mayushko26
Copy link
Contributor

Can you elaborate on the error that you were seeing that motivated this change?
Also, a minor nitpick; we should parametrize the url's by uname instead of hard-coding the architecture.

@calvinkmts
Copy link
Author

Hi @mayushko26,

the issue that motivates the change came from this issue, as of 2 weeks ago while I was setting up the repository on my local machine, I cannot build the docker container and downloading the binary for mariadb directly from the dlm.mariadb.com also results in connection time out.

#406

which I check as of today I can build the container image just fine using the dlm.mariadb.com, so the issue seems intermittent.

What do you think? is moving the source from the dlm.mariadb.com to archive.mariadb.org a good idea? as I have found another thread (attached on the issues link that also has problems with the dlm.mariadb.com, as for different reason)

@Falimonda
Copy link

This ticket is related: #419

While that may have resolved it for some architectures, I believe it remains broken for others.

A workaround is to comment out all sections mentioning mariadb in bootstrap.sh, but I expect you'll be out of luck if you need apache-airflow-providers-mysql.

Error

182.0 + sudo mkdir mariadb_rpm
182.0 + sudo chown airflow /mariadb_rpm
182.0 ++ uname -p
182.0 + [[ x86_64 == \a\a\r\c\h\6\4 ]]
182.0 ++ uname -p
182.0 + wget https://mirror.mariadb.org/yum/11.4/fedora38-amd64/rpms/MariaDB-common-11.4.2-1.fc38.x86_64.rpm -P /mariadb_rpm
182.0 --2024-12-05 20:58:27--  https://mirror.mariadb.org/yum/11.4/fedora38-amd64/rpms/MariaDB-common-11.4.2-1.fc38.x86_64.rpm
182.1 Resolving mirror.mariadb.org (mirror.mariadb.org)... 162.55.42.214, 2a01:4f8:1c17:e53d::1
182.3 Connecting to mirror.mariadb.org (mirror.mariadb.org)|162.55.42.214|:443... connected.
182.7 HTTP request sent, awaiting response... 302 Found
182.9 Location: https://mirror.nodesdirect.com/mariadb/mariadb-11.4.4/yum/fedora/38/x86_64/rpms/MariaDB-common-11.4.2-1.fc38.x86_64.rpm [following]
182.9 --2024-12-05 20:58:28--  https://mirror.nodesdirect.com/mariadb/mariadb-11.4.4/yum/fedora/38/x86_64/rpms/MariaDB-common-11.4.2-1.fc38.x86_64.rpm
182.9 Resolving mirror.nodesdirect.com (mirror.nodesdirect.com)... 23.92.92.94
183.5 Connecting to mirror.nodesdirect.com (mirror.nodesdirect.com)|23.92.92.94|:443... connected.
204.5 GnuTLS: The TLS connection was non-properly terminated.
204.5 Unable to establish SSL connection.
------
Dockerfile:35
--------------------
  33 |
  34 |     RUN chmod u+x /systemlibs.sh && /systemlibs.sh
  35 | >>> RUN chmod u+x /bootstrap.sh && /bootstrap.sh
  36 |     RUN chmod u+x /generate_key.sh && /generate_key.sh
  37 |     RUN chmod u+x /run-startup.sh
--------------------
ERROR: failed to solve: process "/bin/sh -c chmod u+x /bootstrap.sh && /bootstrap.sh" did not complete successfully: exit code: 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants