The Bitbucket Server backup directory cannot be located in Bitbucket Server home

プラットフォームについて: 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 は除く

症状

After executing the backup client, it fails with the exception below:

2014-09-08 13:27:10,195 INFO Initializing 2014-09-08 13:27:10,686 ERROR The application could not be started. An unexpected error prevented the Spring ApplicationContext from being created. Details of the error follow. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'backupHome' defined in class path resource [META-INF/spring/common-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.bitbucket.internal.backup.client.layout.DefaultBackupHome]: Constructor threw exception; nested exception is com.atlassian.bitbucket.internal.backup.client.BackupException: The Bitbucket Server backup directory (/opt/atlassian/bitbucket-home) cannot be located in Bitbucket Server home (/opt/atlassian/bitbucket-home). Please change the backup directory location and retry. at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:278) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1114) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE] ... 12 more frames available in the log file

原因

The configured backup.home directory is located under the bitbucket.home directory.

ソリューション

Create the backup.home in a completely separate directory. For example, you can use /opt/atlassian/bitbucket-backup instead.

更新日時: September 25, 2025

さらにヘルプが必要ですか?

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