• 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.

susanta mondal August 11, 2015

    after linking of stash and bamboo.

2 answers

0 votes
rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 17, 2015

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

0 votes
Peter Van de Voorde
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 11, 2015

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 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events