What this problem is
You see a maintenance message, or updates fail and WordPress does not complete the process.
Why it happens
- An update was interrupted (timeout, lost connection)
- File permissions prevent writing new files
- Not enough disk space
Prerequisites
- FTP or File Manager access
- Backup (recommended)
Diagnosis
- Check if the file
.maintenanceexists in the WordPress root folder. - Review disk space and file permissions.
- Check if a plugin/theme update is partially applied.
Step-by-step (detailed)
- Delete the
.maintenancefile (if present). - Ensure correct permissions (typical: folders 755, files 644).
- Retry the update from wp-admin.
- If it still fails, update manually by uploading fresh files for the theme/plugin.
Expected results
- Maintenance message disappears
- Updates complete successfully
What to do if it fails
- If permissions are correct but it fails, check disk space and PHP limits.
- Disable security plugins temporarily if they block file writes.
- Use staging to test updates if the site is business-critical.
Best practices
- Do updates during low-traffic windows.
- Keep backups and rollback plan.
- Use managed updates or staging for major upgrades.