cancel
Showing results for 
Search instead for 
Did you mean: 

Magento cloud setup install failure

Magento cloud setup install failure

Hi,

 

I am trying to install magento in magento cloud.

To do so I did:

  • check out https://github.com/magento/magento-cloud
  • setup auth.json
  • setup env:COMPOSER_AUTH in the project with same values stored in auth.json
  • pushed everything in a separate branch called staging in the magento cloud environment

 

However the composer install does not work.

In the cloud I got

W:   [Composer\Downloader\TransportException]                                                                                                                                                  
W:   The "https://repo.magento.com/archives/magento/module-staging-page-builder/magento-module-staging-page-builder-1.7.0.0-patch1.zip" file could not be downloaded (HTTP/1.1 404 Not Found)

In my local pc (with php 7.4) i have different issues (they turn based on the composer install run).

I tried also with

 composer config -g repo.packagist composer https://packagist.org   

but all i got was different error messages:

The "https://repo.magento.com/archives/magento/module-banner/magento-module-banner-101.2.3.0.zip" file could not be downloaded (HTTP/2 404 )  
The "https://repo.magento.com/archives/magento/module-invitation/magento-module-invitation-100.4.2.0.zip" file could not be downloaded (HTTP/2 404 )  
The "https://repo.magento.com/archives/magento/module-banner-customer-segment/magento-module-banner-customer-segment-100.4.1.0.zip" file could not be downloaded (HTTP/2 404 )  
The "https://repo.magento.com/archives/magento/module-invitation/magento-module-invitation-100.4.2.0.zip" file could not be downloaded (HTTP/2 404 )  

 

 

 

I engaged the support and they enabled my credentials to access some packages, but the issue remains.

 

With composer update i have

- Root composer.json requires magento/magento-cloud-metapackage 2.4.3, found magento/magento-cloud-metapackage[2.4.3] in the lock file but not in remote repositories, make sure you avoid updating this package to keep the one from the lock file.

Can someone please help me?

 

 

 

3 REPLIES 3

Re: Magento cloud setup install failure

UP

Re: Magento cloud setup install failure

Now I'm experiencing this error:

 

 W: [Composer\Downloader\TransportException]
W: The 'https://repo.magento.com/archives/magento/module-staging-page-builder/magento-module-staging-page-bu...' URL required authentication.
W: You must be using the interactive console to authenticate

 

Access keys are setup in auth.json in local repository main directory as in documentation

Re: Magento cloud setup install failure

Hello i am facing the same problem as you, found any solution ?