I'm still somewhat new to all the command line stuff, so I can use some help sorting this one out.

When I attempt to do a "DRUSH UP" command, I get the following:

[warning] Declaration of Drush\Drupal\DrupalKernel::createFromRequest(Symfony\Component\HttpFoundation\Request $request, $class_loader, $environment, $allow_dumping = true) should be compatible with Drupal\Core\DrupalKernel::createFromRequest(Symfony\Component\HttpFoundation\Request $request, $class_loader, $environment, $allow_dumping = true, $app_root = NULL) DrupalKernel.php:46
[error] Command pm-update needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command.
[error] The drush command 'up' could not be executed.
[error] Drush was not able to start (bootstrap) the Drupal database.
Hint: This may occur when Drush is trying to:
* bootstrap a site that has not been installed or does not have a configured database. In this case you can select another site with a working database setup by specifying the URI to use with the --uri parameter on the command line. See `drush topic docs-aliases` for details.
* connect the database through a socket. The socket file may be wrong or the php-cli may have no access to it in a jailed shell. See http://drupal.org/node/1428638 for details.

I seem to see this part about needing a higher bootstrap level, but I'm not clear what that means. How do I raise the "bootstrap level", so that Drush can do what it needs to do? I'm still learning Linux, though I'm relatively solid on DOS, so I'm not completely starting from square one, but from what I can make of this error message, the bootstrap level seems to be the issue. Is there something else here that I'm missing that I should be addressing also?

Thanks.

Comments

VM’s picture

in laymens it means that drush cannot find your drupal install. When this occured in D7, it tended to mean that my drush alias wasn't corrected pointing to the drush file.I haven't yet played much with D8 drush so take the aforementioned lightly.

BEGRAFX’s picture

Ok... uh... I must be doing something wrong, since when I issue the "drush up" command, and get the error message, I'm IN the drupal install folder. As I say, I'm relatively new to the Command Line stuff, so if I'm missing something to tell things where the folder is, I'd appreciate pointers.

Jaypan’s picture

What version of Drush are you using?

BEGRAFX’s picture

9.0-dev

Jaypan’s picture

Maybe try a stable version.

BEGRAFX’s picture

automatically update itself? I thought I had installed version 8-something, but anyhow... OK, do I just install the current stable version overtop, or can you help me through the change-over?

Jaypan’s picture

I can't really help you on that, I've never re-installed it before. The closest I've done is install another version alongside the one I'm using, so that I have Drush for D7 and D8.

I'm sure some googling can help though, there must be uninstall directions out there somewhere.

BEGRAFX’s picture

OK, I'll see what "The Google Fairy" has to say. Thanks.

Jaypan’s picture

Sorry I can't help more!