Skip to main content
Post Closed as "Duplicate" by kenorb, DRUPWAY, Adrian Cid Almaguer, mradcliffe, avpaderno 7
MOre info
Source Link
TBJ
  • 616
  • 5
  • 18

As stated in this answer Drush needs to find the settings.php file in order to work. My problem is that the settings.php file is indeed in the right folder (and I have navigated to the Drupal root folder before issuing the Drush commands), but it still does not work to update modules with drush. I just get the message that Command pm-update needs a higher bootstrap level to run. It even states itself that the Drupal settings file is located in sites/default/settings.php.

This is the error message:

C:\wamp\www>drush ups
Command pm-updatestatus needs a higher bootstrap level to run - you      [error] will need to invoke drush from a more functional Drupal environment
to run this command.
The drush command 'ups' could not be executed.                           [error]

Drush was not able to start (bootstrap) the Drupal database.             [error]

I have also followed the instructions in this post, with no luck.

What else can I try?

As stated in this answer Drush needs to find the settings.php file in order to work. My problem is that the settings.php file is indeed in the right folder (and I have navigated to the Drupal root folder before issuing the Drush commands), but it still does not work to update modules with drush. I just get the message that Command pm-update needs a higher bootstrap level to run. It even states itself that the Drupal settings file is located in sites/default/settings.php.

I have also followed the instructions in this post, with no luck.

What else can I try?

As stated in this answer Drush needs to find the settings.php file in order to work. My problem is that the settings.php file is indeed in the right folder (and I have navigated to the Drupal root folder before issuing the Drush commands), but it still does not work to update modules with drush. I just get the message that Command pm-update needs a higher bootstrap level to run. It even states itself that the Drupal settings file is located in sites/default/settings.php.

This is the error message:

C:\wamp\www>drush ups
Command pm-updatestatus needs a higher bootstrap level to run - you      [error] will need to invoke drush from a more functional Drupal environment
to run this command.
The drush command 'ups' could not be executed.                           [error]

Drush was not able to start (bootstrap) the Drupal database.             [error]

I have also followed the instructions in this post, with no luck.

What else can I try?

Source Link
TBJ
  • 616
  • 5
  • 18

Cannot update modules with drush – needs higher bootstrap level

As stated in this answer Drush needs to find the settings.php file in order to work. My problem is that the settings.php file is indeed in the right folder (and I have navigated to the Drupal root folder before issuing the Drush commands), but it still does not work to update modules with drush. I just get the message that Command pm-update needs a higher bootstrap level to run. It even states itself that the Drupal settings file is located in sites/default/settings.php.

I have also followed the instructions in this post, with no luck.

What else can I try?