Drupal 8 on Nginx

Garrett Albright's picture

I've recently been trying to give Drupal 8 a serious look. I'm having a problem going through the install process, though, and I don't know if it's Drupal 8, Drupal 8 and Nginx, or just me. Have any other Nginx users been able to install D8 successfully recently?

Specifically, I get to the stage after entering the database credentials, where Drupal shows the progress bar and starts installing stuff. However, the process stops with a red warning box showing a 502 Bad Gateway error. But if I click on the link to get taken to the error page, I go to the page where I enter the name of the Drupal site and the credentials for user 1 as if nothing wrong happened. After submitting that form, however, all pages result in a 404 via Drupal (not via Nginx).

Comments

I got the same 502 error, did

VisualFox's picture

I got the same 502 error, did the same thing, was then sent to the next wizard page, where I was able to finish the installation without any other issue and my drupal 8 site is working correctly.

Philippe Blanc

President and founder of VisualFox LLc http://www.visualfox.me
Founder of OYOAHA which helped to organize the first Drupal Con in Portland
President and founder of the short lived Blacktonic A

Same here

MEsch's picture

The exact same thing happened to me the other day when installing the latest D8. It's up an running now.

It worked for me

perusio's picture

back in June/july 2012. Must have a look currently.

same errors

heddn's picture

I'm getting them too. php-fpm.log output below:

[25-Apr-2013 14:00:48.607330] DEBUG: pid 23684, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www0] currently 1 active children, 3 spare children, 4 running children. Spawning rate 1
[25-Apr-2013 14:00:48.607373] DEBUG: pid 23684, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www1] currently 0 active children, 3 spare children, 3 running children. Spawning rate 1
[25-Apr-2013 14:00:49.228051] WARNING: pid 23684, fpm_request_check_timed_out(), line 271: [pool www0] child 23688, script '/home/user/websites/drupal/core/install.php' (request: "POST /core/install.php") executing too slow (17.523885 sec), logging
[25-Apr-2013 14:00:49.228135] DEBUG: pid 23684, fpm_got_signal(), line 72: received SIGCHLD
[25-Apr-2013 14:00:49.228161] NOTICE: pid 23684, fpm_children_bury(), line 227: child 23688 stopped for tracing
[25-Apr-2013 14:00:49.228173] NOTICE: pid 23684, fpm_php_trace(), line 142: about to trace 23688
[25-Apr-2013 14:00:49.228653] NOTICE: pid 23684, fpm_php_trace(), line 170: finished trace of 23688
[25-Apr-2013 14:00:49.228687] DEBUG: pid 23684, fpm_event_loop(), line 409: event module triggered 1 events

Nginx

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: