Drupal quick install: fails at running drush

Hi team,

In hestia 1.9.4, I picked Drupal for a quick install and selected php v8.3. The installation failed with this error message.

Could not open input file: '/xxx/xxx/web/xxx/public_html/vendor/drush/drush/drush' Error: cmd exited with errors

I had a look at the existing tickets, such as Unable to install Drupal 11 (latest) using Quick Install App , I checked the files, but php 8.3 option already exists.

Any clue ?

Hi,

Try this patch (as root):

cd /usr/local/hestia/web/src/app/WebApp/Installers/Drupal/
mv DrupalSetup.php DrupalSetup.php.ori
curl -fsSLm15 https://7j.gg/drupatch -o DrupalSetup.php

After that, remove all files in the public_html dir (replace USER and DOMAIN with the actual data).

rm -rf /home/USER/web/DOMAIN/public_html/.*
rm -rf /home/USER/web/DOMAIN/public_html/*

Now try to install Drupal again.

2 Likes

Thanks a lot @sahsanu ! Drupal installed successfully.

2 Likes