500 error when posting, no message in error logs

Igor Sysoev igor at sysoev.ru
Fri Feb 14 10:13:19 UTC 2014

On Feb 13, 2014, at 23:23 , offthedeepnd wrote:

> Hi All,
> I'm running nginx 1.4.1 on OpenBSD 5.4 stable along with php and php-fpm
> version 5.3.27 and mysql 5.1.70 on two systems.  I'm trying to install
> piwigo-2.6.1 and running into an issue on of of the systems as indicated by
> the subject. 
> When I access the site initially it takes me to the setup screen as expected
> on both systems.  I enter in the data required and click on "start
> installation".  On one system it installs perfectly in less than a second,
> in the second system it returns a page that simply says "server error" if i
> click on more info it says:
> "The website encountered an error while retrieving
> http://piwigo.domain.com/install.php?language=en_US. It may be down for
> maintenance or configured incorrectly.
> Reload this webpage.
> Press the reload button to resubmit the data needed to load the page.
> Error code: 500"
> In the access log I see this:
> - - [13/Feb/2014:12:50:46 -0500] "POST /install.php?language=en_US
> HTTP/1.1" 500 5 "http://piwigo.domain.com/install.php?language=en_US"
> "Mozilla/5.0 (X11; OpenBSD amd64) AppleWebKit/537.36 (KHTML, like Gecko)
> Chrome/28.0.1500.45 Safari/537.36" "-"
> No other information, nothing in the error_log.

Try to log $upstream_status to see if this 500 error is returned by backend.

Igor Sysoev

More information about the nginx mailing list