Guides › HTML / PHP sites › Site down or error screens

Drupal Update Failed or Site Maintenance Mode Stuck: Recovery

Disable maintenance.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Site down or error page

If a Drupal update fails and the site shows a maintenance message, you can usually take it out of maintenance mode and finish the update safely.

1Back up first2Read the error3Turn off maintenance mode4Run database updates5Clear caches6Fix Composer problems7Restore if neededFixed? Test the site. If not, get help.
The steps in order. Work down the list and stop when the problem is solved.

Step 1: Back up first

Illustration for Step 1: Back up first

Back up the database and files before you change anything.

Step 2: Read the error

Illustration for Step 2: Read the error

Check the Drupal log (Reports, Recent log messages) and the server error log.

Step 3: Turn off maintenance mode

Illustration for Step 3: Turn off maintenance mode

Go to Configuration, Development, Maintenance mode and untick it. If you cannot log in, run drush state:set system.maintenance_mode 0 and then drush cr.

Step 4: Run database updates

Illustration for Step 4: Run database updates

Visit /update.php as an admin, or run drush updatedb.

Step 5: Clear caches

Illustration for Step 5: Clear caches

Run drush cr or use Configuration, Development, Performance, Clear all caches.

Step 6: Fix Composer problems

Illustration for Step 6: Fix Composer problems

For Drupal 8 and later, run composer install in the project and check versions.

Step 7: Restore if needed

Illustration for Step 7: Restore if needed

If the site is broken, restore the backup and retry on a copy.

Still stuck?

If these steps do not solve it, we fix it for you for a flat $99. Full refund if we do not solve it within 7 days.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-22.