Всем привет. В чём может быть проблема ?
Пытаюсь обновить с Drupal core 10.5.2 до 11.2.3
[j5704103@srv48-h]$ php composer.phar require drupal/core-recommended:11.2.3 drupal/core-composer-scaffold:11.2.3 drupal/core-project-message:11.2.3 --update-with-all-dependencies
И полУчАю такую вот ошибку:
Problem 1
- Root composer.json requires drupal/core-recommended 11.2.3 -> satisfiable by drupal/core-recommended[11.2.3].
- drupal/core-recommended 11.2.3 requires drupal/core 11.2.3 -> found drupal/core[11.2.3] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires drupal/core-recommended 11.2.3 -> satisfiable by drupal/core-recommended[11.2.3].
- drupal/core-recommended 11.2.3 requires drupal/core 11.2.3 -> found drupal/core[11.2.3] but these were not loaded, likely because it conflicts with another require.
Комментарии
Выполнил такую вот команду:
drupal/add_to_head 1.0.0-beta1 requires drupal/core (^8 || ^9 || ^10)
drupal/bartik 1.0.2 requires drupal/core (^9 || ^10)
drupal/colorbox_inline 2.0.0 requires drupal/core (^9.2 || ^10)
drupal/core-recommended 10.5.2 requires drupal/core (10.5.2)
drupal/core 11.2.3 requires symfony/console (^7.3)
drupal/legacy-project - does not require symfony/console (but v6.4.24 is installed)
drupal/core 11.2.3 requires symfony/dependency-injection (^7.3)
drupal/legacy-project - does not require symfony/dependency-injection (but v6.4.24 is installed)
drupal/core 11.2.3 requires symfony/event-dispatcher (^7.3)
drupal/legacy-project - does not require symfony/event-dispatcher (but v6.4.24 is installed)
drupal/core 11.2.3 requires symfony/filesystem (^7.3)
drupal/legacy-project - does not require symfony/filesystem (but v6.4.24 is installed)
drupal/core 11.2.3 requires symfony/finder (^7.3)
drupal/legacy-project - does not require symfony/finder (but v6.4.24 is installed)
drupal/core 11.2.3 requires symfony/http-foundation (^7.3)
drupal/legacy-project - does not require symfony/http-foundation (but v6.4.24 is installed)
drupal/core 11.2.3 requires symfony/http-kernel (^7.3)
drupal/legacy-project - does not require symfony/http-kernel (but v6.4.24 is installed)
drupal/core 11.2.3 requires symfony/mailer (^7.3)
drupal/legacy-project - does not require symfony/mailer (but v6.4.24 is installed)
drupal/core 11.2.3 requires symfony/mime (^7.3)
drupal/legacy-project - does not require symfony/mime (but v6.4.24 is installed)
drupal/core 11.2.3 requires symfony/routing (^7.3)
drupal/legacy-project - does not require symfony/routing (but v6.4.24 is installed)
drupal/core 11.2.3 requires symfony/serializer (^7.3)
drupal/legacy-project - does not require symfony/serializer (but v6.4.24 is installed)
drupal/core 11.2.3 requires symfony/validator (^7.3)
drupal/legacy-project - does not require symfony/validator (but v6.4.24 is installed)
drupal/core 11.2.3 requires symfony/process (^7.3)
drupal/legacy-project - does not require symfony/process (but v6.4.24 is installed)
drupal/core 11.2.3 requires symfony/polyfill-iconv (^1.32)
drupal/legacy-project - does not require symfony/polyfill-iconv (but v1.31.0 is installed)
drupal/core 11.2.3 requires symfony/yaml (^7.3)
drupal/legacy-project - does not require symfony/yaml (but v6.4.24 is installed)
drupal/core 11.2.3 requires twig/twig (^3.21.0)
drupal/legacy-project - does not require twig/twig (but v3.20.0 is installed)
drupal/core 11.2.3 requires doctrine/annotations (^2.0)
drupal/legacy-project - does not require doctrine/annotations (but 1.14.4 is installed)
drupal/core 11.2.3 requires symfony/psr-http-message-bridge (^7.3)
drupal/legacy-project - does not require symfony/psr-http-message-bridge (but v6.4.24 is installed)
Not finding what you were looking for? Try calling `composer update "drupal/core:^11" --dry-run` to get another view on the problem.
https://github.com/drupal/recommended-project - отсюда возьмите файлы
composer.json и composer.lock.
В их директории выполните
composer install
Потом
установите композером все контриб модули,
перенесите кастомные темы (возможно модули),
поставьте библиотеки,
файлы перенесите
дайте новому сайту копию БД от старого и выполните update.php
файлы перенесите
это какие фалы имеется ввиду ?
Содержимое директории файловой системы.
Без папок
js
css
php
styles