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

Next challenges

Recent achievements


  • Give kudos
  • My kudos


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

not able to link repository to bamboo, Unable to read cipher data for 0 Edited

Create repository

An unexpected error has occurred

Unable to read cipher data for 0


2019-04-03 10:11:16,159 INFO [http-nio-8085-exec-7] [AccessLogFilter] s.negi POST http://localhost:8085/admin/createLinkedRepository.action 585600kb
2019-04-03 10:11:16,418 FATAL [http-nio-8085-exec-7] [InstanceSecretStorage] Filesystem part of instance key is unavailable
2019-04-03 10:11:16,418 ERROR [http-nio-8085-exec-7] [BambooActionSupport] java.lang.IllegalArgumentException: Unable to read cipher data for 0
java.lang.IllegalArgumentException: Unable to read cipher data for 0
at com.atlassian.bamboo.crypto.instance.InstanceSecretStorage.readKeyAndIv(
at com.atlassian.bamboo.crypto.instance.InstanceSecretStorage.loadCipherData(
at com.atlassian.bamboo.crypto.instance.InstanceSecretStorage.getCipherData(
at com.atlassian.bamboo.crypto.instance.InstanceSecretStorage.getOrCreateCipherData(
at com.atlassian.bamboo.crypto.instance.InstanceSecretStorage.getCipherData(
at com.atlassian.bamboo.crypto.instance.InstanceSecretStorage.getKeyAndIv(
at com.atlassian.bamboo.crypto.instance.InstanceCipherProvider.getKeyAndIv(
at com.atlassian.bamboo.crypto.instance.InstanceCipherProvider.getCipher(
at com.atlassian.bamboo.crypto.instance.InstanceCipherProvider.getEncryptor(
at com.atlassian.bamboo.crypto.instance.SecretEncryptionServiceInternalImpl.encrypt(
at com.atlassian.bamboo.crypto.instance.SecretEncryptionServiceInternalImpl.encrypt(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(


1 answer

0 votes
Foong Atlassian Team Apr 15, 2019

Is Bamboo upgraded from the older version? What is the previous Bamboo version?

The error means that the cipher key file is missing.


I get the same error while linking a plan to a repository :

[BambooActionSupport] java.lang.IllegalArgumentException: Unable to read cipher data for 0

- I am able to create a project/plan without linking to a repository.
- Not able creating the link between Bamboo and BitBucketcloud

Bamboo is running by the same user who has  drwx access on the 'cipher' directory and rw access on the file cipher.key_0

Bamboo version : 6.9.1 build 60910 (Centos 7)

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked in Jira Service Desk

Calling all Insight users, we need your help!

Hello Insight users,  As part of our (Mindville's) acquisition by Atlassian, our training team is looking to build some new Insight training materials. It would really helpful if you can ...

231 views 3 5
View question

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