将 Drupal 8.9.13 迁移到 9.0.1 的问题
Issues Migrating Drupal 8.9.13 to 9.0.1
我正在尝试从 8.9.13 更新到 9.0.1(通常打算迁移到 9,而不是特定的 9.0.1)
它在作曲家网站上。
我是 运行:
composer require drupal/core:^9.0.1 drupal/core-dev:^9.0.1 --update-with-all-dependencies
我一直运行反对以下错误:
Problem 1
- drupal/loft_data_grids is locked to version 1.3.0 and an update of this package was not requested.
- drupal/loft_data_grids 1.3.0 requires drupal/core ~8.0 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev] but it conflicts with your root composer.json require (^9.0.1).
Problem 2
- drupal/upgrade_status is locked to version 3.4.0 and an update of this package was not requested.
- drupal/upgrade_status 3.4.0 requires drupal/core ^8.7.0 -> found drupal/core[8.7.0-alpha1, ..., 8.9.x-dev] but it conflicts with your root composer.json require (^9.0.1).
Problem 3
- drupal/backup_migrate is locked to version 5.0.0-rc2 and an update of this package was not requested.
- Conclusion: don't install symfony/process[v4.4.0-BETA1] | install symfony/process[v3.4.39] (conflict analysis result)
- Conclusion: don't install symfony/process v3.4.39 (conflict analysis result)
- Conclusion: don't install drupal/core 9.1.4 (conflict analysis result)
- Conclusion: don't install symfony/process v4.4.0-BETA2 (conflict analysis result)
- Conclusion: don't install symfony/process v4.4.0-RC1 (conflict analysis result)
- Conclusion: don't install symfony/process v4.4.0 (conflict analysis result)
.... remvoed for brevity of symfony/profess v4.4.1 - 4.4.2 - etc until 4.4.19
- Conclusion: don't install symfony/process v4.4.19 (conflict analysis result)
- drupal/recaptcha 3.0.0 requires drupal/captcha ^1.0.0-alpha1 -> satisfiable by drupal/captcha[1.1.0].
- drupal/recaptcha is locked to version 3.0.0 and an update of this package was not requested.
- drush/drush is locked to version 10.3.6 and an update of this package was not requested.
- drupal/captcha 1.1.0 requires drupal/core ^8.8 || ^9 -> satisfiable by drupal/core[9.0.1, ..., 9.2.x-dev].
- drupal/core[9.0.1, ..., 9.2.x-dev] require symfony/process ^4.4 -> satisfiable by symfony/process[v4.4.0-BETA1, ..., 4.4.x-dev].
- Conclusion: don't install symfony/process 4.4.x-dev (conflict analysis result)
谁能帮我解惑一下?
提前致谢!
仔细阅读问题陈述,问题 1:
- drupal/loft_data_grids 1.3.0 requires drupal/core ~8.0
表示Loft Data Grids has a constraint to Drupal 8.x, hence the error. When you follow the link, you will also see that that project doesn't have a Drupal 9 release, so that is blocking your upgrade already. Try and apply the patches from either Drupal 9 Readiness or Automated Drupal 9 compatibility fixes.
这同样适用于问题 2Upgrade Status,尽管您在 Drupal 9 中不需要此模块,因此请考虑在升级前删除此模块:
- drupal/upgrade_status 3.4.0 requires drupal/core ^8.7.0
我建议您在尝试 运行 Composer 升级命令到 Drupal 9 之前首先修复尚未为 Drupal 9 准备好的一般模块约束,因为它们都会以类似的方式停止升级方式。
请参阅 Apply Drupal 9 compatibility patches with Composer and Require v8 only contrib module with v9 patch 以解决尚未标记为 Drupal 9 版本但具有可应用补丁的 Drupal 8 模块。
我正在尝试从 8.9.13 更新到 9.0.1(通常打算迁移到 9,而不是特定的 9.0.1)
它在作曲家网站上。
我是 运行:
composer require drupal/core:^9.0.1 drupal/core-dev:^9.0.1 --update-with-all-dependencies
我一直运行反对以下错误:
Problem 1
- drupal/loft_data_grids is locked to version 1.3.0 and an update of this package was not requested.
- drupal/loft_data_grids 1.3.0 requires drupal/core ~8.0 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev] but it conflicts with your root composer.json require (^9.0.1).
Problem 2
- drupal/upgrade_status is locked to version 3.4.0 and an update of this package was not requested.
- drupal/upgrade_status 3.4.0 requires drupal/core ^8.7.0 -> found drupal/core[8.7.0-alpha1, ..., 8.9.x-dev] but it conflicts with your root composer.json require (^9.0.1).
Problem 3
- drupal/backup_migrate is locked to version 5.0.0-rc2 and an update of this package was not requested.
- Conclusion: don't install symfony/process[v4.4.0-BETA1] | install symfony/process[v3.4.39] (conflict analysis result)
- Conclusion: don't install symfony/process v3.4.39 (conflict analysis result)
- Conclusion: don't install drupal/core 9.1.4 (conflict analysis result)
- Conclusion: don't install symfony/process v4.4.0-BETA2 (conflict analysis result)
- Conclusion: don't install symfony/process v4.4.0-RC1 (conflict analysis result)
- Conclusion: don't install symfony/process v4.4.0 (conflict analysis result)
.... remvoed for brevity of symfony/profess v4.4.1 - 4.4.2 - etc until 4.4.19
- Conclusion: don't install symfony/process v4.4.19 (conflict analysis result)
- drupal/recaptcha 3.0.0 requires drupal/captcha ^1.0.0-alpha1 -> satisfiable by drupal/captcha[1.1.0].
- drupal/recaptcha is locked to version 3.0.0 and an update of this package was not requested.
- drush/drush is locked to version 10.3.6 and an update of this package was not requested.
- drupal/captcha 1.1.0 requires drupal/core ^8.8 || ^9 -> satisfiable by drupal/core[9.0.1, ..., 9.2.x-dev].
- drupal/core[9.0.1, ..., 9.2.x-dev] require symfony/process ^4.4 -> satisfiable by symfony/process[v4.4.0-BETA1, ..., 4.4.x-dev].
- Conclusion: don't install symfony/process 4.4.x-dev (conflict analysis result)
谁能帮我解惑一下?
提前致谢!
仔细阅读问题陈述,问题 1:
- drupal/loft_data_grids 1.3.0 requires drupal/core ~8.0
表示Loft Data Grids has a constraint to Drupal 8.x, hence the error. When you follow the link, you will also see that that project doesn't have a Drupal 9 release, so that is blocking your upgrade already. Try and apply the patches from either Drupal 9 Readiness or Automated Drupal 9 compatibility fixes.
这同样适用于问题 2Upgrade Status,尽管您在 Drupal 9 中不需要此模块,因此请考虑在升级前删除此模块:
- drupal/upgrade_status 3.4.0 requires drupal/core ^8.7.0
我建议您在尝试 运行 Composer 升级命令到 Drupal 9 之前首先修复尚未为 Drupal 9 准备好的一般模块约束,因为它们都会以类似的方式停止升级方式。
请参阅 Apply Drupal 9 compatibility patches with Composer and Require v8 only contrib module with v9 patch 以解决尚未标记为 Drupal 9 版本但具有可应用补丁的 Drupal 8 模块。