Skip to content

Drush up errors with "pm-updatestatus failed"  #1294

@chadmandoo

Description

@chadmandoo

drush up on any site that I try to run fails. I tested it on another co-workers and his fails as well.

drush up
pm-updatestatus failed

I can run any other drush command like drush cc all or even run drush pm-updatestatus but it fails. Added a debug statement in the code and get this:

array(3) {
    'DRUSH_COMMAND_INSUFFICIENT_BOOTSTRAP' =>
    array(1) {
      [0] =>
      string(156) "Command pm-updatestatus needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command."
    }
    'DRUSH_COMMAND_NOT_EXECUTABLE' =>
    array(1) {
      [0] =>
      string(58) "The drush command 'pm-updatestatus' could not be executed."
    }
    'DRUSH_DRUPAL_DB_ERROR' =>
    array(1) {
      [0] =>
      string(1802) "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 shel"...
    }
  }
  'self' =>
  array(3) {
    'root' =>
    string(51) "/Users/cpeppers/Sites/drupal/directlinkadmin/htdocs"
    'uri' =>
    string(36) "http://directlinkadmin.localhost.com"
    'path-aliases' =>
    array(1) {
      '%root' =>
      string(51) "/Users/cpeppers/Sites/drupal/directlinkadmin/htdocs"
    }
  }
  'context' =>
  array(4) {
    'php' =>
    string(12) "/usr/bin/php"
    'backend' =>
    string(1) "2"
    'root' =>
    string(51) "/Users/cpeppers/Sites/drupal/directlinkadmin/htdocs"
    'uri' =>
    string(36) "http://directlinkadmin.localhost.com"
  }
  'site' =>
  string(4) "self"
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions