How to find out when the Bitbucket server was upgraded

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.


For certain reasons (such as auditing), information regarding the last time Bitbucket was upgraded is needed.

Solution 1

To find out the latest upgrade made in the application, follow steps below:

  1. Go into the $BITBUCKET_HOME/log directory.
  2. Locate the atlassian-bitbucket-YYYY-MM-DD.logs.
  3. Search for "Starting Bitbucket” in the log files.
  4. Make note of when the version changed to the currently running version of Bitbucket.

If logs are regularly removed/rolled over, you may not see a version change in the logs.

Solution 2

Run the following script against the database.

SELECT * FROM databasechangelog ORDER BY orderexecuted DESC

Make note of the date in the dateexecuted column of the most recent entry.

Not all upgrades contain database schema updates. This is normal and if your most recent upgrade was only a patch or between certain minor versions, this may not show the most recent upgrade.

Last modified on Jul 23, 2021

Was this helpful?

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