XML Backup / Restore of Jira from v4.4.4 to v5.1

I am trying to import an xml backup file created on our production jira instance to a test instance. Eventual aim is to upgrade server hardware and migrate OS platform from linux/mysql to windows/mssql.

When starting the restore we get to about 20% and then get the following error:

Error parsing export file. Your export file is invalid. This may be due to a CDATA bug in older versions of JIRA (http://jira.atlassian.com/browse/JRA-4980). Exception is org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.

I have looked online and found this covered (including in the above reference) however this seems to supposedly been resolved after v3.2? I think? So really does it apply in our scenario?

The size of the xml is just over 500MB. I am not sure if upgrading through the restore is an issue either?

Any help will be greatly appreciated.


2 answers

Hi Andrew,

Have you tried the workaround suggested?

Also, there is Jeff Tuner's comment saying to download Ofbcore-entity and, then copy to JIRA WEB-INF/lib/ directory (atlassian-jira/WEB-INF/lib/ in JIRA Standalone; webapp/WEB-INF/lib/ in JIRA WAR/Webapp). You must also delete the old WEB-INF/lib/ofbcore-entity-2.1.1.jar file, which this replaces.

After the steps above JIRA is still facing the same behavior, if so, would you mind to open up a ticket at Atlassian Support ?

I hope it helps


The link to Ofbcore-entity is invalid.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Canada

Happy New Year - First AUG of the year - great success

Hi Everyone, Hope everyone had a great holiday season and is ready for an exciting 2019.  We had our first AUG last night featuring Tempo Timesheets.  A great presentation and lots of int...

15 views 0 1
View post

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