Bitbucket Server Backup Client fails and throws cannot be read error

お困りですか?

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

コミュニティに質問

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

問題

The Bitbucket Server Backup Client does not complete the creation of a backup.

atlassian-sbc-YYYY-MM-DD-MMSS.log に次のメッセージが出力される。

ERROR [main] c.a.b.i.backup.client.BackupMain A backup could not be created
com.atlassian.bitbucket.internal.backup.client.BackupException: File <BITBUCKET_HOME>/<path_to_a_file> cannot be read
at com.atlassian.bitbucket.internal.backup.client.layout.DefaultApplicationHome.addFileEntries(DefaultApplicationHome.groovy:120) ~[bitbucket-backup-core-3.0.0.jar:na]
	at com.atlassian.bitbucket.internal.backup.client.layout.DefaultApplicationHome.archive(DefaultApplicationHome.groovy:104) ~[bitbucket-backup-core-3.0.0.jar:na]

原因

When the Backup Client accesses the files to be backed up and listed at a previous step of the process, the files are not available anymore because they have been removed by a separate process.

For example, a crontab process to create older log files deleted the files.

This is particularly relevant if the Backup Client requires a significant amount of time to run.

ソリューション

Avoid the files accessed by the Bitbucket Server Backup Client to be moved or removed while the Backup Client is running.

最終更新日 2016 年 4 月 22 日

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

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