Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure baseUrl in automated script ?

Antoine GUESNON July 13, 2018

Hi everybody,

I have created an ansible script  to install, configure and start a bitbucket instance from the last production backup. My question is : what is the best way to configure the baseUrl before or after starting the new bitbucket instance ?

I tried to add the setup.baseUrl property in the "DATA_DIR/shared/bitbucket.properties" as describe in https://confluence.atlassian.com/bitbucketserver/automated-setup-for-bitbucket-server-776640098.html but it doesn't apply the new baseUrl after the bitbucket restart.

1 answer

0 votes
Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 15, 2018

Hi @Antoine GUESNON,

After the first restart, the Base URL can be only specified in the user interface.

See the related page for detailed instruction:

- Specifying the base URL for Bitbucket Server

 

Here is also the link to an existing feature request on this topic with a reply from our product managers:

BSERV-9906 - As an Admin, I would like to be able to change the Base URL via bitbucket.properties

 

It would be helpful if you could add your use case and inputs there.

 

Cheers,

Caterina - Atlassian

Antoine GUESNON July 16, 2018

Hi @Caterina Curti,

Thanks for your quick response but unfortunately it doesn't resolve my problem as i wanted to script the action. Do you plan to expose some administration API which will allow to change base URL in the future ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events