Closed (duplicate)
Project:
Drush
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2008 at 17:03 UTC
Updated:
14 Apr 2009 at 17:27 UTC
This problem occurred while updating the archive module, but may apply to other module updates as well.
Symptom - after doing drush.php pm update, the whole "sites" directory disappears and the website stops functioning. The contents of the "sites" directory gets moved to the backup/modules/date/modulename directory. In my case, modulename was archive.
Details -I traced through the drush_pm.module code and found that $project['path'] for the module was being set to "sites" (line 261) instead of the actual path to the module (sites/all/modules/archive).
I can dig further and attempt to find the problem, but wanted to post this first in case there was a known solution.
Thanks
Comments
Comment #1
fen commentedI have the same issue with both Drubal 5 and 6 versions of drush
Comment #2
klausiSorry for cross posting, I didn't see this issue when I filed a similar bug report: #368992: Removal of whole sites folder on update with custom module names
Comment #3
moshe weitzman commented