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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,957
Community Members
 
Community Events
184
Community Groups

Bamboo: Unable to read cipher data for 0

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

0 votes
Answer accepted

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.
Apr 08, 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

0 votes
Answer accepted
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 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