How to manually change the Base URL of Bamboo without access to the UI

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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:

  1. Edit the administration.xml file.
  2. Adjust the below element to the required value:

    administration.xml
    <myBaseUrl>https://bamboo.atlassian.com</myBaseUrl>
  3. Restart Bamboo

(info) If you are using proxy configurations  please make sure to update the  <BAMBOO_INSTALL>/conf/server.xml the proxyName

server.xml
<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"
            /> 

Last modified on Mar 30, 2023

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.