Trying to migrate to new machine: Import failed. Error while updating baseUrl: Premature end of file

I'm trying to migrate a bamboo instance to a new machine.

I exported the old instance to a zip file, and then set up bamboo on the new machine, choosing to import existing data, and pointed it to the zip file I exported from the other machine.

I then found myself at a screen with the following message:

You cannot access Bamboo at present. Look at the table below to identify the reasons:
Time    Level    Type    Description    Exception
2014-06-03 13:57:10    fatal    import     Import failed. Please contact Atlassian at and attach your export file. <br /> java.lang.Exception: Error while updating baseUrl: Premature end of file.
        at com.atlassian.bamboo.migration.XmlMigrator.setBaseUrl(
        at com.atlassian.bamboo.migration.XmlMigrator.importXml(
        at ...

I've tried both the export and the import steps multiple times. How can I move my bamboo instance onto a new machine?

1 answer

0 vote

What does the log say when you export?

The onscreen message says, "Bamboo has successfully exported to D:\bamboo\exports\ Time taken: 21 seconds"
The log file is empty though.

I'm assuming you are transferring the export from the source machine to the target. Are you sure the files are identical on both machines? Could you try not using zip as well (some windows compression programs have "issues", shall we say)

Yes, I am transferring the export on to the new machine.
The zip is generated by bamboo, so I'm assuming compression is not the issue.
I just ran an MD5 hash on both machines and verified the file was not altered in transit.

Right, I think you've hit a bug there. I think it might be best to go to Atlassian with this one

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,096 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot