How to find out when the Bitbucket server was upgraded

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

問題

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

ソリューション 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 the string "Upgrading Bitbucket from” in the log files.
    Here's a sample entry:

    2024-03-10 09:00:01,850 INFO  [spring-startup]  c.a.s.internal.home.HomeValidator Upgrading Bitbucket from 8.7.1 to 8.9.10

Note that Bitbucket keeps the atlassian-bitbucket-YYYY-MM-DD.log for 31 days only by default.

ソリューション 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 Mar 21, 2024

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.