I see an error when importing a Confluence Space with exportDescriptor.properties

Sometimes when you attempt an import to a space you get an error

"Could not locate exportDescriptor.properties in the archive"

This often happened when you are on a Macbook, there is a known issue where browsers on Macs download ZIP files and automatically unzip them and zip them up again. When the folder is zipped up it contains files like DStore or MACOSX which causes the error.

To resolve it you can do the following:

  1. Change your browser settings, e.g. for Safari
    1. Go into Safari Preferences.
    2. General.
    3. Scroll down to the bottom.
    4. Deselect the box with the text "Open safe files after downloading".
  2. Alternatively, you can use the terminal command to zip the files before import. Something you will need to explicitly remove the hidden files as per the second line
  1. zip -r archive.zip entities.xml exportDescriptor.properties attachment/
  2. zip -r archive.zip . -x "*/.DS_Store" -x ".DS_Store"

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events