Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Running bamboo as service causes cipher errors

I'm doing the following on a WIN 10 PRO laptop.

When trying to create an initial linked repo I'm getting ciphers errors like the following:

 

Create repository

An unexpected error has occurred

Unable to read cipher data for 0

 

If I delete the cipher directory  and try it again I get

java.nio.file.AccessDeniedException: D:\Atlassian\Bamboo-home\xml-data\configuration\cipher\cipher.key_0

 

I've tried changing the  service "logon as" bamboo user account to a specific admin user

without success.

 

Anyone had this issue and resolved it?

TS

 

1 answer

0 votes

Hi @timothy schmidt

Once the cipher key is removed for the first time, the installation is broken. Bamboo has two encryption keys to run the data encryption when necessary, one is in the filesystem and the other one is in the DB. Both are connected and if you remove one the other is useless.

Usually, the issues with the filesystem key are related to permission or missing key (due to a failed upgrade). In your case, I suppose it was related to permissions.

I suggest you the following steps to move on. We have two options:

Option 1 - You can restore the key

  1. Stop the Bamboo process/service.
  2. Make sure a user capable of login in Windows is assigned to the Bamboo service as per Running Bamboo as a Windows service as the local user.
  3. Make sure the Cipher file is restored.
  4. Make sure the user running the service is the owner of all folders and files inside <Bamboo_Install> and <Bamboo_Home> folders. That will include the cipher.key_0 files as well.
  5. Start the Bamboo process/service.

Option 2 - You cannot restore the key

  1. Stop the Bamboo process/service.
  2. Completely remove the content on <Bamboo_Home> directory.
  3. Recycle the DB used for your last installation (Drop and create it again)
  4. Make sure a user capable of login in Windows is assigned to the Bamboo service as per Running Bamboo as a Windows service as the local user.
  5. Make sure the user running the service is the owner of all folders and files inside <Bamboo_Install> folder and the empty <Bamboo_Home> folder. 
  6. Start the process/service and follow the installation again.

⚠️Please make sure you install Bamboo home in a native Windows storage, not in a remotely shared one. Also, please check if your filesystem has any special permission overwrite rule that will change the permission of your files right after you adjust them (depending on the folder you are editing).

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

191 views 4 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