FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    tar: Error opening archive: Unrecognized archive format

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    2
    6
    13.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      patrick
      last edited by

      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?

      joshuaJ 1 Reply Last reply Reply Quote 0
      • joshuaJ
        joshua @patrick
        last edited by

        @patrick

        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

        P 1 Reply Last reply Reply Quote 0
        • P
          patrick @joshua
          last edited by

          @joshua

          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.

          joshuaJ 1 Reply Last reply Reply Quote 0
          • joshuaJ
            joshua @patrick
            last edited by

            @patrick

            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

            P 1 Reply Last reply Reply Quote 0
            • P
              patrick @joshua
              last edited by

              @joshua Yes, that solved my problem - FusionAuth started and responded at localhost:9011. Thank you!

              joshuaJ 1 Reply Last reply Reply Quote 0
              • joshuaJ
                joshua @patrick
                last edited by

                @patrick

                Perfect 👌

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post