Installation Server Time Out Error

I am trying to install Mautic on a VPS



running - webmin 1.821 and virtualmin 5.05 on the VPS



Operating system: CentOS Linux 6.8

apache webserver

php version 7.0.13

MySQL version 5.6.34





I keep getting a Sever Time Out Error page – after the step 1 of install



a 504 Gateway Timeout error:


Gateway Time-out

The gateway did not receive a timely response from the upstream server or application.

the error log shows:
[Sat Dec 03 22:00:41 2016] [warn] [client 111.248.149.100] Timeout waiting for output from CGI script /home/m/cgi-bin/php7.0.cgi, referer: http://domain.com/installer/step/1
[Sat Dec 03 22:00:41 2016] [error] [client 111.248.149.100] Script timed out before returning headers: php7.0.cgi, referer: http://domain.com/installer/step/1
[Sat Dec 03 22:02:29 2016] [warn] [client 111.248.149.100] Timeout waiting for output from CGI script /home/m/cgi-bin/php7.0.cgi, referer: http://domain.com/installer/step/1
[Sat Dec 03 22:02:37 2016] [warn] [client 111.248.149.100] Timeout waiting for output from CGI script /home/m/cgi-bin/php7.0.cgi
[Sat Dec 03 22:02:37 2016] [error] [client 111.248.149.100] Script timed out before returning headers: php7.0.cgi
[Sat Dec 03 22:03:13 2016] [warn] [client 111.248.149.100] Timeout waiting for output from CGI script /home/m/cgi-bin/php7.0.cgi
[Sat Dec 03 22:03:13 2016] [error] [client 111.248.149.100] Script timed out before returning headers: php7.0.cgi
[Sat Dec 03 22:03:37 2016] [warn] [client 111.248.149.100] Timeout waiting for output from CGI script /home/m/cgi-bin/php7.0.cgi




I have increased all the resource limits on php:

Maximum memory allocation 256M
Maximum HTTP POST size 36M
Maximum file upload size 2M
Maximum execution time 900 seconds
Maximum input parsing time 60 seconds


and I have changed the permissions on the server to allow the htaccess file to do what it needs to do to control things
(i found a support thread about this issue while googling solutions)


I can't find anything else to change...

and I have had the support from my hosting look into everything
they say that all the setting should be correct
and everything is there that is required







the install script says that the server config is good to go

the install script does run on step 1
and does connect to the database
and it does create some tables in the database



hopefully someone will be able to suggest something
that could get this working



thanks

Franklin


I am trying to install Mautic on a VPS

running - webmin 1.821 and virtualmin 5.05 on the VPS

Operating system: CentOS Linux 6.8
apache webserver
php version 7.0.13
MySQL version 5.6.34

I keep getting a Sever Time Out Error page – after the step 1 of install

a 504 Gateway Timeout error:

Gateway Time-out

The gateway did not receive a timely response from the upstream server or application.

the error log shows:

[Sat Dec 03 22:00:41 2016] [warn] [client 111.248.149.100] Timeout waiting for output from CGI script /home/m/cgi-bin/php7.0.cgi, referer: http://domain.com/installer/step/1
[Sat Dec 03 22:00:41 2016] [error] [client 111.248.149.100] Script timed out before returning headers: php7.0.cgi, referer: http://domain.com/installer/step/1
[Sat Dec 03 22:02:29 2016] [warn] [client 111.248.149.100] Timeout waiting for output from CGI script /home/m/cgi-bin/php7.0.cgi, referer: http://domain.com/installer/step/1
[Sat Dec 03 22:02:37 2016] [warn] [client 111.248.149.100] Timeout waiting for output from CGI script /home/m/cgi-bin/php7.0.cgi
[Sat Dec 03 22:02:37 2016] [error] [client 111.248.149.100] Script timed out before returning headers: php7.0.cgi
[Sat Dec 03 22:03:13 2016] [warn] [client 111.248.149.100] Timeout waiting for output from CGI script /home/m/cgi-bin/php7.0.cgi
[Sat Dec 03 22:03:13 2016] [error] [client 111.248.149.100] Script timed out before returning headers: php7.0.cgi
[Sat Dec 03 22:03:37 2016] [warn] [client 111.248.149.100] Timeout waiting for output from CGI script /home/m/cgi-bin/php7.0.cgi

I have increased all the resource limits on php:

Maximum memory allocation 256M
Maximum HTTP POST size 36M
Maximum file upload size 2M
Maximum execution time 900 seconds
Maximum input parsing time 60 seconds

and I have changed the permissions on the server to allow the htaccess file to do what it needs to do to control things
(i found a support thread about this issue while googling solutions)

I can’t find anything else to change…

and I have had the support from my hosting look into everything
they say that all the setting should be correct
and everything is there that is required

the install script says that the server config is good to go

the install script does run on step 1
and does connect to the database
and it does create some tables in the database

hopefully someone will be able to suggest something
that could get this working

thanks

Franklin

I’ve run into the same thing. Looking at the database, I see the table creation and ALTER TABLE commands of the migrations in app/migrations/* but it doesn’t make it through all of them before the 120sec timeout kicks me back.

Is it possible to collapse all those migrations into a single set of TABLE CREATE statements that I could run?