Bitbucket Server fails to start - BASEDIR environment variable is not defined
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
症状
Bitbucket Server fails to start and this message appears on the command line:
Armens-MacBook-Pro:~ akhachatryan$ /Users/akhachatryan/Atlassian/Bitbucket Server2.2.0/atlassian-bitbucket-2.2.0/bin/start-bitbucket.sh
To run Bitbucket Server in the foreground, start the server with start-bitbucket.sh -fg
Starting Atlassian Bitbucket Server as current user
The BASEDIR environment variable is not defined
This environment variable is needed to run this program原因
The CATALINA_HOME environment variable is defined for the user running Bitbucket Server.
ソリューション
Unset the CATALINA_HOME environment variable and remove it from any profile scripts (e.g. ~/.profile, ~/.bashrc) and start Bitbucket Server again.
更新日時: September 25, 2025
この内容はお役に立ちましたか?
さらにヘルプが必要ですか?
アトラシアン コミュニティをご利用ください。