I am trying to upgrade from Magento 2.2.3 to 2.2.4
I am doing the upgrade via SSH composer. Everything goes well until I run the upgrade command, then I get the following error.
Module 'Magento_CatalogImportExport':
Module 'Magento_Sales':
Upgrading data.. Segmentation fault (core dumped)
I am using php 7.0 with plenty of memory on a dedicated server.
Any help, please!
Hi @mousepad
Can you please confirm exact which PHP version you have ?
Here is the reference link for PHP version which magento 2.2.4 is supporting - https://devdocs.magento.com/guides/v2.2/install-gde/system-requirements-tech.html
PHP version 7.0.30
Hello @mousepad
please pass -d memory_limit=4G with command and check it.
Hope it will help you.
I tried this
/usr/bin/php70 -d memory_limit=4G bin/magento setup:upgrade
but get the same error
Hello,
please pass -vvv and check any log.
Also check var/log/syslog for that.
Hi @mousepad
Refer this link and try the mention solution - https://devdocs.magento.com/guides/v2.0/install-gde/trouble/tshoot_segfault.html
That might helps you !
Anyone got any ideas ? I can't be the only person.
I have disabled all 3rd party extensions and it still gets stuck on this.
It seems that it has to do with upgrading the sales data
Module 'Magento_Sales':
Upgrading data.. Segmentation fault (core dumped)
Hi @mousepad
i understand your concern , but i have tried two times to upgrade magento 2.2.3 to magento 2.2.4 and its working - meaning its upgrade without any error !
it might get a chance its corrupted in your case - kindly do one thing restore back to 2.2.3 version and then again do upgradation - also which commands and process are you using to upgrade ?