Situation
I am trying to follow the instructions here to get the tar.gz file:
https://www.open-emr.org/wiki/index.php/OpenEMR_6.0.0_Linux_Installation#Required_Software_Installation_.28distribution_specific.29
$ curl https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/6.0.0/openemr-6.0.0.tar.gz --output openemr-6.0.0.tar.gz
$ tar -pxvzf openemr-6.0.0.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
$ file openemr-6.0.0.tar.gz
openemr-6.0.0.tar.gz: HTML document, ASCII text
Apparently it isnāt gzipped at all?
āRBL
There is another distribution file in the .zip format. I also tried to extract it instead. When I did so, I got the following error:
~/openemr-6.0.0$ curl https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/6.0.0/openemr-6.0.0.zip --output openemr-6.0.0.zip
~/openemr-6.0.0$ unzip openemr-6.0.0.zip
Archive: openemr-6.0.0.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of openemr-6.0.0.zip or
openemr-6.0.0.zip.zip, and cannot find openemr-6.0.0.zip.ZIP, period.
I looked at the .zip distribution and found the following:
<html>
<head>
<title>301 Moved Permanently</title>
</head>
<body>
<h1>301 Moved Permanently</h1>
The resource has been moved to <a href="https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/6.0.0/openemr-6.0.0.zip/">https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/6.0.0/openemr-6.0.0.zip/</a>;
you should be redirected automatically.
</body>
</html>
Then I retried looking at the new location:
https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/6.0.0/openemr-6.0.0.zip/">https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/6.0.0/openemr-6.0.0.zip/
I finally just used a web browser to download the file and that worked. Evidently, you canāt use curl the way that I used it.
Now Iām continuing with the instructions here for the actual upgrade from 5.0.2p5 to 6.0.0p1
https://www.open-emr.org/wiki/index.php/Linux_Upgrade_5.0.2_to_6.0.0
āRBL
OpenEMR Version
Iām using OpenEMR version 6.0.0
Operating System
Iām using: Ubuntu 16.04.7 LTS (GNU/Linux 4.4.0-1128-aws x86_64)