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

Version 2.6.3 fails to build in bootstrap.sh since it cannot reach dlm.mariadb.org #406

Open
adrianmarkperea opened this issue Nov 12, 2024 · 3 comments

Comments

@adrianmarkperea
Copy link

adrianmarkperea commented Nov 12, 2024

I noticed that for version 2.10.1 we use a different mirror. Not sure if this is an intermittent mariadb domain error or we'd have to use the updated mirror, similar v2.10.1

Screenshot 2024-11-12 at 3 18 12 PM
@adrianmarkperea adrianmarkperea changed the title Version 2.6.3 fails in bootstrap.sh since it cannot reach dlm.mariadb.org Version 2.6.3 fails to build in bootstrap.sh since it cannot reach dlm.mariadb.org Nov 12, 2024
@calvinkmts
Copy link

It seems the old url is not accessible anymore as seen from this discussion, and I found the archive link. where the mariadb-docker seems to be referencing their binary to.

this is what I've to make this work for now...

if [[ $(uname -p) == "aarch64" ]]; then
	wget https://archive.mariadb.org/yum/10.8.6/rhel7-aarch64/rpms/MariaDB-common-10.8.6-1.el7.centos.$(uname -p).rpm -P /mariadb_rpm
	wget https://archive.mariadb.org/yum/10.8.6/rhel7-aarch64/rpms/MariaDB-compat-10.8.6-1.el7.centos.$(uname -p).rpm -P /mariadb_rpm
	wget https://archive.mariadb.org/yum/10.8.6/rhel7-aarch64/rpms/MariaDB-shared-10.8.6-1.el7.centos.$(uname -p).rpm -P /mariadb_rpm
	wget https://archive.mariadb.org/yum/10.8.6/rhel7-aarch64/rpms/MariaDB-devel-10.8.6-1.el7.centos.$(uname -p).rpm -P /mariadb_rpm
else
	wget https://archive.mariadb.org/yum/10.8.6/rhel7-amd64/rpms/MariaDB-common-10.8.6-1.el7.centos.$(uname -p).rpm -P /mariadb_rpm
	wget https://archive.mariadb.org/yum/10.8.6/rhel7-amd64/rpms/MariaDB-compat-10.8.6-1.el7.centos.$(uname -p).rpm -P /mariadb_rpm
	wget https://archive.mariadb.org/yum/10.8.6/rhel7-amd64/rpms/MariaDB-shared-10.8.6-1.el7.centos.$(uname -p).rpm -P /mariadb_rpm
	wget https://archive.mariadb.org/yum/10.8.6/rhel7-amd64/rpms/MariaDB-devel-10.8.6-1.el7.centos.$(uname -p).rpm -P /mariadb_rpm
fi

My Commit

@VinayIndoria-Frmbl
Copy link

Faced the same issue today.. Used the archive link share in the above comment to update script/bootstrap.sh file

changed

if [[ $(uname -p) == "aarch64" ]]; then
  wget https://mirror.mariadb.org/yum/11.1/fedora38-aarch64/rpms/MariaDB-common-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
  wget https://mirror.mariadb.org/yum/11.1/fedora38-aarch64/rpms/MariaDB-shared-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
  wget https://mirror.mariadb.org/yum/11.1/fedora38-aarch64/rpms/MariaDB-devel-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
else
  wget https://mirror.mariadb.org/yum/11.1/fedora38-amd64/rpms/MariaDB-common-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
  wget https://mirror.mariadb.org/yum/11.1/fedora38-amd64/rpms/MariaDB-shared-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
  wget https://mirror.mariadb.org/yum/11.1/fedora38-amd64/rpms/MariaDB-devel-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
fi

to

if [[ $(uname -p) == "aarch64" ]]; then
  wget https://archive.mariadb.org/mariadb-11.1/yum/fedora38-aarch64/rpms/MariaDB-common-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
  wget https://archive.mariadb.org/mariadb-11.1/yum/fedora38-aarch64/rpms/MariaDB-shared-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
  wget https://archive.mariadb.org/mariadb-11.1/yum/fedora38-aarch64/rpms/MariaDB-devel-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
else
  wget https://archive.mariadb.org/mariadb-11.1/yum/fedora38-amd64/rpms/MariaDB-common-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
  wget https://archive.mariadb.org/mariadb-11.1/yum/fedora38-amd64/rpms/MariaDB-shared-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
  wget https://archive.mariadb.org/mariadb-11.1/yum/fedora38-amd64/rpms/MariaDB-devel-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
fi

thanks @calvinkmts for pointing me to the right direction!

@calvinkmts
Copy link

no problem @VinayIndoria-Frmbl, happy to help.

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

No branches or pull requests

3 participants