I tried using zip and tarballs from github for downloadables in the manifest. (https://github.com/discipolo/pushtape_news/tarball/7.x-3.0-rc8)
that throws the same error as trying to download e.g. Jplayer library from
http://jplayer.org/latest/jQuery.jPlayer.2.1.0.zip

namely: "Cannot extract temporary://update-cache-6e795033/whatever , not a valid archive."

pointing to the manually created files somewhere works though...is this happening to anyone else or is it me?

Comments

sylus’s picture

Hey I have seen the same error using a tarball from github.I don't think this error has to do with app_server though rather the app module. The problem has to do with how app.installer.inc handles the download url in github. The apps module (update manager) expects that the url contains the last value to be filename.tar.gz instead of /tarball/master.

For instance the full filename.tar.gz works because the following variables are set correctly:

url: "http://ftp.drupal.org/files/projects/views_slideshow-7.x-3.0.tar.gz"
extract_directory: "temporary://update-extraction-3c17bb3b/app"
locale_cache: "temporary://update-cache-3c17bb3b/views_slideshow-7.x-3.0.tar.gz"
type: app

However these are the variables when dealing with github without a full filename instead /tarball/master

url: "https://github.com/projectname/tarball/master"
extract_directory: "temporary://update-extraction-3c17bb3b/app"
locale_cache: "temporary://update-cache-3c17bb3b/master"
type: app

The error itself has been traced to: archiver_get_archiver in update_manager_archive_extract

sylus’s picture

Status: Active » Closed (duplicate)

Moved the issue to the app module at: http://drupal.org/node/1571428