Versions
- 9.6
- 9.5
- 9.4
- 9.3
- 9.2
- 9.1
- 9.0
- 8.19
- 8.18
- 8.17
- 8.16
- 8.15
- 8.14
- 8.13
- 8.12
- 8.11
- 8.10
- 8.9
- 8.8
- 8.7
- 8.6
- 8.5
- 8.4
- 8.3
- 8.2
- 8.1
- 8.0
- 7.21
- 7.20
- 7.18
- 7.19
- 7.17
- 7.16
- 7.15
- 7.14
- 7.13
- 7.12
- 7.11
- 7.10
- 7.9
- 7.8
- 7.7
- 7.6
- 7.5
- 7.4
- 7.3
- 7.2
- 7.1
- 7.0
- 6.10
- 6.9
- 6.8
- 6.7
- 6.6
- 6.5
- 6.4
- 6.3
- 6.2
- 6.1
- 6.0
- 5.16
- 5.15
- 5.14
- 5.13
- 5.12
- 5.11
- 5.10
- 5.9
- 5.8
- 5.7
- 5.6
- 5.5
- 5.4
- 5.3
- 5.2
- 5.1
- 5.0
- See all
Starting and stopping Bitbucket Server
Bitbucket Server installation guide
- Install a Bitbucket Server trial
- Install Bitbucket Server on Windows
- Install Bitbucket Server on Linux
- Running Bitbucket Server with a dedicated user
- Running Bitbucket Server as a Linux service
- Automated setup for Bitbucket Server
- Starting and stopping Bitbucket Server
- Install Bitbucket Server from an archive file
- Running the Bitbucket Server installer
On this page
Related content
- Assign users to groups, project roles, and applications
- Managing permissions
- Managing project roles
- Managing project role membership
- Customizing Jira Service Management permissions
- Managing project permissions
- Manage group access to applications
- Managing groups
- Configuring issue-level security
- Managing global permissions
This page describes the various ways you can start or stop Bitbucket Server, depending on which method suits your needs.
Start Bitbucket during installation
The Bitbucket Server installer can automatically start Bitbucket Server. If you're not using the installer, use the instructions below that are appropriate for your needs to start Bitbucket.
Start/stop Bitbucket Server
To start/stop Bitbucket Server
For Linux
Change to your <Bitbucket Server installation directory>
, then use the command that meets your needs:
bin/start-bitbucket.sh
bin/stop-bitbucket.sh
For Windows
For automated starting and stopping of Bitbucket Server on Windows, it should be installed as a service.
You can use start-bitbucket.bat
for short term debugging, using Ctrl+C will safely shutdown the instance when it is no longer needed.
For macOS
Use the app icons in the <Bitbucket Server installation directory>
. These link to the start-bitbucket.sh
and stop-bitbucket.sh
scripts in <Bitbucket Server installation directory>/bin
.
Start Bitbucket Data Center
For Bitbucket Data Center, the remote Elasticsearch instance must be started separately. It is a requirement of the Bitbucket Data Center setup that you have only one remote Elasticsearch instance for your entire cluster, as described on Installing Bitbucket Data Center. To start (or restart) a remote Elasticsearch instance, see Elasticsearch documentation for specific instructions.
To start Bitbucket Data Center (does not start Bitbucket's bundled Elasticsearch instance)
- Change to your
<Bitbucket Server installation directory>
Run this command:
start-bitbucket.sh --no-search
Start/stop Bitbucket Server when running as a service
On Windows and Linux systems you can choose to have Bitbucket Server installed as a service, and it will be started automatically when the system boots.
To start/stop Bitbucket Server manually when running as service:
For Linux
Manage the Bitbucket Server service with these commands:
# service atlbitbucket status
# service atlbitbucket stop
# service atlbitbucket start
For Windows
Start and stop the Bitbucket Server service from the services console, on Windows. Ensure you start both the AtlassianBitbucket
and AtlassianBitbucketElasticsearch
services.
Start Bitbucket Server without starting bundled Elasticsearch
You're running Bitbucket Data Center: It is a requirement of the Bitbucket Data Center setup that you have only one remote Elasticsearch instance for your cluster, as described on Installing Bitbucket Data Center.
You have a remote Elasticsearch instance (for whatever reason): When using a remote Elasticsearch instance, you have to start Bitbucket Server without starting the bundled Elasticsearch instance.
You can also refer to Install and configure a remote Elasticsearch instance.
To start Bitbucket Server without starting the bundled Elasticsearch instance
start-bitbucket.sh --no-search
For Windows
start-bitbucket.bat /no-search
Related content
- Assign users to groups, project roles, and applications
- Managing permissions
- Managing project roles
- Managing project role membership
- Customizing Jira Service Management permissions
- Managing project permissions
- Manage group access to applications
- Managing groups
- Configuring issue-level security
- Managing global permissions