我正在尝试从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对Drupal 8有约束。X,因此有误差。当您点击链接时,您还会看到该项目没有Drupal 9版本,因此这已经阻碍了您的升级。尝试应用Drupal 9 Readiness或Automated Drupal 9 compatibility fixes中的补丁。
同样适用于问题2升级状态,尽管在Drupal 9中不需要这个模块,所以在升级之前考虑删除这个模块:
- drupal/upgrade_status 3.4.0 requires drupal/core ^8.7.0
我建议您在尝试向Drupal 9运行Composer升级命令之前,首先修复Drupal 9中尚未准备好的模块约束,因为它们都将以类似的方式停止升级。
请参阅应用Drupal 9兼容性补丁与Composer和要求v8只贡献模块与v9补丁,以绕过Drupal 8模块尚未标记为Drupal 9版本,但有一个补丁可以应用。