Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22990

[Satis] composer install fails with 404 Not Found

    XMLWordPrintable

Details

    Description

      Running composer install will at times fail to fetch ezsystem packages due a HTTP/1.1 404 Not Found error.

      The problem seems to derive from the fact that the package file hash changes often, and composer.lock will reference a different file/hash.

      $ php composer.phar install --prefer-dist -vvv
      Reading ./composer.json
      Executing command (CWD): git describe --exact-match --tags
      Reading ./composer.lock
      Loading composer repositories with package information
      Installing dependencies (including require-dev) from lock file
      Reading ./composer.lock
        - Installing ezsystems/ezpublish-kernel (v5.3.1)
      Downloading https://updates.ez.no/bul/dist/ezsystems-ezpublish-kernel-v5.3.1-0bc77c.zip
          Downloading: 0%
      Failed: [Composer\Downloader\TransportException] The "https://updates.ez.no/bul/dist/ezsystems-ezpublish-kernel-v5.3.1-0bc77c.zip" file could not be downloaded (HTTP/1.1 404 Not Found)
      Failed to download ezsystems/ezpublish-kernel from dist: The "https://updates.ez.no/bul/dist/ezsystems-ezpublish-kernel-v5.3.1-0bc77c.zip" file could not be downloaded (HTTP/1.1 404 Not Found)
      Now trying to download from source
        - Installing ezsystems/ezpublish-kernel (v5.3.1)
      

      Running composer update may resolve the problem (see EZP-22987 )

      Attachments

        Activity

          People

            Unassigned Unassigned
            joao.inacio-obsolete@ez.no Joao Inacio (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 30 minutes
                5h 30m