Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: ejabberd 13.12
    • Fix Version/s: ejabberd 14.07
    • Component/s: None
    • Labels:
      None

      Description

      The ejabberd-13.12.tgz tarball available from the ProcessOne download page is gzipped twice.

      That is, "tar xzf" will fail to extract it, you have to gunzip it first and then gunzip the resulting file again.

        Activity

        Hide
        cromain@process-one.net Christophe Romain (Inactive) added a comment -

        odd, i'll check this

        Show
        cromain@process-one.net Christophe Romain (Inactive) added a comment - odd, i'll check this
        Hide
        cromain@process-one.net Christophe Romain (Inactive) added a comment -

        this was more likely a manual mistake at release time. the framework correctly builds a standard tarball. no double zip involved. i'll make sure files are not ziped for next release.

        Show
        cromain@process-one.net Christophe Romain (Inactive) added a comment - this was more likely a manual mistake at release time. the framework correctly builds a standard tarball. no double zip involved. i'll make sure files are not ziped for next release.
        Hide
        holger Holger Weiß added a comment -

        I think it's a server issue: My guess is that the tarball is fine on the file system, but the HTTP server is re-zipping it during transfer if the client sends an Accept-Encoding: gzip header, which most browsers do. That is, when using

        $ url='http://www.process-one.net/downloads/downloads-action.php?file=/ejabberd/13.12/ejabberd-13.12.tgz'
        $ wget --header='Accept-Encoding: gzip' "$url"
        

        the downloaded file is gzipped twice (just as with most browsers), but with a plain wget "$url", it's okay.

        Show
        holger Holger Weiß added a comment - I think it's a server issue: My guess is that the tarball is fine on the file system, but the HTTP server is re-zipping it during transfer if the client sends an Accept-Encoding: gzip header, which most browsers do. That is, when using $ url='http://www.process-one.net/downloads/downloads-action.php?file=/ejabberd/13.12/ejabberd-13.12.tgz' $ wget --header='Accept-Encoding: gzip' "$url" the downloaded file is gzipped twice (just as with most browsers), but with a plain wget "$url" , it's okay.
        Hide
        cromain@process-one.net Christophe Romain (Inactive) added a comment -

        arg, good shot !
        i'll check if we can do something on http side

        Show
        cromain@process-one.net Christophe Romain (Inactive) added a comment - arg, good shot ! i'll check if we can do something on http side
        Hide
        cromain@process-one.net Christophe Romain (Inactive) added a comment -

        should be ok since 14.05 release. download with wget --header='Accept-Encoding: gzip' just get the standard tarball. I think we can close now.

        Show
        cromain@process-one.net Christophe Romain (Inactive) added a comment - should be ok since 14.05 release. download with wget --header='Accept-Encoding: gzip' just get the standard tarball. I think we can close now.
        Hide
        holger Holger Weiß added a comment - - edited

        Hmm, still doesn't work for me. Neither when using e.g. Firefox, nor with Wget:

        $ url='http://www.process-one.net/downloads/downloads-action.php?file=/ejabberd/14.05/ejabberd-14.05.tgz'
        $ wget -q --header='Accept-Encoding: gzip' "$url"
        $ tar -xzf ejabberd-14.05.tgz
        tar: This does not look like a tar archive
        tar: Skipping to next header
        tar: Exiting with failure status due to previous errors
        $ gzip -cd ejabberd-14.05.tgz | tar -xzf - # This works.
        
        Show
        holger Holger Weiß added a comment - - edited Hmm, still doesn't work for me. Neither when using e.g. Firefox, nor with Wget: $ url='http://www.process-one.net/downloads/downloads-action.php?file=/ejabberd/14.05/ejabberd-14.05.tgz' $ wget -q --header='Accept-Encoding: gzip' "$url" $ tar -xzf ejabberd-14.05.tgz tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to previous errors $ gzip -cd ejabberd-14.05.tgz | tar -xzf - # This works.
        Hide
        zzolkiewski@process-one.net Zbyszek Żółkiewski added a comment -

        this minor issue have been resolved.

        Show
        zzolkiewski@process-one.net Zbyszek Żółkiewski added a comment - this minor issue have been resolved.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development