What is the Bitbucket Server ID?

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

This article aims to answer frequently asked questions about the Bitbucket Server ID.

Solution

What causes this Server ID to be generated? Is it tied to the hardware, OS, or Bitbucket instance?

The Server ID:

  • is generated when you install Bitbucket for the first time
  • exists for the life of the Bitbucket instance
  • survives an upgrade
  • is held in the database
  • is not bound to a specific license
  • is the same for all servers in a cluster

You can read more at the Atlassian Licensing & Purchasing FAQ.

How can I locate my Server ID via the REST API?
curl -u <admin-user> <bitbucket-url>/rest/api/1.0/admin/license
How can I locate my Server ID via a SQL database query?
SELECT * FROM app_property WHERE prop_key = 'server.id';
What's the policy on re-associating licenses with Server IDs?
  • There's no need to do this. Once you have a Server ID associated with a license, you can leave it as is.
What happens when I need to reinstall (quickly) on a different system?
  • Because the Server ID is held in the database, it travels with the instance when the database or XML backup is restored on the new system. If you would like to change the Server ID on your cloned instance, please refer to the steps outlined in Changing Server ID for Bitbucket Server Cloned Instances.


Last modified on Nov 2, 2023

Was this helpful?

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