ロックアウトのリカバリ プロセス

Administer Bitbucket Data Center and Server

このページの内容

お困りですか?

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

コミュニティに質問

This page describes how to recover administrator access for Bitbucket Data Center and Server 5.X+, and later. For releases prior to that, please refer to the documentation specific to that version.

As an administrator, you may find yourself locked out of Bitbucket and unable to log in. This situation can arise when all users are managed externally from Bitbucket, and it becomes unable to access those user directories for some reason, including:

  • 外部ユーザー ディレクトリ サーバーにアクセスできない (ネットワークのダウン、ディレクトリのダウン、またはディレクトリが別の IP アドレスに移動された)。
  • Users are managed within a Jira application and the Application Link from Bitbucket to a Jira application has been accidentally deleted.
  • 管理者パスワードを忘れた、または無くした。
  • The admin account is shaded by a remote account in an LDAP or Jira application that is connected to Bitbucket but which is unavailable.


The lockout recovery process is:

  1. Edit the <Bitbucket installation directory>\bin\_start-webapp.sh file (or _start-webapp.bat on Windows) and add the "-Datlassian.recovery.password=temporarypassword" value to the JVM_SUPPORT_RECOMMENDED_ARGS property. The property value must be non-blank, and should look like this when you've done that:

    # Occasionally Atlassian Support may recommend that you set some specific JVM arguments.
    # You can use this variable to do that. Simply uncomment the below line and add any required
    # arguments. Note however, if this environment variable has been set in the environment of the
    # user running this script, uncommenting the below will override that.
    #
    JVM_SUPPORT_RECOMMENDED_ARGS=-Datlassian.recovery.password=temporarypassword


    Here we are using "temporarypassword", but you should use your own value.
     

  2. Start Bitbucket manually by running <Bitbucket installation directory>\bin\start-bitbucket.sh (or start-bitbucket.bat on Windows).
  3. Log in using the 'recovery_admin' username and the temporary password specified in Step 1.
  4. Repair your configuration. We strongly recommend that you do not perform other actions while Bitbucket is in recovery mode.
  5. 通常の管理者プロファイルを使用してログインできることを確認します。
  6. Shut down Bitbucket, remove the atlassian.recovery.password argument from _start-webapp.sh (or _start-webapp.bat on Windows), and restart Bitbucket as usual.
最終更新日 2021 年 4 月 6 日

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

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