Hi, I recently deployed 2 new sites to staging. They don’t contain anything special, just some plugins and the default wp theme and no other customizations.
When I browse to the sites, I get a blank page, and firebug is giving me a 500 internal server error message. I turned on the Nginx debug logging and for both sites I get the following error:
2015/07/05 18:15:50 [debug] 3438#0: *23 connect to unix:/var/run/php5-fpm-wordpress.sock, fd:17 #25
2015/07/05 18:15:50 [debug] 3438#0: *23 connected
2015/07/05 18:15:50 [debug] 3438#0: *23 http upstream connect: 0
2015/07/05 18:15:50 [debug] 3438#0: *23 posix_memalign: 00007F5D7788C7E0:128 @16
2015/07/05 18:15:50 [debug] 3438#0: *23 http upstream send request
2015/07/05 18:15:50 [debug] 3438#0: *23 http upstream send request body
2015/07/05 18:15:50 [debug] 3438#0: *23 chain writer buf fl:0 s:976
2015/07/05 18:15:50 [debug] 3438#0: *23 chain writer in: 00007F5D77886768
2015/07/05 18:15:50 [debug] 3438#0: *23 writev: 976 of 976
2015/07/05 18:15:50 [debug] 3438#0: *23 chain writer out: 0000000000000000
2015/07/05 18:15:50 [debug] 3438#0: *23 event timer add: 17: 60000:1436134610508
2015/07/05 18:15:50 [debug] 3438#0: *23 http finalize request: -4, "/index.php?" a:1, c:3
2015/07/05 18:15:50 [debug] 3438#0: *23 http request count:3 blk:0
2015/07/05 18:15:50 [debug] 3438#0: *23 http finalize request: -4, "/index.php?" a:1, c:2
2015/07/05 18:15:50 [debug] 3438#0: *23 http request count:2 blk:0
2015/07/05 18:15:50 [debug] 3438#0: *23 http run request: "/index.php?"
2015/07/05 18:15:50 [debug] 3438#0: *23 http upstream check client, write event:1, "/index.php"
2015/07/05 18:15:50 [debug] 3438#0: *23 http upstream recv(): -1 (11: Resource temporarily unavailable)
2015/07/05 18:15:50 [debug] 3438#0: *23 http upstream request: "/index.php?"
2015/07/05 18:15:50 [debug] 3438#0: *23 http upstream dummy handler
2015/07/05 18:15:50 [debug] 3438#0: *23 http upstream request: "/index.php?"
2015/07/05 18:15:50 [debug] 3438#0: *23 http upstream process header
2015/07/05 18:15:50 [debug] 3438#0: *23 malloc: 00007F5D77870B50:4096
2015/07/05 18:15:50 [debug] 3438#0: *23 recv: fd:17 104 of 4096
2015/07/05 18:15:50 [debug] 3438#0: *23 http fastcgi record byte: 01
2015/07/05 18:15:50 [debug] 3438#0: *23 http fastcgi record byte: 06
2015/07/05 18:15:50 [debug] 3438#0: *23 http fastcgi record byte: 00
2015/07/05 18:15:50 [debug] 3438#0: *23 http fastcgi record byte: 01
2015/07/05 18:15:50 [debug] 3438#0: *23 http fastcgi record byte: 00
2015/07/05 18:15:50 [debug] 3438#0: *23 http fastcgi record byte: 4D
2015/07/05 18:15:50 [debug] 3438#0: *23 http fastcgi record byte: 03
2015/07/05 18:15:50 [debug] 3438#0: *23 http fastcgi record byte: 00
2015/07/05 18:15:50 [debug] 3438#0: *23 http fastcgi record length: 77
2015/07/05 18:15:50 [debug] 3438#0: *23 http fastcgi parser: 0
2015/07/05 18:15:50 [debug] 3438#0: *23 http fastcgi header: "Status: 500 Internal Server Error"
2015/07/05 18:15:50 [debug] 3438#0: *23 http fastcgi parser: 0
2015/07/05 18:15:50 [debug] 3438#0: *23 http fastcgi header: "Content-type: text/html; charset=UTF-8"
2015/07/05 18:15:50 [debug] 3438#0: *23 http fastcgi parser: 1
2015/07/05 18:15:50 [debug] 3438#0: *23 http fastcgi header done
2015/07/05 18:15:50 [debug] 3438#0: *23 xslt filter header
2015/07/05 18:15:50 [debug] 3438#0: *23 HTTP/1.1 500 Internal Server Error^M
The weird part is that my first deployed site is working, and doesn’t have the problem described above.
I am making use of trellis.