1

Using my own non-root account I installed Drush on my Ubuntu 14.04 server using the following:

sudo apt-get install drush

My problem is whether I use sudo or not with the same user account, I get Could not download project status information from http://updates.drupal.org/release-history/drupal/7.x as the following shows:

axel@ITS-DEV-SVR:/var/www$ drush dl drupal-7.34
Could not download project status information from                   [error]
http://updates.drupal.org/release-history/drupal/7.x
axel@ITS-DEV-SVR:/var/www$ sudo drush dl drupal-7.34
Could not download project status information from                   [error]
http://updates.drupal.org/release-history/drupal/7.x
axel@ITS-DEV-SVR:/var/www$ 

Are there settings, permissions Can anyone please offer some insight into how to resolve this?

UPDATE:

The server is Ubuntu 14.04.1 LTS.

Below is the output of executing a drush download in verbose mode.

drush -v dl drupal-7.34
Loading version_control engine.                                         [notice]
Loading package_handler engine.                                         [notice]
Executing: wget --version
Loading release_info engine.                                            [notice]
Downloading release history from                                        [notice]
http://updates.drupal.org/release-history/drupal/7.x
Executing: wget --version
Executing: wget -q --timeout=30 -O /tmp/download_filectSEpS http://updates.drupal.org/release-history/drupal/7.x
Undefined variable: xml updatexml.inc:404                               [notice]
Could not download project status information from                   [error]
http://updates.drupal.org/release-history/drupal/7.x
Command dispatch complete                                               [notice]

UPDATE#2

It's worth adding that the website is configured as a multisite even though it's running a single website

6
  • Can you try the verbose version of drush drush -v dl drupal-7.34 and paste the output. It has worked for me. – mkc Feb 17 '15 at 15:59
  • @Ketan: I added feedback to my question – sisko Feb 17 '15 at 16:36
  • It looks like a php version issue: drupal.org/node/1402120 – mkc Feb 17 '15 at 17:27
  • @sisko : what's the current status of this question? Do you ever find out what the problem/solution was? – Pierre.Vriens May 10 '15 at 13:08
  • @Pierre.Vriens: Its the same. I believe it's due to settings.php not being in the usual place because the site is a multisite configuration – sisko May 10 '15 at 16:50
0

If it is a multi-site installation, then Drush needs to know to which "site" (one of the multi-sites supported by the Drupal instance) the Drush command is to be applied.

Therefor make sure to FIRST navigate to the subfolder "sites". Try to run the same Drush command(s). I believe it will then assume you want the sites/all subfolder to be updated. If you still have the same issue, then try to navigate to the sites subfolder "default" (or any other subfolder corresponding to any of the other sites related to this multi-sites setup, and try again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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