Problem when transferring Bamboo to another server


I'm currently moving a bamboo instance from a server to another one.

There are many environment modifications so before the reimport, I wanted to extract the zip I retrieved from the old server, unzip it, change values in the xml files, rezip the directory and load the new zip in my new bamboo.

When I do this, I get this error while importing :

The import file could not be validated. The error is: Can't find import file for importer

After some research, I think the problem is with the zip format of the file. So I tried to unzip the export, and just rezip it without any modifications with the command :

zip -r ../ *

I have the same error that above, so I think the problem is with the zip command.

I also tried with

jar -cMf ../ *

but I have the same issue.

I compared the content of both zip and they are stricly identical. However the sizes are not the same. The initial file size is 571833372 Bytes, and the final zip is 594347421 Bytes.

Does someone knows how to recreate a zip that can be handled by the bamboo importer?



1 answer

This widget could not be displayed.

Well, in fact the zip command works... The jar command fails

My problem is that when I run the command interactively it works (meaning that files are zipped with a relative pathname) while when I script it, files are zipped with a full pathname, which makes the importer fail.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

175 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you