Bamboo losing access to Stash repositories?

I have bamboo linked to stash. I have several linked repositories. Occasionally and for no apparent reason I get the following error.

StashRepoError.png

This happensd on different repositories at different times. Saving the repository configuration works.

What are the possible causes of these errors? Why are they random and what to do about them?

3 answers

Also the plans trigger is set to Stash trigger om changes. Why would this happen when there were no changes to the repository? There is no polling set up...

We noticed this when either Stash, or JIRA  for whatever reason crashed unexpectedly. Even though we would save the details again is the error message suggested, the only way to resolve this error was to restart the Bamboo instance.

Even though we were adding new linked repos (and plan specific repos) the error would still appear there. As such we were left with no other choice but to restart the entire instance of Bamboo.

This answer may or may not help you, but you definitely aren't alone in seeing this symptom. 

For Stash type linked repository, a key pair is generated and added to the Stash user profile of the user adding it. This means that the permission for the repository is based on the user.

Normally this could happen if access is removed or the user deleted completely. Saving it again in linked repository regenerates the key and readds it to the new user profile who saved it.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

31,859 views 26 12
Join discussion

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