Installation stops at about 70%
This article provides a fix for when installation stops at about 70%.
Issue
During installation using the Setup Wizard, the process stops at about 70% (with or without sample data). No errors display on the screen.
Cause
Common causes for this issue include:
- The PHP setting for
max_execution_time
- Timeout values for nginx and Varnish
Solution:
Set all of the following as appropriate.
All web servers and Varnish all-web-servers-and-varnish
-
Locate your
php.ini
using aphpinfo.php
file. -
As a user with
root
privileges, openphp.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.
- CentOS:
nginx only 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 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