createInitialVolume.sh: 5: .: setAwsEnv.sh: not foun

Hi team

I am trying to configure my elastic instance to use EBS. I am getting an error when I try to run: "createInitialVolume.sh 100" as root user. I get the error message

"createInitialVolume.sh: 5: .: setAwsEnv.sh: not found"

 

the setAwsEnv.sh script is on the same location /opt/bamboo-elastic-agent/bin  

bamboo-elastic-agent getCustomData.sh runStartupScripts.sh
bamboo-elastic-agent.bat

mountEbsDevice.sh setAwsEnv.sh
bambooShellFunctions.sh

prepareInstanceForSaving.bat setupEbsSnapshot.sh
checkElasticAgent.sh prepareInstanceForSaving.sh setupEphemeralStorageStructure.sh
commonFunctions.sh restoreEbsSnapshotFromUserData.sh testIfStartedFromBamboo.sh
createInitialVolume.sh restoreSnapshot.sh unmountVolume.sh
generateSnapshot.sh rewarmEbsSnapshot.sh warmEbsSnapshot.sh

could you help us ? 

Thanks 

Francisco

 

1 answer

Hi team I needed to edit the /createInitialVolume.sh with ./setAwsEnv.sh location and now is able to find the file, but I am getting other errors 

 

createInitialVolume.sh: 10: createInitialVolume.sh: assertRootUser: not found

createInitialVolume.sh: 12: createInitialVolume.sh: assertAccessKeysPresent: not found

Creating volume with size 100 GB...
Missing argument for option:region (use -h for usage)
An error occurred, no volume created...

 

could you help us ?

Thanks 

Francisco 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

492 views 0 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you