tar: Error opening archive: Unrecognized archive format
-
When attempting to start a new FusionAuth installation (on MacOS 10.15.7 Catalina) I get the error...
tar: Error opening archive: Unrecognized archive format
Manually running the startup script tar command...
$ tar xfz "/Users/patrick/fusionauth/bin/../java/openjdk-macos-17.0.1+12.tar.gz" -C "/Users/patrick/fusionauth/bin/../jav
...produces the same error.
So this is a problem with the downloaded file? Does anyone have a workaround for this? Maybe edit the startup script with a different java version?
-
Please make sure that you are using the latest installation and version of FusionAuth which can be found below
https://fusionauth.io/download/
Thanks,
Josh -
Thanks for the reply. Yes, that command (for macOS)...
sh -c "curl -fsSL https://raw.githubusercontent.com/FusionAuth/fusionauth-install/master/install.sh | sh"
...looks like the one I've been using from the 5-Minute Setup Guide.
Just to be sure, I copied the command from that referenced download site and ran it. Unfortunately the same error was returned.
-
I am wondering if you are running into the error described below:
https://fusionauth.io/community/forum/topic/1415/startup-sh-fails-on-tar-of-openjdk-linux-gz
Can you try the workaround suggested there and see if it resolves the issue?
Thanks,
Josh -
@joshua Yes, that solved my problem - FusionAuth started and responded at localhost:9011. Thank you!
-
Perfect