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-composer-1. 0.2.0.zip file could not be downloaded #2419
Comments
@oucart seems the composer.lock file is wrong When you run composer update (you must give your magento connect credentials) it gets the magento-composer package from packages.magento.com, not from repo.magento.com |
I had the same problem. Just use the magento 2.0.0 code base from here: https://www.magentocommerce.com/download this has up to date dependencies as it seems |
the main difference: |
@bh-ref makes sense since you don't need to install anything via composer there is no need for a dependency on |
@BlackIkeEagle I see. Unfortunately, the problem is, that the asterisk for the |
@bh-ref the asterisk does not matter if you are running |
@BlackIkeEagle thank you for your response. I will try that for my next test installation. If that is the solution, does that mean that the docs at http://devdocs.magento.com/guides/v2.0/install-gde/install/prepare-install.html should be changed to suggest using |
I've put up a blog post explaining how to resolve this issue step by step, check it out at: http://magento2king.com/magento2-insta-be-downloaded/ |
@BlackIkeEagle I'm having the same issue, on the most recent master commit at the time of writing ( Unless I'm missing something important (which is possible), using |
@gabrielsomoza I'm not saying its recommended to do it like this, for me it was the solution that worked. @marcobax that indeed is the solution, so this is rather a composer issue then or the repo.magento.com server does not return a 401 to composer? Personally I'm somewhat offended that you must pull magento/composer from a password protected server while there is no need at all for that package to be hidden behind a password. |
@marcobax and @BlackIkeEagle this is an issue with repo.magento.com. We are currently working on this issue. |
@BlackIkeEagle 👍 to what you said about authentication for CE |
@BlackIkeEagle @gabrielsomoza Yes! This is very true, I also think there is no need to authenicate for pulling Magento2 CE. |
This is an issue with repo.magento.com.
Try to run composer install again. It works like a charm. |
faced the same issue, the solution @marcobax and @crystallove mentioned worked. |
We have fixed the 404 issue. Now with invalid credentials you will get the 401 error. But you will also need new auth tokens, please follow this link to generate the tokens http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html |
I believe this is a related issue, but i'm getting this when i attempt to deploy sample data to my build. Is there a flag i'm missing or something? (Note: my credentials already exist within ~/.composer/auth.json and already did "composer update") $ php bin/magento sampledata:deploy [Composer\Downloader\TransportException] |
@realdigid Have you updated your auth username/password with the tokens generated via instructions found here: http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html? |
Yes i have. I will attempt to do so again tomorrow just to verify. All other processes work fine using the same credentials as well, such as composer update/install it seems specific to sample data. |
@realdigid That issue is solved by running composer update from the Magento root. A better fix is in the works. (Sample data suppresses messages from Composer.) |
I have the same problem as @realdigid and composer update doesn't solve it. |
having the same issue as KvantX and realdigid. i have updated composer.. |
I hit the same problem as @realdigid, @KvantX @daapower |
@KvantX , @daapower , @APGD2016 you should check http://devdocs.magento.com/guides/v2.0/install-gde/prereq/dev_install.html You must have entered your credentials before trying to add the sample data. So the working solution should be something like: $ git clone https://github.com/magento/magento2.git
$ cd magento2
$ composer install
# along the way you get asked to enter credentials (on the magento-composer-installer package)
# the credentials should be generated as described in the devdocs and not your magento email/pass
$ bin/magento sampledata:deploy # should work if you stored your credentials |
@BlackIkeEagle Thanks for advice, it can be so.
and it's possible that i have entered credentials before sampledata:deploy |
@KvantX I confirm the issue when using $ php bin/magento sampledata:deploy
./composer.json has been updated
Loading composer repositories with package information
[Composer\Downloader\TransportException]
The 'https://repo.magento.com/packages.json' URL required authentication.
You must be using the interactive console to authenticate
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [packages1] ... [packagesN]
There is an error during sample data deployment. but after that issue running $ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing magento/module-catalog-sample-data (100.0.2)
Downloading: 100%
- Installing magento/module-bundle-sample-data (100.0.2)
Downloading: 100%
- Installing magento/module-customer-sample-data (100.0.2)
Downloading: 100%
- Installing magento/module-widget-sample-data (100.0.2)
Downloading: 100%
- Installing magento/sample-data-media (100.0.2)
Downloading: 95% |
@BlackIkeEagle Thanks very much for your help! My problem is fixed. |
Hello Thanks |
@tanya-soroka I confirm the issue is resolved, you can close this ticket or @patrick4u can close it |
[Composer\Downloader\TransportException]
The "https://repo.magento.com/archives/magento/composer/magento-composer-1.
0.2.0.zip" file could not be downloaded (HTTP/1.1 404 Not Found)
The text was updated successfully, but these errors were encountered: