Coder Social home page Coder Social logo

Comments (11)

rsmayda avatar rsmayda commented on August 28, 2024

Lets see how are you running the install.sh script?

chmod +x ./scripts/install.sh
sudo ./scripts/install.sh

If that doesn't work I am thinking your sudo/root user doesn't have access to your path. Could you try:

sudo "PATH=$PATH" -E ./scripts/install.sh

from fhir-works-on-aws-deployment.

jcarta avatar jcarta commented on August 28, 2024

Here is the output when I run sudo ./scripts/install.sh

AWS CLI cannot be found. Please install or check your PATH. Aborting.

When I run sudo "PATH=$PATH" -E ./scripts/install.sh I get the same error as before.

I will note that I am using AWS CLI version 2. Not sure if that matters or not. Here is the output of aws --version
aws-cli/2.0.47 Python/3.7.3 Linux/4.18.0-193.el8.x86_64 exe/x86_64.rhel.8

from fhir-works-on-aws-deployment.

nguyen102 avatar nguyen102 commented on August 28, 2024

We've tested the install script with an Amazon Linux 2 instance. Would you be able to try running the code on a Linux 2 instance instead?
Screen Shot 2020-09-10 at 7 13 26 PM

from fhir-works-on-aws-deployment.

rsmayda avatar rsmayda commented on August 28, 2024

What is your local path? Try running. echo $PATH also what is your sudo echo $PATH

from fhir-works-on-aws-deployment.

jcarta avatar jcarta commented on August 28, 2024

What is your local path? Try running. echo $PATH also what is your sudo echo $PATH

I just opened up a new instance (Amazon Linux 2). Here is the aws --version it came with:
aws-cli/1.18.107 Python/2.7.18 Linux/4.14.193-149.317.amzn2.x86_64 botocore/1.17.31

My PATH (both sudo and non-sudo) is /usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/ec2-user/.local/bin:/home/ec2-user/bin

from fhir-works-on-aws-deployment.

jcarta avatar jcarta commented on August 28, 2024

We've tested the install script with an Amazon Linux 2 instance. Would you be able to try running the code on a Linux 2 instance instead?
Screen Shot 2020-09-10 at 7 13 26 PM

from fhir-works-on-aws-deployment.

jcarta avatar jcarta commented on August 28, 2024

We've tested the install script with an Amazon Linux 2 instance. Would you be able to try running the code on a Linux 2 instance instead?
Screen Shot 2020-09-10 at 7 13 26 PM

I still got the same error. Though this time my IAM console registered activity with my Access Key.
The policy attached to this user is: AdministratorAccess

image

from fhir-works-on-aws-deployment.

rsmayda avatar rsmayda commented on August 28, 2024

Ok I think I am getting closer -- since we are using sudo on the install script we must also use sudo on aws configure. So could you configure your aws cli by using sudo aws configure?

I tried that on my side and it worked

from fhir-works-on-aws-deployment.

jcarta avatar jcarta commented on August 28, 2024

Ok I think I am getting closer -- since we are using sudo on the install script we must also use sudo on aws configure. So could you configure your aws cli by using sudo aws configure?

I tried that on my side and it worked

Looks like adding sudo in front of aws configure did get me past the credentials issue. Thank you!

The script did run but failed on a few other occasions; both out-of-memory exceptions.

image

and

image

Nothing was written to the Info_Output.yml file...

from fhir-works-on-aws-deployment.

rsmayda avatar rsmayda commented on August 28, 2024

Good glad to hear we got through the first hurdle ;)

Next for Memory -- as describe in the Prereqs (https://github.com/awslabs/fhir-works-on-aws-deployment/blob/mainline/INSTALL.md#prerequisites) we recommend having at least 4 GB of RAM. Can you confirm what your RAM settings are?

from fhir-works-on-aws-deployment.

jcarta avatar jcarta commented on August 28, 2024

Good glad to hear we got through the first hurdle ;)

Next for Memory -- as describe in the Prereqs (https://github.com/awslabs/fhir-works-on-aws-deployment/blob/mainline/INSTALL.md#prerequisites) we recommend having at least 4 GB of RAM. Can you confirm what your RAM settings are?

I switched from a t2.micro instance to a t2.medium instance and it worked!
Thank you to the AWS team for the quick responses!

from fhir-works-on-aws-deployment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.