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

Bamboo: Unable to read cipher data for 0

Paul Moors March 29, 2023

When I try to create a repository link to Bitbucket I get the message as mentioned in the subject.

The logging states:

  • [InstanceSecretStorage] Database part of instance key is unavailable
  • [InstanceSecretStorage] Cipher initialisation vector is unavailable

Additionally the file bamboo-home\configuration\cipher\cipher.key_0 is also empty

Running the following query 

SELECT * FROM BANDANA WHERE BANDANA_KEY LIKE '%cipher%';

returns 0 records.

How can I solve this issue?

Is it an option to do the following?

1. stop bamboo service
2. remove directory bamboo-home\configuration\cipher
3. start bamboo service again


2 answers

2 accepted

1 vote
Answer accepted
Paul Moors April 6, 2023

This solved the issue:

1. Stop bamboo service

2. Remove bamboo-home\configuration\cipher folder

3. Restart bamboo service

4. Create a new repository link; the cipher folder with content is created automatically

Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 8, 2023

Hello @Paul Moors,

Good job on finding a workaround for that issue!

I just wanted to highlight that, though that works for any secrets (repositories) added after the cipher file was regenerated, this may cause other issues with customers that rely on secrets that were previously stored in Bamboo. For that we recommend following the recovery steps on this page:

Thank you,

Eduardo Alvarenga
Atlassian Support APAC

Like Steffen Opel _Utoolity_ likes this
1 vote
Answer accepted
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 29, 2023

Hello @Paul Moors

You may have a broken cipher file or configuration. Please check the following KB article for more information:

Please read the whole KB article before taking any action, as it may contain valuable properties that you can check on your Bamboo instance looking for a root cause.

Thank you,

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events