Tried to update some of my Drupal 7 installation with drush. Some of them were successful while some were not. The error ones generate message like this:
[foobar@server htdocs]$ drush pm-update drupal -y Update information last refreshed: Thu, 02/09/2017 - 15:52 Name Installed Version Proposed version Message Drupal 7.53 7.54 Updates Available Code updates will be made to drupal core. WARNING: Updating core will discard any modifications made to Drupal core files, most noteworthy among these are .htaccess and robots.txt. If you have made any modifications to these files, please back them up before updating so that you can re-create your modifications in the updated version of the file. Note: Updating core can potentially break your site. It is NOT recommended to update production sites without prior testing. Do you really want to continue? (y/n): y Unable to copy /home/foobar/htdocs/drupal-7.54 to [error] /home/foobar/drush-backups/foobar/20170209084742/drupal. Unable to move /home/foobar/htdocs/drupal-7.54 to [error] /home/foobar/drush-backups/foobar/20170209084742/drupal. Failed to backup project directory /home/foobar/htdocs/drupal-7.54 to [error] /home/foobar/drush-backups/foobar/20170209084742/drupal
I've checked the folder "/home/foobar/drush-backups/foobar/20170209084742/drupal". It actually exists with a full copy of the
htdocs folder contents. I have no idea what to expect otherwise.
--debug flag and the output looks like this:
Any suggestion how to fix this problem?