All Repositories Appear Empty After an Upgrade
プラットフォームについて: 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 は除く
症状
No content in the configured repositories after an upgrade. Clicking on one of the repositories gives "Fatal: Not a git repository" on screen error.
Following error reported in the logs:
2013-03-26 11:47:06,976 ERROR [localhost-startStop-1] c.a.s.c.u.DefaultPluginUpgradeManager Upgrade error: Unexpected exception caught during plugin upgrade: com.atlassian.bitbucket.exception.ServerException: An error occurred while executing an external process: '/usr/local/bin/git config --replace-all http.receivepack true' exited with code 255 saying: error: could not lock config file .git/config: No such file or directory
at com.atlassian.bitbucket.internal.scm.git.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:116)
at com.atlassian.bitbucket.internal.scm.git.GitCommandExitHandler.onError(GitCommandExitHandler.java:159)
原因
The .git/config file could not be located successfully.
ソリューション
Ensure that the .git/config file is correctly configured and that Bitbucket Server has been unzipped correctly into BITBUCKET_HOME and BITBUCKET_INSTALL directory.
この内容はお役に立ちましたか?