Details
-
Bug
-
Resolution: Fixed
-
Critical
-
5.3, 5.3.1
-
None
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 )