Bamboo export and backup fails

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

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)

Cause

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.

Resolution

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.

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.