Unable To Install Drupal using Quick Install App

Hello,

I am unable to install Drupal using Quick Install App.

System Configuration:
Hestia CP: v1.6.14
OS: Debian 11.6 (x86_64)
Default Installation

Error Message:

/composer.json has been updated Running composer update drush/drush 
Loading composer repositories with package information 
Updating dependencies 
Your requirements could not be resolved to an installable set of packages. 
Problem 1 - drush/drush[10.0.0, ..., 10.3.5] require composer/semver ^1.4 -> found composer/semver[1.4.0, ..., 1.7.2] but the package is fixed to 3.3.2 (lock file version) by a partial update and that version does not match. 
Make sure you list it as an argument for the update command. - drush/drush[10.3.6, ..., 10.6.2] require psr/log ~1.0 -> found psr/log[1.0.0, ..., 1.1.4] but the package is fixed to 3.0.0 (lock file version) by a partial update and that version does not match. 
Make sure you list it as an argument for the update command. - Root composer.json requires drush/drush ^10 -> satisfiable by drush/drush[10.0.0, ..., 10.6.2]. 
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. 
Installation failed, reverting ./composer.json and ./composer.lock to their original content. 
Error: cmd exited with errors

It looks the have been updated and require at least php8.1

I have set php 8.1 for the domain.

But composer installs them as php8.0 or even PHP7.4 for some reason…

See PR should fix the issue

2 Likes

Did you ever resolve this issue?

See PR… Will get fixed during the next release

2 Likes

I have used composer to install Drupal 10.

cd /home/username/web/example.com/public_html
/home/username/.composer/composer create-project drupal/legacy-project './'
1 Like

Thank you so much.
Hope this will be fixed in the next release.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.