Jump to content
thirty bees forum
  • 0

Stuck on install - Gateway timeout


CasualRascal

Question

Hello,

I am trying to install thirty bees on my VPS,

The VPS has some good specs: KVM virtualization, 4 Epyc cores, 8GB RAM.

I have installed Navy Linux 8.4 (a RHEL repack, just like CentOS), PHP 7.4 from Remi's repository and Apache httpd and MySQL from the repositories standard.

While installing thirty bees, the installer successfully connects to the database in the "System configuration" step. In the following step however the installer encounters a "Gateway timout" error and fails to complete the install process. The complete error message is 

Ajax request failed for process installDatabase=true with error. Gateway Timeout

Do you know how to get past this problem?

Any clue is appreciated.

My virtual host .user.ini contains the following lines

memory_limit = 1024M
max_execution_time = 300

But changing or removing them doesn't seem to change the behavior of the installer.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Hi datakick, thank you for your replies. I really appreciate your work and help.

I am not using Cloudflare, so I don't think that is the problem, but that is interesting.

With "server configuration issue" are you talking about something that I could have set up wrong in my virtualized environment or about something that the host has done while setting up my VPS? Do you have any suggestion on how to diagnose php or mysql performance issues?

Thank you again for the support

Link to comment
Share on other sites

  • 0

I figured it out: the host limits storage IOPS.

Once I discovered that the host limits storage performance I did the following:

In the apache httpd virtual host configuration I have added the line

TimeOut 900

In the .user.ini of the virtual host I have added the lines

max_execution_time = 900
max_input_time = 900
default_socket_timeout = 900

And in php-fpm's configuration file located in /etc/php-fpm.d/www.conf I have added the line

request_terminate_timeout = 900

The installation took about 11 minutes, which is insane.

After the installation was successful I reverted these changes.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...