Running drush up:
/.../
Code updates will be made to drupal core.
WARNING: /.../
Note: /.../Do you really want to continue? (y/n): y
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Class 'Drupal\locale\SourceString' not found in
core/modules/locale/src/StringDatabaseStorage.php, line 226
[~/www/hrana]# drush up drupal
Command pm-update needs a higher bootstrap level to run - you will need to invoke drush from a more [error]
functional Drupal environment to run this command.
The drush command 'up drupal' could not be executed. [error]
So the site and drush got crippled — the core, vendor and libraries dirs are now missing. And all toplevel files; somehow a few folders survived.
Drush Version : 8.1.13
There was only one module update before that and it finished with a success:
Admin Toolbar (admin_toolbar) 8.x-1.25 8.x-1.26 Update available
Comments
Comment #2
lynxlynxlynx commentedComment #3
lynxlynxlynx commentedComment #4
lynxlynxlynx commentedComment #5
lynxlynxlynx commentedComment #6
lynxlynxlynx commentedComment #7
cilefen commentedcore/modules/locale/src/SourceString.php exists in the release and has not changed since May 11 2018. If files are missing because of Drush, that may be more appropriate for the Drush queue.
Comment #8
cilefen commentedAFAIK `drush up` is not supported on the supported version of Drush.
Comment #9
cilefen commentedIf Drush didn't download files, we can't fix that here. Try here, but be aware they may advise you to run Drush 9 and to use Composer.
Comment #10
lynxlynxlynx commenteddrush 8 is still supported:
https://www.drupal.org/docs/8/update/update-core-via-drush
Comment #11
cilefen commentedIt is not according to the Drush maintainers: http://docs.drush.org/en/master/install/.
* I am not a drush expert.
Comment #12
xjmYou should also at least update to Drush 8.1.18; there are many compatibility issues with Drush versions before 8.1.15.
Comment #13
alindebian commentedIt's true. It breaks all my structrure from the site.
I stay on 8.6.7 until this upgrade isnt fixed.
Comment #14
cilefen commentedI don’t think anything is going to “fix” this. You must use a supported Drush versions and procedures.