startup.sh fails on tar of openjdk linux gz
-
Fast path install using zip files. no elastic search. linux.
Install works fine.
Run startup.sh fails with error message:
gzip: stdin: not in gzip formatafter closer inspection, the gzip file downloaded that the script tried to tar on was a html doc, with content:
<html><body>You are being <a href="...">redirected</a>...
what gives..? work around? presumably if i get that java jdk version and place it in the output location that the tar was trying to put it in the startup script should then work?
-
@james-black if i go to that location in the browser, the file downloads properly, it seems that curl command fails for me for some reason
-
-
TL,DR;
So i've figured out it is the curl part of the script that is failing, there are some missing options to curl that causes the download to be wrong.
It seems startup.sh has a parameter of {CURL_OPTS}, but in my case nothing was being used in that parameter, and in closer inspection there are no {CURL_OPTS} specified in this script.
I can work around it by modifying the startup.sh to contain the correct curl options, but any thoughts on this moving forward?
-
Thanks for letting us know, this is a bug. To work around it, add this to the top of
startup.sh
:CURL_OPTS="-fSL --progress-bar"
-
Tracking here: https://github.com/FusionAuth/fusionauth-issues/issues/1519
-