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 https://support.atlassian.com/ and attach your export file. <br /> java.lang.Exception: Error while updating baseUrl: Premature end of file.
        at com.atlassian.bamboo.migration.XmlMigrator.setBaseUrl(XmlMigrator.java:255)
        at com.atlassian.bamboo.migration.XmlMigrator.importXml(XmlMigrator.java:185)
        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?

nothing.
The onscreen message says, "Bamboo has successfully exported to D:\bamboo\exports\export_dedobuildserver_3103_20140603_2.zip. 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
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,561 views 0 6
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