cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade to Magento 2.4.1 issues

Upgrade to Magento 2.4.1 issues

Attempting to upgrade Magento 2.3.6 to 2.4.1.

I removed all 3rd party modules to ensure those weren't causing a problem... 

 

I get the following errors:

----------------------------------------------------------------------------------------------------------------------------
Building application 'mymagento' (runtime type: php:7.4, tree: a97da58)
Reusing existing build for this tree ID

Provisioning certificates
Environment certificates
- certificate 561e07b: expiring on 2021-03-11 19:49:39+00:00, covering m241-2cz2tha-pa3qche7scj7m.us-3.magentosite.cloud

Redeploying environment m241
Preparing deployment
Closing services mymagento and router
Opening application mymagento and its relationships
Executing deploy hook for application mymagento
W:
W: In Container.php line 99:
W:
W: Warning: strpos(): Empty needle in /app/vendor/magento/ece-tools/src/App/Lo
W: gger/Prepare/ErrorLogFile.php on line 99
W:
W:
W: In ErrorHandler.php line 68:
W:
W: Warning: strpos(): Empty needle in /app/vendor/magento/ece-tools/src/App/Lo
W: gger/Prepare/ErrorLogFile.php on line 99
W:
W:

Opening environment
Executing post-deploy hook for application mymagento
W:
W: In Container.php line 99:
W:
W: Warning: strpos(): Empty needle in /app/vendor/magento/ece-tools/src/App/Lo
W: gger/Prepare/ErrorLogFile.php on line 99
W:
W:
W: In ErrorHandler.php line 68:
W:
W: Warning: strpos(): Empty needle in /app/vendor/magento/ece-tools/src/App/Lo
W: gger/Prepare/ErrorLogFile.php on line 99
W:
W:

Environment configuration
mymagento (type: php:7.4, size: XL, disk: 16384)
mysql (type: mysql:10.2, size: L, disk: 40000)
redis (type: redis:5.0, size: L)
elasticsearch (type: elasticsearch:7.7, size: L, disk: 1024)

Environment routes
http://m241-2cz2tha-pa3qche7scj7m.us-3.magentosite.cloud/ is served by application `mymagento`
https://m241-2cz2tha-pa3qche7scj7m.us-3.magentosite.cloud/ is served by application `mymagento`

[============================] 39 secs (complete)
Activity kwtbpyeiz2mge succeeded
----------------------------------------------------------------------------------------------------------------------------

 

The build succeeds, but the server gives an error 500.

1 REPLY 1

Re: Upgrade to Magento 2.4.1 issues

@pmsteil ,

you should update ece tools 

you can update that by 

 

composer update magento/ece-tools --with-dependencies

after that commit & push the changes.

 

this should resolve the issue. 

NOTE: check your PHP version from where you are running composer commands, it should be PHP 7.4 

 

if still having issues then create a ticket into 

 

https://accounts.magento.cloud/

 

kindly Accept as a Solution if this works for you and give Kudos Smiley Happy