1-Click Drupal Image error

  • Posted November 9, 2014


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


Submit an 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