Failed extract ojs 3 file

I want to upgrade OJS 3 via domain and c panel

when i extract the Gzip file is failed and show this:

gzip: stdin: not in gzip format
/usr/bin/gtar: Child returned status 1
/usr/bin/gtar: Error is not recoverable: exiting now

Can you help me mate?

This happened to me today. I downloaded the current production release ( from my browser (Chrome Version 91.0.4472.114, Ubuntu) and it downloaded the unzipped tar file instead of the compressed one. The download actually took longer, since the file was about 180 MB instead of the 49 MB. To make things a little bit trickier, the filename still had the gz extension, even though it was only a tar file (I could extract it with no problem using tar).

So I tested the download using wget from command line and the correct compressed file was downloaded. That one I could unzip and then work with the tar file.

So, if anyone is facing the same issue, make sure to check if the downloaded file is really gzip or if it is already a tar file. If the file size is way bigger than what the OJS download page is describing, that is probably the case, even if your file extension is still tar.gz.

1 Like