Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Export space as xml corrupted archive

Samuel Parker July 6, 2020

Hi,

 

I'm trying to export a space as an xml file for importing into another environment and it is giving me a corrupted archive, I've tried several different programs to unpack the file and it throws errors everytime, I've tried to import the zip file and it breaks, anyone else have this issue or no what to do?

 

The file is about 3GB

2 answers

1 accepted

0 votes
Answer accepted
Samuel Parker July 9, 2020

So it appears this issue was caused by the file not downloading properly, I tried with several browsers to no avail, I had to get a teammate to download it and send me the file. It then worked after that.

I'm not sure why I couldn't download it but I have raised a support request about it, thanks for your help @repi 

0 votes
repi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 6, 2020

@Samuel Parker 

Is there an error message in addition to errors?
Can the new confluence instance import the file?

Samuel Parker July 6, 2020

@repi No it seems to be working fine when I do the export, no it cant do the import because I only have a zip file, which I cant unpack.

If I try to import the zip it just says 

  • There was an error during import. Please see our guide to raising a bug report.
repi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 6, 2020

Can you repeat the export from the original confluence instance again?
Which version is the confluence from which you started the export and which version is the target confluence?

Troubleshooting

If you have problems importing a space, check out these hints. 

  • Is your file too large to upload? 
    This is a very common problem. It happens when the file can't be uploaded to the server in time. To avoid this problem, drop your export file into the <confluence-home>/restore directory and import it from there. 
  • Are you trying to import into an earlier version of Confluence?  
    This is not possible. You can only import a space into the same version or a later compatible version. 
  • Is your space export file from Confluence Cloud? 
    You can only import this file into Confluence 6.0 or later. Trying to import into earlier versions can cause major problems. See Import a space from Confluence Cloud for other considerations.
  • Does a space with the same space key already exist? 
    Space keys are unique, so if you already have a space with the same key, you'll need to delete the existing space before importing the new one.
  • Is the import timing-out or causing out of memory errors? 
    If the space to be imported is very large, you may need to temporarily increase the memory available to Confluence. See How to fix out of memory errors by increasing available memory.
  • Did you download the export file on a Mac?
    If you get an error saying that Confluence can't find the  exportDescriptor.properties  file, chances are OS X has unzipped the backup for you and sent the original zipped file to the trash. You need to retrieve the original zip file from the trash and then try the import again.
  • Did your import fail?  Sometimes importing a space may fail because the process times out or runs out of memory. This can lead to data being left behind in your database. See After a failed space import, it's not possible to re-import because of leftover space data for more information. 

 

https://confluence.atlassian.com/doc/import-content-into-confluence-191141.html

https://confluence.atlassian.com/doc/restoring-a-site-152034.html

 

Samuel Parker July 7, 2020

- I'm using confluence cloud so don't have this folder (sorry should have mentioned earlier)

- Both are on Confluence 1000.0.0-ea093b5c47e0

- No the new space is empty

- I can't unzip the downloaded zip so I have no xml to upload, when I try to do it with a smaller zip it doesn't work, (i have tried to import the zip)

-  I'm using windows 10, it gives this error "... JIRA Migration\Confluence-export (3).zip: The archive is corrupt" Using 7zip gives this error "Unexpected end of data, Warnings: Header Errror"

- Importing the zip fails "

  • There was an error during import. Please see our guide to raising a bug report."

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events