MukurtuCMS / mukurtucms

GNU General Public License v2.0
81 stars 36 forks source link

New install issue #152

Open gangeli22 opened 2 years ago

gangeli22 commented 2 years ago

Not sure if this is the proper place to ask support issues, but I'm out of ideas, and can't find any info in any logs as to why it is failing.

redhat 8.6 php 7.4.19 mariaDB 10.3.32

I get a little over half way though the install of the modules and it fails.

installed mukurtu collection module completed 138 of 262 52.7% The installation has encountered an error. An AJAX HTTP error occurred. HTTP Result Code: 504

I've tried disabling the firewall, turning off SELinux, editing php values...and I'm out of ideas on how to troubleshoot this.

Thanks for any replies.

taylor-steve commented 2 years ago

Support questions are welcome here!

First thing I'd double check is that you have all the values here set properly: https://github.com/MukurtuCMS/mukurtucms/wiki/Quick-Installation-Information-for-Experienced-Drupal-Admins

If you are getting that far into the install, it's unlikely to be a permission/SELinux/firewall issue. I'd double check for relevant log entries. The AJAX 504 error only tells us the server stopped responding in the expected manner. There is almost always a corresponding error in the PHP error logs that points to the actual cause.

If all else fails I'd increase max_execution_time and memory_limit to absurd levels just for the install and see if that helps. Also double check that you are editing the active PHP ini file. I've definitely changed the CLI PHP ini file before thinking I was changing the web server's.

gangeli22 commented 2 years ago

Thanks for replying, got it figured out.

The only error I was seeing was: [proxy_fcgi:error] [pid 33724:tid 139928532928256] (70007)The timeout specified has expired: AH01075: /etc/php-fpm.d/

It led me down the rabbit hole of figuring out the php-fpm timeout settings

Not sure if this is the best/recommended way to fix it, but I ended up doing this:

created /etc/httpd/conf.modules.d/00-proxy_timeout.conf with two values Timeout 10000 ProxyTimeout 10000

After which it pushed through the install just fine, and website is up and running