Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there full tree of available options for unattended installation?

According to this article I can install bitbucket via unattended mode

https://confluence.atlassian.com/bitbucketserver/running-the-bitbucket-server-installer-776640183.html

 

Is there the way to get full tree of possible parameters?

For example I need to answer on next questions:

Would you like to install or upgrade an instance?
Install a new instance [1, Enter], Upgrade an existing instance [2]
1

Install Bitbucket 6.9.1
What type of instance are you looking to install?
Install a Server instance [1, Enter], Install a Data Center instance [2], Install a Smart Mirroring instance [3]
2

1 answer

1 accepted

0 votes
Answer accepted
Jeff Thomas Atlassian Team Jan 08, 2020

Hi Artem,

The easiest way to get this information at the moment is to run through the installer as normal and choose the options when prompted that you want to use. After the installation completes, this will create a response.varfile inside <APP_INSTALL_DIR>/.install4j

You can make any changes as needed and supply it to the installer with the -varfile option.

When I ran through this with the default settings, this was the response.varfile created for me and should give you an idea of the options available:

# install4j response file for Bitbucket 6.9.1
app.bitbucketHome=/var/atlassian/application-data/bitbucket
app.defaultInstallDir=/opt/atlassian/bitbucket/6.9.1
app.install.service$Boolean=true
executeLauncherAction$Boolean=false
httpPort=7990
installation.type=INSTALL
launch.application$Boolean=true
sys.adminRights$Boolean=true
sys.languageId=en

This installs Bitbucket Server as a service, starts it, and does a new installation.

installation.type has the following valid options: UPGRADE|INSTALL|MIRROR_INSTALL|MIRROR_UPGRADE|
DATA_CENTER_INSTALL|DATA_CENTER_UPGRADE



It might be a wonderful to have this example on main page with unattended installation instructions 

Like Jeff Thomas likes this
Jeff Thomas Atlassian Team Jan 08, 2020

You're right. I'm working on getting the documentation updated at the moment to include more of this information.

Like Artem Tikhonov likes this

@Jeff Thomas Is there any progress on this? I am looking to be able to use a varfile to configure Jira to use Active Directory and can't find a definitive list of varfile directives.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,878 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you