We cloned the database schema to a test instance.
Bamboo doesn't start afterwards because of the following error message:
FATAL [localhost-startStop-1] [BambooContainer] Cannot start bamboocom.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException: org.bouncycastle.crypto.InvalidCipherTextException: pad block corrupted
Editing the bamboo-mail.cfg.xml as described at https://confluence.atlassian.com/bamkb/upgrade-task-51602-fails-pad-block-corrupted-915474011.html doesn't help.
Any idea how can we start Bamboo?
Hi Andreas,
Thanks for reaching out to the Atlassian Community!
The "Pad block corrupted" error occurs when we're unable to correctly use the Bamboo Cipher.
The Cipher is split between the database and filesystem, and the filesystem part is stored in
<bamboo-home>/xml-data/configuration/cipher/cipher.key_0
When you cloned the Bamboo database, did you also copy the Bamboo Home directory? If you did not, please:
Please let us know if this works, or if you have any other questions!
Thanks,
Elias | Bamboo Support
Hi Elias,
Thanks a lot for your quick reply!
That fixed the issue, Bamboo was able to start up after I copied the cipher.key_x from the cloned system.
Cheers
Andreas
I'm glad we were able to help you get back up and running!
Could you please "Accept" this answer by clicking on the checkmark symbol near my first comment in case other users might find this helpful?
Thanks again for reaching out. If you have any other questions, please do not hesitate to ask!
@Ellie Z
What if we miss that cipher?
It looks like you're new here. Sign in or register to get started.