Installing Magento 2 Installation Problem in Magento_ConfigurableSampleData

All we need is an easy explanation of the problem, so here it is.

we download magento 2 and start the setup process.we configure the database,php and all.At the end of the Install process it stops at 67%.There is no error found in log.we wait more than 2 hours but there is no change in the installation progress.

The installation stuck the module :Magento_ConfigurableSampleData


Could you please help us,

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

The reason for this issue is that your PHP/nginx/Varnish settings are not configured properly to run the Magento installation process.

The installation process requires the following settings:

All web servers and Varnish

Locate your php.ini using a phpinfo.php file.
As a user with root privileges, open php.ini in a text editor.
Locate the max_execution_time setting.
Change its value to 18000.
Save your changes to php.ini and exit the text editor.
Restart Apache:

CentOS: service httpd restart
Ubuntu: service apache2 restart

If you use nginx or Varnish, continue with the following sections.

nginx only

If you use nginx, use our included nginx.conf.sample or add a timeout settings in the nginx host configuration file to the location ~ ^/setup/index.php section as follows:

location ~ ^/setup/index.php {
    fastcgi_read_timeout 600s;
    fastcgi_connect_timeout 600s;

Restart nginx: service nginx restart

Varnish only

If you use Varnish, edit default.vcl and add a timeout limit value to the backend stanza as follows:

backend default {
      .first_byte_timeout = 600s;

Restart Varnish:

service varnish restart

Those instructions are from the official Magento 2 Developer Documentation:

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply