After recent Bamboo upgrade to 5.15.5 we are noticing automatic plan branch detection issues Edited

After a couple of days post our bamboo upgrade to 5.15.5 version, we are noticing few issues in bamboo. Branches added in Bitbucket are not automatically added in bamboo despite the auto plan branch enabled and manually adding them in bamboo is generating the following error:-

could not execute batch; SQL [insert into VCS_BRANCH (NAME, DETECTED_DELETION_DATE, CHAIN_ID, VCS_BRANCH_ID) values (?, ?, ?, ?)]; constraint [BAMBOOP.SYS_C006420]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute batch

This is occuring for most of the branches across most of the plans and never happened before. Apart from the upgrade nothing else has changed on Bitbucket or bamboo end.

We are also seeing similar errors at times when a plan build automatically gets triggered (due to triggers) or is run manually, wherein these are again the sql errors indicative of the fact that the db tables are not accepting the new results.

I wonder why the database is behaving so weird now, and does that mean we need a restart of the database or a restart of bamboo server.

Kindly advise as its blcoking our work to a great extent.

Any help here will be greatly appreciated.



1 answer

Possibly due to some issue with the post upgrade re-indexing, the plan branches would update in the database but never show up in UI and hence casuing those error messages.

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,068 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot