Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magento downloads are no longer working from magentocommerce.com #722

Closed
hostep opened this issue Nov 4, 2015 · 13 comments
Closed

Magento downloads are no longer working from magentocommerce.com #722

hostep opened this issue Nov 4, 2015 · 13 comments
Labels

Comments

@hostep
Copy link
Contributor

hostep commented Nov 4, 2015

Great, just discovered the url's from magentocommerce.com where you can download Magento are no longer working.
For example these ones no longer work:
http://www.magentocommerce.com/downloads/assets/1.8.0.0/magento-1.8.0.0.tar.gz
http://www.magentocommerce.com/downloads/assets/1.8.1.0/magento-1.8.1.0.tar.gz
...

I have no idea if this is a temporary glitch or not, but maybe you should start looking at using different url's for these versions.

@clegginabox
Copy link

@hostep check the config.yaml file, there are mirrors on Github for some versions.

For example
n98-magerun.phar install --magentoVersionByName='magento-mirror-1.9.2.2'

Work around whilst the URL's get updated

@chedaroo
Copy link

chedaroo commented Nov 4, 2015

Also for the time being, if you can't find a mirror for the version you need then you can add your own repositories / overwrite existing ones as per the docs here https://github.com/netz98/n98-magerun/wiki/Magento-installer

@Schrank
Copy link
Contributor

Schrank commented Nov 4, 2015

Just two cents from my site, there are two options, either use a github mirror (or something alike):
https://github.com/OpenMage/magento-mirror/releases, e.g.
https://github.com/OpenMage/magento-mirror/releases/tag/1.9.2.2

Or use the cool API (which needs an account too :-/)
Thanks https://gist.github.com/piotrekkaminski/9bc45ec84028611d621e

  1. First you need to generate download token. Login to your account on magento.com and generate it
    in Account Settings->Downloads Access Token
  2. You will need your MAGEID as well. It is shown at the top-left in your account page.
  3. curl -k https://MAGEID:TOKEN@www.magentocommerce.com/products/downloads/info/help
  4. Profit!

@tkn98
Copy link
Collaborator

tkn98 commented Nov 4, 2015

Problem with MAGEID is that I don't think we'll want to spread it. Perhaps a magerun-download-account, but I dunno (I know about that method, but thanks for referencing it here, too).

I'll check for the mirrors first. - https://gist.github.com/tkn98/51ae2afa7b1083f28fea

@Schrank
Copy link
Contributor

Schrank commented Nov 4, 2015

right, I don't want to spread it too. My intention was that magerun uses YOUR id, but then you need to configure it. This is crappy, but the official source ...

ktomk added a commit to ktomk/magento-mirror that referenced this issue Nov 4, 2015
This PR is empty and just a short message (as there was no issues) that it would be great if the 1.8.0.0 could be tagged:

    git tag 1.8.0.0 94e611e

if done, please ping me. afterwards I can add these to magerun, magento closed down even more of the public downloads, see netz98/n98-magerun#722

Thanks!
@ktomk
Copy link
Collaborator

ktomk commented Nov 4, 2015

YOUR id does not work well for unattended setups like we have with mage test stand and automatic builds.

and what about the sample data? any mirrors of these?

@Schrank
Copy link
Contributor

Schrank commented Nov 4, 2015

at least not in the API. No clue, wether it is anywhere availabe. I would love to just run a magento mirror. But this would be as trustful as any github mirror.

@tkn98
Copy link
Collaborator

tkn98 commented Nov 5, 2015

@Schrank: We have checksums per the files, so this is not about blind trust but controlled blind trust ;) I dunno how much traffic this creates, we could benefit from a dump because I just realized that not all the packages we have supported in magerun so far are available via token. also the demo data is not available via the token based download REST API. This is all in all quite some chaotic situation, I try to figure something out so we get it running at least again for the moment.

@ericvhileman
Copy link

The magerun token for downloads was suggested and shot down unfortunately: https://twitter.com/aschroder/status/659885608429481984

@fbrnc
Copy link
Contributor

fbrnc commented Nov 6, 2015

Since downloading from magento.com seems to be very fragile I like @clegginabox's suggestion to use Magento mirror instead. (Especially for test runs using MageTestStand the "trust" issue shouldn't be an issue :)
But currently not all magento-ce-* versions we have in n98-magerun are available as magento-mirror-*.
I created an issue for that: #724

@fbrnc
Copy link
Contributor

fbrnc commented Nov 7, 2015

Just tagged 1.8.0.0 in https://github.com/OpenMage/magento-mirror and created a pull request here for #724 to add the that one (and 5 more that were missing) to config.yaml.

@ktomk
Copy link
Collaborator

ktomk commented Nov 7, 2015

Version 1.97.7 of Magerun has just been released addressing this issue. The list of mirror packages has been updated and improved. The install command still has magento-ce packages, but these do still not work. Use the magento-mirror packages instead, the line-up has been improved, here a short view:

  • magento-mirror-1.9.2.2
  • magento-mirror-1.9.2.1
  • magento-mirror-1.9.2.0
  • magento-mirror-1.9.1.1
  • magento-mirror-1.9.1.0
  • magento-mirror-1.9.0.1
  • magento-mirror-1.9.0.0
  • magento-mirror-1.8.1.0
  • magento-mirror-1.8.0.0
  • magento-mirror-1.7.0.2
  • magento-mirror-1.6.2.0
  • magento-mirror-1.5.1.0
  • magento-mirror-1.4.2.0

These packages are provided by Github.

The data-sample packages are now served from a mirror, too. These have been off-loaded into Sourceforge File Release System (FRS) which even offers automatic mirrors across the globe.

At this moment it's hard to say how long this will be the status quo. At least it's now possible to use unattended installs again despite some configuration changes like the name-change are necessary.

@arosenhagen
Copy link
Contributor

FYI see comments on https://gist.github.com/piotrekkaminski/9bc45ec84028611d621e
I managed to get magedownload-cli working within our MageTestStand with encrypted env vars on travis - but for < 1.9.0.0 we still have to rely on OpenMage mirrors since they're not available through the new API.

@hostep hostep closed this as completed Feb 6, 2016
ktomk added a commit to ktomk/n98-magerun that referenced this issue Jul 21, 2017
The "magento-ce" packages are old/outdated packages from the time where
Magento did offer packages to download via HTTP URLs. These downloads
stopped working ca. Nov 2015, see netz98#722.

In a more recent change the historic checksums were changed to the
Openmage mirror archive packages. this change did not only introduce
data-loss to the known data but was also superfluous as all these
Openmage packages are available under the "magento-mirror" line-up and
were just duplicated.

This commit fixes that issue by restoring the old data.

Note: So far Magento does not provide downloads any longer in a use-able
      manner and there is not much we can do about it within Magerun
      but providing the Openmage mirror alternative.

Note: It's up to a further change to find out if moving "magento-ce"
      packages below the "magento-mirror" ones is able to remove some
      ambiguities when listing packages.
ktomk added a commit to ktomk/n98-magerun that referenced this issue Jul 21, 2017
The "magento-ce" packages are old/outdated packages from the time where
Magento did offer packages to download via HTTP URLs. These downloads
stopped working ca. Nov 2015, see netz98#722.

In a more recent change a096800 the historic checksums were changed to
the Openmage mirror archive packages. Made in good faith, this change did
not only introduce data-loss to the known data but was also superfluous
as all these Openmage packages are available under the "magento-mirror"
line-up and were just duplicated.

This leads to a lot of irritation how to handle new packages (as seen
in varios new issues (netz98#931, netz98#929, ...).

This commit fixes that issue by restoring the old data.

Note: So far Magento does not provide downloads any longer in a use-able
      manner and there is not much we can do about it within Magerun
      but providing the Openmage mirror alternative (which is done since
      longer)

Note: It's up to a further change to find out if moving "magento-ce"
      packages below the "magento-mirror" ones is able to remove some
      ambiguities when listing packages.

Refs:

- netz98#722

- a096800
ktomk added a commit to ktomk/n98-magerun that referenced this issue Jul 21, 2017
The "magento-ce" packages are old/outdated packages from the time where
Magento did offer packages to download via HTTP URLs. These downloads
stopped working ca. Nov 2015, see netz98#722.

In a more recent change a096800 the historic checksums were changed to
the Openmage mirror archive packages. Made in good faith, this change did
not only introduce data-loss to the known data but was also superfluous
as all these Openmage packages are available under the "magento-mirror"
line-up and were just duplicated.

This leads to a lot of irritation how to handle new packages (as seen
in various new issues (netz98#931, netz98#930, netz98#929, ...).

This commit fixes that issue by restoring the old data.

Note: So far Magento does not provide downloads any longer in a use-able
      manner and there is not much we can do about it within Magerun
      but providing the Openmage mirror alternative (which is done since
      longer)

Note: It's up to a further change to find out if moving "magento-ce"
      packages below the "magento-mirror" ones is able to remove some
      ambiguities when listing packages.

Refs:

- netz98#722

- a096800
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants