Bamboo export and backup fails
プラットフォームについて: 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 は除く
症状
Bamboo export fails with the following error in the logs:
2012-11-07 10:08:45,097 INFO [qtp1940199506-134] [XmlMigrator] Creating zip:D:\Bamboo\home\exports\export_ficobuildserver_3400_20121107.zip
2012-11-07 10:08:45,206 INFO [qtp1940199506-134] [XmlMigrator] Starting export of data...
2012-11-07 10:08:45,238 INFO [qtp1940199506-134] [XmlMigrator] Writing xml to file: D:\Bamboo\home\exports\export_ficobuildserver_3400_20121107.zip\db-export\users.xml
2012-11-07 10:08:45,660 INFO [qtp1940199506-134] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.UserMapper@73157f25
2012-11-07 10:08:45,660 INFO [qtp1940199506-134] [XmlMigrator] Finished writing to file: D:\Bamboo\home\exports\export_ficobuildserver_3400_20121107.zip\db-export\users.xml
2012-11-07 10:08:46,394 INFO [qtp1940199506-134] [XmlMigrator] Ensuring the the file has been unmounted
2012-11-07 10:08:46,394 INFO [qtp1940199506-134] [XmlMigrator] Unmounted D:\Bamboo\home\exports\export_ficobuildserver_3400_20121107.zip
2012-11-07 10:08:46,394 ERROR [qtp1940199506-134] [Export] java.io.FileNotFoundException: D:\Bamboo\home\exports\export_ficobuildserver_3400_20121107.zip\db-export\groups.xml
java.io.FileNotFoundException: D:\Bamboo\home\exports\export_ficobuildserver_3400_20121107.zip\db-export\groups.xml
at de.schlichtherle.truezip.file.TFileOutputStream.newOutputStream(TFileOutputStream.java:147)
at de.schlichtherle.truezip.file.TFileOutputStream.<init>(TFileOutputStream.java:116)
原因
The exact cause is not known but it all comes down to how the truezip library and how it is using the Windows ACL to the export directory.
ソリューション
The username running Bamboo must be a member of the 'Users' group if this group is in the ACL of the export directory. Alternatively the 'Users' group can be removed all together from the ACL as this group is not required there.
この内容はお役に立ちましたか?