paliarush / magento2-vagrant-for-developers

Vagrant Box for Magento 2 Developers
MIT License
447 stars 165 forks source link

init_project Hangs on Magento Installation #185

Closed madelyneriksen closed 6 years ago

madelyneriksen commented 6 years ago

Hi! My host system is running Ubuntu 16.04, Virtualbox 5.2.8, Vagrant 2.0.2, and PHP 7.0.28 (with curl for composer). I do not have PHPStorm installed on my host.

I cloned the project and ran init_project.sh, installing from git. Everything seemed to run perfectly until the final Magento installation, that is the "bin/magento setup:install" script. When init_project reaches that point, it hangs.

I left it to run for over two hours, but it never completed. No errors are written to the log. Enabling debug mode didn't show any information on what's going on, either. I've installed Magento onto a server before, and it never took quite this long for the final installation script to finish.

Is there something that could be wrong on my host, like my Vagrant or vbox versions? Thank you so much!

Update 4/12/18: I ran "sudo php bin/magento setup:install" from inside the Magento directory on the guest through SSH. It runs, but the part it freezes on is "Enabling Cache". No errors are thrown and nothing is written to the log in Magento.

madelyneriksen commented 6 years ago

I fixed this. I went through the apache error logs and found that PHP was hitting the max execution time. I changed the php.ini file and it installs, if slowly.