cancel
Showing results for 
Search instead for 
Did you mean: 

Installing using composer

Installing using composer

Hi,

I'm trying to install Magento using composer. It downloaded a lot of packages ok, but then with magento/magento2-base it throws this error:

 

Downloading: Connecting...SlowTimer [59999ms] at curl: https://repo.magento.com/archives/magento/magento2-base/magento-magento2-base-2.0.0.0.zip
Downloading: 100%
The "https://repo.magento.com/archives/magento/magento2-base/magento-magento2-base-2.0.0.0.zip" file could not be downloaded: Failed to open https://repo.magento.com/archives/magento/magento2-base/magento-magento2-base-2.0.0.0.zip (Operation timed out after 59984 milliseconds with 15765500 out of 44637756 bytes received)
Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info

 

I thought maybe this was a temporary issue, it happened to me yesterday and it keeps happening today, I've tried several times.

 

Any idea? Thanks !

5 REPLIES

Re: Installing using composer

Still not working. Web server response is "forbidden".

Re: Installing using composer

Hi did you increased the php execution time ? from php.ini ? i hope that will help you may check this link for installation as well http://webkul.com/blog/installation-of-magento2-on-ubuntu/

Re: Installing using composer

Installing with git clone works. We're trying to install through composer:

 

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition magento

 

which fails because https://repo.magento.com/archives/magento/magento2-base/magento-magento2-base-2.0.0.0.zip returns "forbidden".

Re: Installing using composer

I am also getting same error. Not able to install. Could someone post how to resolve this.

Re: Installing using composer

Requesting directly to https://repo.magento.com/archives/magento/magento2-base/magento-... forbidden, but works for me on ubuntu and windows running composer as: composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition webrootfolder and then providing authentication keys from Magento account > connect > secure keys.