0

I am trying to upgrade Magento 2.4.3 to Magento 2.4.3-p1 using composer and successfully new version upgrade but when run upgrade command but process stuck not progress process of from Data install/update Magento_Customer.

Also, not showing any error in the error log and apache2 error log, I have tried all possibilities but it's last stuck in Magento_Customer

3
  • Check PHP variable like memory limit and max_execution_time 18000, max_input_time 18000, max_input_vars 50000, memory_limit 4096M Also you can check var/log/ for error like below Error filtering template: SQLSTATE[42S02]: Base table or view not found: 1146 Table Mar 9, 2022 at 10:42
  • It's fetching error me but I have set all variable and again run all command then it's successfully done Mar 9, 2022 at 10:43
  • Have you found solution, I got same issue.
    – Msquare
    Nov 11, 2022 at 15:15

2 Answers 2

1

You can check by run below command:

strace -s 99 bin/magento setup:upgrade

More about strace

Also, check your MySQL has not run any related process, you found then kill it. (Not KILL ALL, only related Processes need to kill)

SHOW FULL PROCESSLIST

kill ProcessID

In My case customer_visitor table cause an error and stops the command. After debugging more in DB, there are many entries, so he takes more time to run and stop the upgrade command execution.

I remove all entries from customer_visitor table and then It's working.

TRUNCATE TABLE customer_visitor;
0

Can you please check the var/vendor folder existing or not ?

If not then download Magento 2.4.3.p1 and upload vendor folder in var/ directory.

then run again setup:upgrade command it's working.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.