I upgraded from 2014-09-29d to 2015-08-10a and got '502 Bad Gateway'. The error log I got from Nginx:
2015/09/28 03:45:05 [error] 54175#0: *1 upstream prematurely closed connection while reading response header from upstream, client: 72.89.146.121, server: dokuwiki.server.com, request: "GET /doku.php?id=wiki:welcome HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm56/www.sock:", host: "dokuwiki.server.com", referrer: "
https://dokuwiki.server.com/install.php"
I tried to increase the buffers in nginx and it didn't help so I reverted back to older Dokuwiki Hrun version until this is resolved. I think some changes since 2014-09-29d broke something in the new release.
I'm using latest nginx-devel and php 5.6 version with php-fpm sock listener.
I switched back to older Dokuwiki version and its working properly so I don't know what's the deal with Detritus throwing this error. I have many other websites running fine except this one.
The install page worked fine until I completed the initial setup and went to my dokuwiki home page and got this 502 error.
I did clean install of Detritus and still got the error. I want to ask before reporting this bug since several older releases worked fine until I installed/upgraded to Detritus.