Standalone tar.gz downloads are gzipped twice and fail to uncompress with tar on linux

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • 0

      Summary

      The standalone downloads from the Crowd website for versions 3.0.1 are gzipped twice.

      The Mac version of tar will handle this without issue and a tar -zxf will work as expected. However, on linux tar will fail to unzip and untar the download.

      Environment

      • CentOS 7 (all linux versions most likely)

      Steps to Reproduce

      1. Download standalone atlassian-crowd-3.0.1.tar.gz with using Firefox
      2. Attempt to extract using tar -zxf

      Expected Results

      File is extracted to directory.

      Actual Results

      $ tar -zxf atlassian-crowd-3.0.1.tar.gz
      tar: This does not look like a tar archive
      tar: Skipping to next header
      tar: Exiting with failure status due to previous errors
      

      Note

      See Artur Pawelczyk's comment on JSWSERVER-15845.

      Workaround

      1. Use gunzip and then rename to get tar working:
        $ gunzip atlassian-crowd-3.0.1.tar.gz
        $ mv atlassian-crowd-3.0.1.tar atlassian-crowd-3.0.1.tar.gz
        $ tar -zxf atlassian-crowd-3.0.1.tar.gz
        
      2. Use other browser to download the tar file

        1. CrowdError.jpg
          136 kB
          Jackson Ong

            Assignee:
            Unassigned
            Reporter:
            Yuki Okamoto (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: