Magento – Magento 2 setup hangs on 89%

-setuperror logmagento2php-7

Magento 2 installation page (step 6) freezes on 89% where in console log it stops on:

Module 'Magento_ConfigurableSampleData':
Installing data..

in my /etc/php/7.0/cli/php.ini file I have the follwing:

max_execution_time = 18000
max_input_time = 18000
memory_limit = 2G

What is wrong? why it does not continue after reaching 89% even if I wait for 1 hour?! how can I fix it?

note that the following is my php version:

PHP 7.0.5-3+donate.sury.org~wily+1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

and the following is my Apache2 version:

Server version: Apache/2.4.12 (Ubuntu)
Server built:   Jul 24 2015 15:59:00

in /var/log/apache2/error.log I have the following at the time of the setup:

PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /var/www/magento2/vendor/magento/framework/Image/Adapter/Gd2.php on line 63, referer: http://[IP address]/setup/

Best Answer

Try following

  • Create phpinfo() file and check max_execution_time is 18000
  • Restart your Apache and try again
Related Topic