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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

43 views 0 5
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