ctsmedia/docker-contao

Composer update fails / Please update the docker images

Opened this issue · 0 comments

Updating the contao version via the composer-manager fails with:

composer update contao-components/installer sensiolabs/security-checker contao/conflicts
> Resolving dependencies using Composer Cloud v3.0.1
!!! Current server is sponsored by: Contao Association !!!
[5.9MiB/0.24s] Loading composer repositories with package information
[9.7MiB/0.99s] Updating dependencies
[15.4MiB/1.06s] Your requirements could not be resolved to an installable set of packages.
[15.4MiB/1.06s] 
  Problem 1
    - ocramius/package-versions 1.3.0 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
    - contao/calendar-bundle 4.6.5 requires contao/core-bundle 4.6.5 -> satisfiable by contao/core-bundle[4.6.5].
    - contao/core-bundle 4.6.5 requires ocramius/package-versions ^1.2 -> satisfiable by ocramius/package-versions[1.3.0].
    - contao/calendar-bundle is locked to version 4.6.5 and an update of this package was not requested.
<warning>ocramius/package-versions only provides support for Composer 2 in 1.8+, which requires PHP 7.4.</warning>
If you can not upgrade PHP you can require composer/package-versions-deprecated to resolve this with PHP 7.0+.
You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.
[15.4MiB/1.06s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
[7.5MiB/1.07s] Memory usage: 7.45MB (peak: 16.01MB), time: 1.08s.
[7.5MiB/1.07s] Finished Composer Cloud resolving.
# Cloud Job ID ndyNuZjpES8N36GM0fkQkgpT7ijCzoXxLAbImpY6ha21t77uz0hwQOZwtpPFMoaIjqTPI0neT4VaHJSujGGU failed
composer install

I believe this is due to the fact that the docker images haven't been updated in two years and accordingly the php version may not be compatible with the latest version of contao.

P.S. This repository is incredibly valuable for me in my endeavour to migrate an old 3.5 installation to contao 4. This is much faster locally than copying all my files via ftp after each reinstall.