The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Blake VandeMerwe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Dave Theodore [Coyote Creek Consulting]
Community Champion
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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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