• Community
  • Products
  • Bamboo
  • Questions
  • while creating build paln in bamboo unable to create stash repository when we clicking the configure plan button it is again going back to login page of bamboo.

while creating build paln in bamboo unable to create stash repository when we clicking the configure plan button it is again going back to login page of bamboo.

    after linking of stash and bamboo.

2 answers

Hi Susanta,

 

Could you take a look in the bamboo log file to see if you get any error message?

the log file can be found in the logs directory of your Bamboo home directory.

 

This looks like a configuration issue.

 

Cheers,
Peter 

0 votes

Hello Susanta,

Thank you for your question.

Could you let us know what is the URL used to hit Bamboo and Stash on your web browser, please? (i.e.: for Bamboo - http://localhost:8085 and for Stash - http://localhost:7990). If the example provide is what you have, this would explain the necessity of log back in to Bamboo.

Basically, Bamboo and Stash create a cookie that holds login information. However, cookie does not hold port number information so if you log in to Bamboo and later log in to Stash, the next time you access Bamboo, you will be prompted to log back in as the cookie has only the latest login information, in this case Stash.

In order to bypass that, you would be required to add a Context path="" to Bamboo (<bamboo-install>/conf/server.xml) and Stash (<stash-install/conf/server.xml>)

&lt;Context path="/bamboo" docBase="${catalina.home}/atlassian-bamboo" ...
 
&lt;Context path="/stash" docBase="${catalina.home}/atlassian-stash" ...

Now, you would hit Bamboo and Stash on your web browser as:

It will be required to:

  1. delete the application link
  2. stop Bamboo and Stash
  3. update Context Path in both server.xml files
  4. start Bamboo and Stash
  5. update Bamboo Base URL (Bamboo administration >> System >> General Configuration >> Base URL) to and http://localhost:8085/bamboo
  6. update Stash Base URL (Stash administration >> Settings >> Server settings >> Base URL) to http://localhost:7990/stash
  7. recreate application link

Kind regards,
Rafael P. Sperafico
Atlassian Support

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

316 views 0 6
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