I'm on a Media Temple DV with drush-5.0-dev installed and I am getting this error when I try to install Drupal 7.0. I installed drush to /var/www/vhosts/neetzstudios.com/drush/drush but i'm not sure that is the proper place , I tried /drush/drush as well with the same results.
# drush dl drupal-7.0
Source directory /tmp/drush_tmp_1300349867/drupal is not readable or does not exist.
Project drupal (7.0) could not be downloaded to /var/www/vhosts/neetzstudios.com/httpdocs/drupal.
My drush status
PHP config : /etc/php.ini
Drush Version : 5.0-dev
I downloaded drush-7.x.4.4 and drush dl drupal-7.0 with success so I know this has to be a bug with the new dev version.
Comments
Comment #1
kotnik commentedFix for this has been commited on March 12th, please see #1078318: dl of drupal project not working - Source directory /tmp/drush_tmp_1298986465/drupal is not readable or does not exist. .
Comment #2
anon100101001 commentedComment #3
j. ayen green commentedI just updated:
Drush successfully updated to version All-versions-5.x-dev
and get this:
# drush dl drupal-7.x
Source directory /tmp/drush_tmp_1301191398/drupal is not readable or [error]
does not exist.
Project drupal (7.x-dev) could not be downloaded to [error]
/var/www/mydomain/drupal.
Comment #4
j. ayen green commentedComment #5
kotnik commentedAyen,
All-versions-5.x-dev version is still affected, this has been fixed in HEAD. You can grab it here: http://ftp.drupal.org/files/projects/drush-All-Versions-HEAD.tar.gz
Comment #6
droomagentur commentedsorry to reopen but the problem is not solved (at least not for me) with the HEAD archive kotnik posted, I still get
Source directory /tmp/drush_tmp_1301418210/drupal is not readable or does not exist.
OS is Ubuntu (latest stable all updates, including PHP, server etc.)
Comment #7
doublejosh commentedYep. Same problem here. Drush 4.2
"drush self-update" to 4.4 fixes this problem.
Comment #8
greg.1.anderson commentedPlease confirm against 5.x HEAD and close if fixed.
Comment #9
loopduplicate commented#7 worked for me too.
Ubuntu 11.04.
Comment #10
greg.1.anderson commentedActually, #6 is a duplicate of #704848: Command getting run twice, which is fixed in 5.x-dev. Marking this 'fixed', as the other issue seems to be cleared up too.
Comment #12
toulon commentedNot to reopen an closed issue, it is still an issue with the Drush version 5.0-dev. I removed 5.0 and reinstalled Drush version 4.4 and the error went away.
$ drush status
PHP configuration : /etc/php.ini
Drush version : 5.0-dev
Drush configuration :
Drush alias files :
$ cd /var/www/html/joe2
joe2 $ drush dl drupal
Source directory /tmp/drush_tmp_1311085075/drupal is not readable or does not exist.[error]
Project drupal (7.4) could not be downloaded to /var/www/html/joe2/drupal. [error]
$ drush self-update
A newer version of drush, All-versions-4.x-dev (2011-Jul-18), is available. Would you like to back up your current drush, version 5.0-dev, to /root/drush-backups/drush/20110719142137 and replace it with the newer release? (y/n): y
drush backed up to /root/drush-backups/drush/20110719142137/drush [ok]
Project drush (All-versions-5.x-dev) downloaded to /usr/local/bin/drush. [success]
Drush successfully updated to version All-versions-5.x-dev. [success]
~ $ drush dl drupal
Source directory /tmp/drush_tmp_1311085313/drupal is not readable or does not exist.[error]
Project drupal (7.4) could not be downloaded to /root/drupal.
~ $ cd /usr/src/
src $ mkdir drush
src $ cd drush/
drush $ wget http://ftp.drupal.org/files/projects/drush-7.x-4.4.tar.gz;
drush $ mv /usr/local/bin/drush /usr/local/bin/drush.071911
drush $ tar -xzf drush-7.x-4.4.tar.gz
drush $ mv drush /usr/local/bin/
drush $ drush status
PHP configuration : /etc/php.ini
Drush version : 4.4
Drush configuration :
Drush alias files :
drush $ cd /var/www/html/joe2
joe2 $ drush dl drupal
Project drupal (7.4) downloaded to /var/www/html/joe2/drupal-7.4. [success]
Project drupal contains: [success]
- 3 profiles: minimal, testing, standard
- 4 themes: bartik, seven, garland, stark
- 47 modules: statistics, filter, contextual, poll, rdf, overlay, php, profile,
dblog, user, comment, color, update, tracker, book, image, openid, help, aggregator,
path, toolbar, list, options, number, field_sql_storage, text, field, node,
translation, trigger, blog, contact, block, forum, file, simpletest, locale, syslog,
shortcut, field_ui, search, menu, taxonomy, dashboard, system,
drupal_system_listing_compatible_test, drupal_system_listing_incompatible_test
joe2 $ ls
drupal-7.4
Comment #13
greg.1.anderson commentedFollow the git instructions to get drush-5.x-dev, or
drush dl drush --select. This is definitely fixed in master.Comment #14
xjmThe 5.x archive has not been updated since February; perhaps this is part of the problem?
Comment #15
greg.1.anderson commentedYes, you are right. Following the git instructions will get you master, but
drush dl drush --selectwill only get you published releases. You could also dodrush dl drush --select --package-handler=git_drupalorg, followed bygit pullfrom your drush directory.Comment #16
waynedpj commentedfor those who are experiencing this issue, but like me had no idea what the "git instructions" are, take a look here:
http://drupal.org/node/97249/git-instructions/master
and follow the instructions under
One-Time Onlyto get the latest drush version via git.thanks to the original posters for the info.
finally: any chance the HEAD package will get updated any time soon?
peace
Comment #17
pimok3000 commentedReverting back to drush 4.5 solves the problem that is still there in 5.0-dev version.
Comment #19
RobertoGA commenteddrush self-update fix my problem,
Drush was upgrated to v.7.x-4.5
Thanks doublejosh
Comment #20
selfuntitled commentedI was having similar problems, with a slightly different error. The solution I found: cpanel had created a symlink from www to public_html and somehow that link got copied inside my public_html folder and thus broken. For whatever reason, Drush was trying to follow the link to get to downloaded files, and, sure enough, they were not found. Deleting the symlink solved the problem.
Comment #21
paskainos commentedI was experiencing the same issue. I ran
drush self-update(from 7.x-4.6 to 7.x-5.4) and the problem appears to be remedied.Comment #22
marcoscanoSorry if not right place or different issue, but I just turned into the same problem with drush version 6.1.0.
When I try to use "drush make makefile.make sitename", I get:
For reference, in another environment with drush 5.9 this error doesn't occur.
In the environment with the problem (ubuntu), drush was installed using:
apt-get install php-pear
pear channel-discover pear.drush.org
pear install drush/drush
Comment #23
greg.1.anderson commentedPlease report on github: https://github.com/drush-ops/drush
There are open Make issues there; please search for duplicates, and back-link any you find to this issue. Close this issue as a duplicate if you find a dup on GitHub, or open a new one.
Comment #24
mariacha1 commentedThis issue is reported on Github here:
https://github.com/drush-ops/drush/issues/162
Closing this issue as a duplicate.
Comment #25
yaach commentedI was getting this same error:
In my case, I was creating a make file and I found out that I was downloading a sub module from a module that was already downloaded few lines above in the make file. That is, when setting a project on make file, drush make downloads all its sub modules, so you dont have to explicitly add them on the make file.
Thought to share this in case it relates to some of the problems above.
Comment #26
dasginganinjaI really hate to necro an old thread but wanted to put a tip in that worked for myself.
I have a bunch of repositories hosted on BitBucket that house custom modules/themes. What I needed to do for these custom elements was declare what type they were, similar to:
projects[xyz_base_install][type] = "module"Once I did that everything worked as expected.