Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

671 views 1 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you