backdrop-contrib / backdrop-drush-extension

A set of commands and boot class for Drush and Backdrop CMS.
GNU General Public License v2.0
13 stars 18 forks source link

[updb] drush updb broke. #170

Closed serundeputy closed 5 years ago

serundeputy commented 5 years ago

Not sure if it is/was caused by #7 or an upstream change in drush-ops/drush, but I'm trying to hunt it down and fix it.

As a consequence drush up core does not complete successfully, it downloads the updated code but can not perform the updb at the end.

gff ~/code/drush-ops/backdrop-drush/web ((HEAD detached at 1.13.0)) 
└─ $ ∴ lando.dev drush updb
ParseError: syntax error, unexpected ')' in update_main() (line 90 of /app/web/drush/commands/backdrop/includes/environment.inc).
Drush command terminated abnormally due to an unrecoverable error.                                                                                                                                                                                   [error]
gff ~/code/drush-ops/backdrop-drush/web ((HEAD detached at 1.13.0)) 
└─ $ ∴ lando.dev drush updb -v
info: Bootstraping...
info: config bootstrap beginning...
info: config bootstrap completed.
info: tasks bootstrap beginning...
info: tasks bootstrap completed.
info: engine bootstrap beginning...
info: engine bootstrap completed.
info: Bootstrap completed.
Undefined index: description command.inc:1304                                                                                                                                                                                                           [notice]
Undefined index: description command.inc:1304                                                                                                                                                                                                           [notice]
Undefined index: description command.inc:1304                                                                                                                                                                                                           [notice]
Undefined index: description command.inc:1304                                                                                                                                                                                                           [notice]
Undefined index: description command.inc:1304                                                                                                                                                                                                           [notice]
Initialized Backdrop 1.13.2 root directory at /app/web                                                                                                                                                                                                  [notice]
Undefined index: description command.inc:1304                                                                                                                                                                                                           [notice]
Undefined index: description command.inc:1304                                                                                                                                                                                                           [notice]
Undefined index: description command.inc:1304                                                                                                                                                                                                           [notice]
Undefined index: description command.inc:1304                                                                                                                                                                                                           [notice]
Undefined index: description command.inc:1304                                                                                                                                                                                                           [notice]
Initialized Backdrop site drush.lndo.site at .                                                                                                                                                                                                          [notice]
Undefined index: description command.inc:1304                                                                                                                                                                                                           [notice]
Undefined index: description command.inc:1304                                                                                                                                                                                                           [notice]
Undefined index: description command.inc:1304                                                                                                                                                                                                           [notice]
Undefined index: description command.inc:1304                                                                                                                                                                                                           [notice]
Undefined index: description command.inc:1304                                                                                                                                                                                                           [notice]
ParseError: syntax error, unexpected ')' in update_main() (line 90 of /app/web/drush/commands/backdrop/includes/environment.inc).
Drush command terminated abnormally due to an unrecoverable error.                                                                                                                                                                                   [error]
serundeputy commented 5 years ago

fixed in https://github.com/backdrop-contrib/drush/pull/171