How to manually change the Base URL of Bamboo without access to the UI
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
The Bamboo Base URL may have changed however you can no longer access the administration panel / UI to update it via Bamboo Administration > Overview > General Configuration as the login form is redirecting to an inaccessible URL.
Environment
Any supported Bamboo version.
Solution
Update the Bamboo Base URL manually on the filesystem with the following steps:
The administration.xml file is located in the following paths:
Bamboo 7 and earlier:
<bamboo-home>
/xml-data/configuration/administration.xml
Bamboo 8 and later:
<bamboo-shared-home>
/configuration/administration.xml
Edit the administration.xml file.
Adjust the below element to the required value:
administration.xml
1
<myBaseUrl>https://bamboo.atlassian.com</myBaseUrl>
Restart Bamboo
ℹ️ If you are using proxy configurations please make sure to update the <BAMBOO_INSTALL>/conf/server.xml the proxyName
server.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<Service name="Catalina">
<Connector
protocol="HTTP/1.1"
port="8085"
address="127.0.0.1"
maxThreads="150" minSpareThreads="25"
connectionTimeout="20000"
disableUploadTimeout="true"
acceptCount="100"
enableLookups="false"
maxHttpHeaderSize="8192"
useBodyEncodingForURI="true"
URIEncoding="UTF-8"
proxyName="bamboo.atlassian.com"
proxyPort="443"
scheme="https"
/>
Was this helpful?