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 bamboo
com.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?
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
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!
Elias | Bamboo Support
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!
Elias | Bamboo Support
Hi @cnp rayan ,
Thanks for your question.
For security reasons, if the cipher is missing Bamboo will not start under default configuration.
There is a system parameter that can be added to Bamboo to disable the encryption/decryption.
With this added Bamboo can start, but any data that had been encrypted previously will not be available. Depending on your version of Bamboo, this could include variables, Repository configurations, secrets, passwords, and more.
If you can, I would strongly encourage you to contact Bamboo Support for assistance with a restore.
Elias | Former Bamboo Support Engineer
G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...
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