I am running php bin/magento setup:upgrade
command after migration from one aws instance to another Instance and It is hanged and stuck not moving forward??
-
I would suggest to check the log files and also check the directory var, pub and generation permission. – Nits Sep 10 '20 at 17:00
-
It runs but take a lot of time – Anonymous Record Sep 10 '20 at 17:00
-
did you check log file? – Nits Sep 10 '20 at 17:01
-
No I am checking – Anonymous Record Sep 10 '20 at 17:15
please enable verbose mode or run command with strace
bin/magento setup:upgrade -vvv
and tail magento logs to see whats going on,
strace -s 99999 bin/magento setup:upgrade
see at the end whats going on