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

This widget could not be displayed.

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
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...

131 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