Report this

What is the reason for this report?

1-Click Drupal Image error

Posted on November 9, 2014

Hello!

I have a trouble with your 1 click Drupal installation. My site doesnt work in maintenance mode. It just say to me:

*"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."*

Please help me to fix it.

Thank you Best redards Victor



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

When you put a Drupal site into maintenance mode, it actually is serving a custom error page. By default, Nginx is handling the error pages. If you want Drupal to do so, edit the file /etc/nginx/sites-enabled/drupal and comment out the following:

#  error_page 404 /404.html;
#  error_page 500 502 503 504 /50x.html;
#  location = /50x.html {
#      root /usr/share/nginx/html;
#  }

Finally, restart Nginx with sudo service nginx restart

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.