Comments (11)
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.
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.
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?
from fhir-works-on-aws-deployment.
What is your local path? Try running. echo $PATH also what is your sudo echo $PATH
from fhir-works-on-aws-deployment.
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.
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?
from fhir-works-on-aws-deployment.
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?
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
from fhir-works-on-aws-deployment.
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.
Ok I think I am getting closer -- since we are using
sudo
on the install script we must also usesudo
onaws configure
. So could you configure your aws cli by usingsudo 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.
and
Nothing was written to the Info_Output.yml file...
from fhir-works-on-aws-deployment.
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.
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)
- the redirect flows calls https://https:// HOT 1
- [Feature Request] Enable Cors.
- How to recover from manually deleting the API Gateway?
- Fetching last added Observation via rest API doesn't return the resultset on first call HOT 3
- Clinical Data HOT 26
- Deploying with pre-existing KMS keys? HOT 2
- XML format accept in API request HOT 2
- OpenSearch cost HOT 5
- [Bug] Patient created with tags appears in DB not being returned by GET to patient endpoint HOT 19
- [Bug] Unable to compile JP-CORE v1.1.0 Implementation Guides HOT 6
- [Misc] Unable to search AllergyIntolerance when adding patient parameter to URL HOT 6
- [Misc] Physical Deletion of Resources HOT 4
- [Misc] About Resource Updates HOT 7
- [Misc] About Encounter Resource Search HOT 6
- Update contention handling HOT 5
- About Conditional Create at fhir-works-on-aws HOT 6
- [Misc] Lambda Task timed out HOT 5
- [Bug] canonical search queries not working HOT 8
- how are you supposed to figure out the patientPickerEndpoint? HOT 2
- [Misc] validating a QuestionnaireResponse against questionnaire HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fhir-works-on-aws-deployment.