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 votes

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 Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

190 views 4 1
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