Magento 2 Install Hangs – No Errors or Information

iis-7magentoPHP

I am trying to install Magento 2.3 on a windows server (IIS with PHP installed – No XAMP), but the installation seems to hang.

  • The wizard progress shows the following: (And has been for hours)

Starting Magento installation: File permissions check…

Required extensions check…

Enabling Maintenance Mode…

Installing deployment configuration…

Installing database schema: Schema creation/updates:

  • Data and tables do get created in the specified DB. DB has 184 tables in it…
  • I have no PHP errors reported in my PHP Log file.
  • The Magento Installation mentions an "install.log" file that is mean to be written to the PHP temp folder. Ref: Magento Install Doc . However, I do not see this log file in the PHP temp folder (I have confirmed the location in PHP settings).
  • I did, however, find an "install.log" file in the Magento \var\log folder. This file shows only the exact info that is displayed in the wizard. (As above)

\var\log\install.log ->

<span class="text-info">Starting Magento installation:</span><br><span class="text-info">File permissions check...</span><br><span class="hidden">[Progress: 1 / 757]</span><br><span class="text-info">Required extensions check...</span><br><span class="hidden">[Progress: 2 / 757]</span><br><span class="text-info">Enabling Maintenance Mode...</span><br><span class="hidden">[Progress: 3 / 757]</span><br><span class="text-info">Installing deployment configuration...</span><br><span class="hidden">[Progress: 4 / 757]</span><br><span class="text-info">Installing database schema:</span><br><span class="text-info">Schema creation/updates:</span><br>

Progress bar also stuck at 0%.

Any ideas?

Best Answer

I eventually got it working by basically disabling any and all limits on my application pool for this site in IIS. Even then, I had to try multiple times between hangs. Luckily, this time it continued off where it last hung...

Must be IIS that the magento setup has trouble with.