Symptoms
- WordPress says Update failed or Could not create directory.
- The site shows Briefly unavailable for scheduled maintenance and stays like that.
- The download of the update times out.
Cause
Common causes:
- The server's disk is full, so WordPress cannot unpack the update.
- The download from wordpress.org was interrupted.
- An update was stopped half way, which leaves a
.maintenancefile that keeps the site in maintenance mode.
How to fix
- Open the app's Logs tab and search for
No spaceto see whether the disk is full. See Server disk is full. - If the disk is full, delete old media, old backups made by plugins and unused themes and plugins from the WordPress admin, then try again.
- Try the update once more from Dashboard, then Updates. A single failed download is usually temporary.
- If the site is stuck on the maintenance message for more than a few minutes, open the app and use Restart. If it is still stuck, raise a ticket: the leftover
.maintenancefile has to be removed from the app's folder. - Open the app's Logs tab and type
PHPin Show lines containing to see errors from the update.
When to raise a ticket
Use Raise a ticket if the disk is not full and updates keep failing, or the maintenance message does not clear. Include the application name, which update failed, the time and the message WordPress showed. Our support team will check the app's folder and disk.
Was this helpful?
Still need help?
24/7 support from our team. Sign in to the console to raise a ticket about this.