I'm using trying to install the 7.x-3.0-alpha1 version of Views and I get an error:

HTTP error 1 occurred when trying to fetch http://ftp.drupal.org/files/projects/views-7.x-3.0-alpha1.tar.gz.
Unable to retrieve Drupal project from http://ftp.drupal.org/files/projects/views-7.x-3.0-alpha1.tar.gz.

Same issue with the dev version as well.. I dont get this error when I try to download other modules.. I'm downloading the module via "Install from a URL"..

Comments

dawehner’s picture

Project: Views (for Drupal 7) » Drupal core
Version: 7.x-3.0-alpha1 » 7.x-dev
Component: User interface » update.module
Issue tags: -#views

This seems to be a configuration problem/bug of Update module.

callison’s picture

Priority: Major » Normal
Status: Active » Closed (cannot reproduce)

I just did it with no problems whatsoever. If you're still getting this error, please try to be more specific as to what's going on with your setup. Thanks.

mva.name’s picture

Status: Closed (cannot reproduce) » Active

I've same issue (and with the same views module, but with rc3 version) on 7.9.
I've safe_mode enabled, but I allow php to use fopen_url in php.ini.

And I don't see any errors in logs (neither syslog nor error.log of webserver)...

Any ideas?

Kev’s picture

Version: 7.x-dev » 7.10

I'm getting the same issue as described with the latest Drupal version (updated from 7.0 to 7.10).

I try to add some more infos about my case:

Howto reproduce:

  1. Go to Administration -> Modules -> Install from url
  2. enter e.g. http://ftp.drupal.org/files/projects/pathauto-7.x-1.0.tar.gz (same with every module)
  3. Press install

I get:

http://ftp.drupal.org/files/projects/pathauto-7.x-1.0.tar.gz could not be saved to temporary://update-cache-6b023fe3/pathauto-7.x-1.0.tar.gz.
Unable to retrieve Drupal project from http://ftp.drupal.org/files/projects/pathauto-7.x-1.0.tar.gz.

as a direct answer. Looking into the log (database or syslog) I will find:

The specified file temporary://fileqjqIvj could not be copied to temporary://update-cache-6b023fe3/pathauto-7.x-1.0.tar.gz.

------ let's have a look at the filesystem -------
I go into the tmp/ directory:

ls -lah fileqjqIvj 
-rw------- 1 drupal drupal 37K 17. Dez 01:18 fileqjqIvj
ls -lah update-cache-6b023fe3/
drwxr-xr-x 2 drupal drupal 4,0K 16. Dez 23:47 .

trying to extract the file to verify download worked:

tar -xzf fileqjqIvj
ls -lah pathauto/
[...]all files of pathauto[...]

------------------

If I delete the update-cache directory in the tmp directory It will be recreated on the next try so there is no permission issue. Also drupal runs as user "drupal" with fcgi.

How can I help debugging this issue? How can I find out why drupal can not copy the file to the update-cache directory? Can I increase the verbosity of the errors in some kind?

Version: 7.10 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.