I got errors when installing openacademy, and after when trying to install each app separately:

HTTP error -1 occurred when trying to fetch http://apps.chapterthree.com/sites/all/apps/openacademy_people-7.x-1.0-b...

I downloaded the app from URL directly "successfully" and got an error when trying to untar: "not in gzip format"

Comments

hgneng’s picture

Priority: Normal » Critical

I get the same error in beta1 version too. Here is the full error messages:

HTTP error -1 occurred when trying to fetch http://apps.chapterthree.com/sites/all/apps/openacademy_people-7.x-1.0-beta1.tar.gz.
HTTP error -1 occurred when trying to fetch http://apps.chapterthree.com/sites/all/apps/openacademy_publications-7.x-1.0-beta1.tar.gz.
Downloading updates failed:
Failed to download openacademy_people from http://apps.chapterthree.com/sites/all/apps/openacademy_people-7.x-1.0-beta1.tar.gz
Failed to download openacademy_publications from http://apps.chapterthree.com/sites/all/apps/openacademy_publications-7.x-1.0-beta1.tar.gz
There was an error installing openacademy_core app.
There was an error installing openacademy_courses app.
There was an error installing openacademy_events app.
There was an error installing openacademy_news app.
There was an error installing openacademy_people app.
There was an error installing openacademy_publications app.

If I manually download the files, it works. But the files are in tar format NOT tar.gz. I guess "z" option is missed when compress. So extract it with `tar xvf xxx.tar.gz`.

HunterElliott’s picture

I, too, have errors when trying to install the apps. I even went to their app server to d/l the files and install manually. Every app's tarball, except for the OA "core", were corrupted. I've dropped a note to Chapter Three to see if this will be corrected, but have not heard back from them yet.

HunterElliott’s picture

FYI, I found the URL for their appserver w/in one of the .info files. If you go to http://apps.chapterthree.com/fserver you can d/l the apps individually, but as I mentioned (at least for me), every .tar.gz file was corrupted and would not open (except for the Core file). I'd be interested if these d/l as corrupt for anyone else.

HunterElliott’s picture

Just heard back from Chapter Three. They have known these files were corrupt since they were uploaded, and instead of uploading non-corrupted versions they say: "We recommend that you evaluate Open Academy on Pantheon since that is a known working process. There are certainly some [sic] wierd things happening on the apps/features server, but our team is waiting on a new version of those tools to come out to update since this is something that should be better handled upstream."

So... it seems that they'll offer up corrupted files for those who want to use this on their own servers, but offer working versions for those who will pay for it on their hosting systems. I don't begrudge someone asking for money for their products, but don't offer "broken" versions to push folks to the "working" versions that they must pay for.

bwood’s picture

Bringing up a dev/test site on Pantheon is free. You don't pay until you go live. You can export the dev site from their service and move it to any hosting that you want.

I installed Open Academy on my localhost stack and I didn't have this problem. That was about 2 weeks ago. I will try to remember to report back here the next time I do a non-Pantheon install of OA.

HunterElliott’s picture

Bwood, you don't need to even do an install to test this. Just go to the link I posted above and download one of the .tar.gz files (any of them other than the Core app). Can you even get the file to open/extract? I certainly cannot. All the apps coming from the Pantheon fserver are fine and the core module from Chapter 3 are fine... it's just those other add-ons from Chapter 3.

hgneng’s picture

> http://apps.chapterthree.com/fserver
This link works. Thanks!

>If I manually download the files, it works. But the files are in tar format NOT tar.gz. I guess "z" option is missed when compress. So extract it with `tar xvf xxx.tar.gz`.
I am afraid that you haven't noticed my solution. The files are not corrupt but they are not in gzip format. Rename *.tar.gz to *.tar will fix the problem.

HunterElliott’s picture

yes, Hgneng, that does let us open up those archive files now... *however* if you open up said archive files, you'll see that Courses, Events, News, People, and Publications are totally empty – no files at all inside the archive file.

No response from Chapter 3 other than being told to use OA as a hosted solution or pay $175 an hour for "troubleshooting."

Looks like I have to go back to using Drupal 6 and the ELMS project now.

hgneng’s picture

Hi HunterElliott,

I don't know why the archives are empty in you case. But it I did setup Openacademy, here is the demo:
http://wa.eguidedog.net/drupals/openacademy/

I've packed those files for download. Please extract it in sites/all/modules before running install wizard.
http://wa.eguidedog.net/drupals/openacademy/sites/default/files/openacad...

nickvidal’s picture

@hgneng
You are right! Renaming to .tar works!

@HunterElliott
I agree with you! The problem has been identified. Fixing this is easy. Chapter Three only needs to upload non-corrupted versions to make it work for everybody.

mrf’s picture

There is no plot to force people to use Pantheon here, looks like a bug with the app server.

Pantheon isn't a perfect fit for everyone, it is just the simplest and easiest way to get a working copy of Open Academy up and running right now while we're in beta. The app code in your local pantheon repo is the same you would have after extracting these archives so you should be perfectly fine just copying that over if you're still having issues with these archives.

I'll take a look at this issue and see if there is anything that can be done our end, but remember the app server itself is still in beta and may have issues of its own http://drupal.org/project/appserver

nickvidal’s picture

Thanks mrf for looking into this. I'm not sure if the following issue is related:

http://drupal.org/node/1551768

mrf’s picture

Priority: Critical » Normal

Reading #1571428: Cannot use archives that do not extract to folder named after downloadable this seems to be the same error people are experiencing here.

Setting status back to normal because it is still possible to install and use apps.

askandlearn’s picture

When you say "it is still possible to install and use apps." Do you mean:

  1. Download this file: http://wa.eguidedog.net/drupals/openacademy/sites/default/files/openacad...
  2. Uncompress the file
  3. Put the uncompressed folders inside mysite/sites/all/modules/
  4. Go to Menu/Apps/OpenAcademy Apps/individual app
  5. Enable App for each app
  6. Go to to Menu/People/Permissions/ enable all the little checkboxes for the admin role
  7. Proceed to develop the site

?

Are these the correct steps or am I making this more complex than it actually is?

Thanks for any clues.

mrf’s picture

Status: Active » Postponed (maintainer needs more info)

Please re-open if anyone is still running into these same app installation issues with beta3.

jurriaanroelofs’s picture

Status: Postponed (maintainer needs more info) » Active

The Panopoly apps were reported to be downloaded succesfully but the open acadamy apps:


    HTTP error 503 occurred when trying to fetch http://apps.chapterthree.com/sites/all/apps/openacademy_publications-7.x-1.0-beta1.tar.gz.
    Downloading updates failed:
        Failed to download openacademy_publications from http://apps.chapterthree.com/sites/all/apps/openacademy_publications-7.x-1.0-beta1.tar.gz
    There was an error installing openacademy_core app.
    There was an error installing openacademy_courses app.
    There was an error installing openacademy_events app.
    There was an error installing openacademy_news app.
    There was an error installing openacademy_people app.
    There was an error installing openacademy_publications app.

mrf’s picture

Status: Active » Postponed (maintainer needs more info)

Jurrian you are seeing a different issue caused by the server not responding, I don't think it is related to the above at all.

jurriaanroelofs’s picture

I think the download urls in the installer were wrong, not sure though.

mrfelton’s picture

Assigned: Unassigned » mrfelton
Status: Postponed (maintainer needs more info) » Fixed

All apps are now hosted on drupal.org, and they are included in the distribution and referenced via a local apps server. Please refer to the notes on http://www.systemseed.com/blog/reviving-open-academy for details (under the heading 'A local Apps server'). There is no longer any reliance on Chapter Three's app server or Pantheon in the latest code.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.