Closed (fixed)
Project:
Drush
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2008 at 08:48 UTC
Updated:
14 Apr 2009 at 17:29 UTC
Hello
I have set up drush on an ubuntu server running drupla 5.10 and php5.
I ran sudo drush pm update which told me i have an out of date module. when pushing yes I ge tthe following error;
drush: failed to backup project directory /var/ww/drupal to /var/www/drupal/backup/modules/20080821093833/insertframe
The back directory exisits and it has created the modules and 200808.. directory below it.
Any ideas?
Comments
Comment #1
gregglesNo idea, really, but this is a slightly better title.
Comment #2
Frando commentedSomehow, drush is getting a wrong path to backup - it's apparently trying to backup /var/www/drupal instead of the directory of the module that's about to be udpated.
Please re-run it with the -v flag for more verbose output and post here again if the problem persists.
Comment #3
miiimoooCheck out this and let me know if it helps - #305489: drush and multi-site and update/backup - It's for the drupal 6 version but probably very similar
Comment #4
starbow commentedI am getting this problem too, with drush 6.x-1.1, but only when it tries to update themes. Updating modules works fine. I tried miimooo's patch, but it did not help.
Comment #5
ari-meetai commentedOk, I did this and what I get is the backup directory with the dreaded "99 99" (nobody nobody) owner and group with 775 permissions. Then, i can't even delete that folder (not rename, not copy anything inside).
Comment #6
grendzy commentedSame issue here. The verbose output is below:
Comment #7
jdblank commentedI am having this issue on 6.x-1.x-dev. Any help in solving would be much appreciated.
Comment #8
grendzy commentedjdblank: Try the patch in #324803: cvsmethod=update fails because backup removes the original project
It's not actually a direct fix for this issue (they seem like different problems IMHO), but it will function as a workaround since it skips backups when CVS updates are happening.
Comment #9
jdblank commentedOK i will try this although we are using wget method not cvs
Comment #10
grendzy commentedAh sorry, my mistake. If using wget I doubt that patch will be of much help to you.
BTW I'm removing the "needs more info" status since that was a request for
-voutput which we have now...Comment #11
moshe weitzman commented