Bamboo export and backup fails

お困りですか?

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

コミュニティに質問

症状

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.

最終更新日 2016 年 3 月 30 日

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

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