codership / galera-manager-support

Galera Manager Support Repository
8 stars 2 forks source link

Problem installa galera manager on Ubuntu bionic #18

Closed ptrujillo1976 closed 2 years ago

ptrujillo1976 commented 2 years ago

I have problem installing galera mamanger on Ubuntu bionic. When execute installer I have this error: ERRO[0043] command failed (stepName=install_curl, commandId=8, commandType=ExecCommand): exit status 100 image When run "apt-get update" this is the error: Err:4 https://repo.galera-manager.com/nexus/repository/galera-manager-release-1804 bionic Release Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 134.209.245.63 443] error_apt Please help me.

denisgcm commented 2 years ago

Can you please try apt-get update & apt-get upgrade before running gm-installer? The problem may happen in older distributions because of this issue: https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/

ptrujillo1976 commented 2 years ago

Can you please try apt-get update & apt-get upgrade before running gm-installer? The problem may happen in older distributions because of this issue: https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/

Thank for reply.

I can't run "apt-get upgrade" because I have other systems installed on the server that would stop working. Is there a possibility to install gm manually?

denisgcm commented 2 years ago

In this case you need to update at least the certificates. Try running update-ca-certificates. Please let me let me know if it helped.

ptrujillo1976 commented 2 years ago

the error still persists: Err:10 https://repo.galera-manager.com/nexus/repository/galera-manager-release-1804 bionic Release Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 134.209.245.63 443]

denisgcm commented 2 years ago

You can try bypassing the security mechanism:

touch /etc/apt/apt.conf.d/99verify-peer.conf
echo >> /etc/apt/apt.conf.d/99verify-peer.conf "Acquire { https::Verify-Peer false }"

And retry the installation. Note, this will effectively turn off https peer verification, which might make apt vulnerable for the MitM attacks.

ptrujillo1976 commented 2 years ago

Thank denisgcm for your help. I decided install GM on Ubuntu 20 and there I have had no problems.