cancel
Showing results for 
Search instead for 
Did you mean: 

setup:upgrade stucks but finishes if I disable webapi modules

setup:upgrade stucks but finishes if I disable webapi modules

I upgraded my 2.2.7 to 2.3.7-p2 but I'm unable to complete the magento setup:upgrade since it stucks after: Module 'Magento_Customer':

'(...)

Data install/update:
Disabling caches:
Current status:
Array
(
[layout] => 0
[block_html] => 0
[full_page] => 0
)

Module 'Magento_AdminAnalytics':
Module 'Magento_Store':
Module 'Magento_AdobeIms':
Module 'Magento_AdobeImsApi':
Module 'Magento_AdobeStockAdminUi':
Module 'Magento_MediaGallery':
Module 'Magento_AdobeStockAssetApi':
Module 'Magento_AdobeStockClient':
Module 'Magento_AdobeStockClientApi':
Module 'Magento_AdobeStockImage':
Module 'Magento_AdobeStockImageAdminUi':
Module 'Magento_AdobeStockImageApi':
Module 'Magento_AdvancedPricingImportExport':
Module 'Magento_Directory':
Module 'Magento_Amqp':
Module 'Magento_AmqpStore':
Module 'Magento_Config':
Module 'Magento_Theme':
Module 'Magento_Backend':
Module 'Magento_Variable':
Module 'Magento_Eav':
Module 'Magento_Customer':

[ stucks here ]'

 

However I found out that if I disable the Magento_Webapi & _WebapiAsync & _WebapiSecurity it proceeds to finish. 

 

I'm on shared linux hosting, php 7.4, porto theme

error_log doesn't show anything

 

Any help is much appreciated. Thanks

2 REPLIES 2

Re: setup:upgrade stucks but finishes if I disable webapi modules

In your php.ini file increase the values of the below parameters.

max_execution_time = 18000
max_input_time = 1800
memory_limit = 1024M
Note: Make sure you increase max_input_time value to at least 1800 and it will works

If issue solved, Click Kudos & Accept as Solution.
LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool

Re: setup:upgrade stucks but finishes if I disable webapi modules

Thank you for your reply.

Going to try that.