I am downloading a dev version of the Drush Search & Replace module via

drush dl sar-7.x-2.x-dev

And then trying to enable it

drush en sar

But returns contradicting options. First it says the project was not found, and then asks to overwrite the project that was downloaded previously

drush en sar
sar was not found.                                                                                                                   [warning]
The following projects provide some or all of the extensions not found:                                                              [ok]
Would you like to download them? (y/n): y
Install location /home/ubuntu/.drush/sar already exists. Do you want to overwrite it? (y/n):

Using drush 5.10.0

1 Answer 1


You need to clear drush cache. I have seen this same thing before, where I try to do a drush action from a module and am told the action is not available. Then a drush pm-list | grep "module" shows me it is enabled.

drush cc drush
drush en sar

As we say around my office daily, "When in doubt, clear cache." If this is not working, then take a step back and verify your assumptions.

We assume the download succeeded, so we should be able to find the module in a "not installed" state. Verify with drush:

drush pm-list | grep "sar"

We assume drush handled the download properly, try again with another folder. Verify with drush:

drush dl sar --destination="sites/all/modules"


I assumed, since you were asking about enabling, that this was a site module. After downloading it on my local system I see that this is a drush command package, and that [user]/.drush/sar is correct. Verify the module does not need enabled and is already working with:

drush help sar
  • Just tried that, but hasn't seemed to have any effect unfortunately. Have a feeling it's the old drush version, will look into upgrading Sep 14, 2016 at 15:52
  • do you see sar listed with drush pm-list | grep "sar" ? Sep 14, 2016 at 16:22
  • I didn't unfortunately Sep 14, 2016 at 17:09
  • @JosephYoung this kind of module does not need enabled. Sep 14, 2016 at 18:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.