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.
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
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.