How do I fix an nginx error?

June 4, 2016 18.3k views
Nginx Drupal Ubuntu

I am running a digital ocean ubuntu drupal 8.0.5 server and it over night will no longer let me access the back end of it. I changed somethings through the drupal cms yesterday and was still able to use it yesterday night after all changes were made but as of my attempts today it no longer works. I can no longer access any of the drupal cms back end pages. Any url that is /admin/* does not work and instead brings me to a page that says:
An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, nginx.

I have contacted digital ocean support and got no help but was told to come here and ask. I can not find the error log that it is referencing and even when I do I am not sure what to do with that information since I have no changed anything that should involve nginx.

2 Answers

You have an unmanaged server, support doesn't help. Check /var/log/nginx/error.log

Hi.
I have the same problem with a Joomla site.
The error message is shown sometimes when inputing data in the front end.
When trying to check the data in the back end it always shows the error:

An error occurred.

Sorry, the page you are looking for is currently unavailable.
Please try again later.

If you are the system administrator of this resource then you should check the error log for details.

Faithfully yours, OpenResty.

This is the link to the error log:
http://nginx.org/en/docs/ngx_core_module.html#error_log

It does not show any dates.

I'm a beginner, so I apprecciate if anyone could help me to have it fixed.

Regards,

Have another answer? Share your knowledge.