JIRA Restore System: "Error: archive is not a ZIP archive"

Blake VandeMerwe April 7, 2017

I downloaded a backup of our Jira-Cloud instance to restore on a locally hosted development machine, as we're migrating from one license to the other.

Simply pointing the utility at the zip file downloaded from atlassian.net yields that error.

The file is indeed a zip archive:

root@devops-jira-dl1 /var/atlassian/application-data/jira/import
$ file jira-cloud_2017-04-06.zip 
jira-cloud_2017-04-06.zip: Zip archive data, at least v2.0 to extract

gscreenshot_2017-04-07-132457.png

What's the problem?

1 answer

1 accepted

2 votes
Answer accepted
Dave Theodore [Coyote Creek Consulting]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 11, 2017

Are you sure it downloaded completely? We see a variety of issues importing from Cloud to Server, but this is not a common one. You could try manually unzipping the archive to see if the unzip utility complains.

Blake VandeMerwe April 13, 2017

Funny enough when I downloaded the exact same file again it had a different size and worked correctly.

Kind of surprising to get an invalid file download.

Like PaPaJon likes this
Ubimet support September 19, 2019

we had the similar issue and it was the wrong permission of the file (root) instead of jira1

Suggest an answer

Log in or Sign up to answer