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

CLI installation script fails on Amazon Linux 2 #322

Open
rannn505 opened this issue Dec 4, 2023 · 7 comments
Open

CLI installation script fails on Amazon Linux 2 #322

rannn505 opened this issue Dec 4, 2023 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@rannn505
Copy link
Contributor

rannn505 commented Dec 4, 2023

Current Behavior

Configu CLI installation script (curl https://cli.configu.com/install.sh | sh) is failing on Amazon Linux 2 (EC2, Bastion machine)

Expected Behavior

Installation script should work on AL2

To Reproduce

  1. create a machine with Amazon Linux 2 (ec2 machine)
  2. run cli installation script
  3. see error

Context

image
@rannn505 rannn505 added the bug Something isn't working label Dec 4, 2023
@Sadaf-A
Copy link
Contributor

Sadaf-A commented Dec 25, 2023

Hey @rannn505 ! I would like to work on this please assign

@rannn505
Copy link
Contributor Author

@Sadaf-A All yours brother :)

Do you have access to any aws account in order to pick up an ec2 machine with al2?
DA, if you produce a machine in the micro tier, it should be included in the free aws offer.

In addition, I would be happy if in your test you could produce another machine with a newer Amazon Linux (I read that version 2023 was released) and check whether the script works on it or not on this occasion.

Thanks in advance.

@Sadaf-A
Copy link
Contributor

Sadaf-A commented Dec 25, 2023

@Sadaf-A All yours brother :)

Do you have access to any aws account in order to pick up an ec2 machine with al2?
DA, if you produce a machine in the micro tier, it should be included in the free aws offer.

In addition, I would be happy if in your test you could produce another machine with a newer Amazon Linux (I read that version 2023 was released) and check whether the script works on it or not on this occasion.

Thanks in advance.

yes, I have an aws account I will let you know about any progress

@Sadaf-A
Copy link
Contributor

Sadaf-A commented Dec 26, 2023

@rannn505 the error was resolved however i ran into another error that said node is not installed we can make our own AMI with node pre installed to resolve this issue or we could add a user data script

@Sadaf-A
Copy link
Contributor

Sadaf-A commented Dec 26, 2023

/usr/local/lib/configu/bin/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /usr/local/lib/configu/bin/node)
/usr/local/lib/configu/bin/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /usr/local/lib/configu/bin/node)
Configu CLI installed to /usr/local/bin/configu
node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)

I'm getting this output finally after installing node

@rannn505
Copy link
Contributor Author

@Sadaf-A this is very strange as the cli is compiled and shipped with node.js binary in it. can you try installing node.js 20.10 on the AL2 machine and let me know if it works?
also, when you said "resolved", what do you mean?

@rannn505 the error was resolved however i ran into another error that said node is not installed we can make our own AMI with node pre installed to resolve this issue or we could add a user data script

@Sadaf-A
Copy link
Contributor

Sadaf-A commented Dec 26, 2023

@Sadaf-A this is very strange as the cli is compiled and shipped with node.js binary in it. can you try installing node.js 20.10 on the AL2 machine and let me know if it works? also, when you said "resolved", what do you mean?

@rannn505 the error was resolved however i ran into another error that said node is not installed we can make our own AMI with node pre installed to resolve this issue or we could add a user data script

what I meant by error being resolved was that the Your path is missing usr/local/bin, you need to add this to use this installer error is not coming anymore

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