3

Running this command seems incredibly slow taking around half an hour+. I feel like it didn't always take this long and am wondering if this is normal and if not what can cause this?

This is a very basic almost default Magento 2 installation on a dedicated server with NGINX PHP7 MYSQL. I have been trying to write some basic modules however this is really slowing me down.

  • Do you see a start of an output when you run this command? Any logs inside Magento log or Nginx / PHP logs? – Jonathan Ribas Feb 27 '17 at 14:41
  • I cannot see any errors in Magento Logs or NGINX logs. The output looks normal from the command i get a list of Modules and it just ticks through really slow. – harri Feb 27 '17 at 14:48
  • On Magento DevBox (2GB memory) M2.1.3, it runs in less than 1 minute. – Jonathan Ribas Feb 27 '17 at 14:52
  • Yeah when i first run it earlier today it took like 10 seconds. Moments later when i ran it again it has taken nearly an hour. I might try again see what happens. – harri Feb 27 '17 at 14:58
  • Have you develop an updater or something that can take some time? – Jonathan Ribas Feb 27 '17 at 14:59
5

We have the same experience. After "DDL cache cleared successfully" you can wait a long time for the next step.

We found out that we can increase the speed by moving the folder pub/media/catalog to temp/media/catalog before running bin/magento setup:upgrade.

  • Did anyone find the solution for slowness of setup:upgrade? – MagePsycho Jul 4 '18 at 21:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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