What this problem is
Updating WordPress core fails, gets stuck, or returns an error message in the dashboard.
Why it happens
- Insufficient permissions to write files
- Low PHP limits (max execution time, memory)
- Not enough disk space/inodes
- Connection issues to WordPress update servers
Prerequisites
- Hosting panel access (files, PHP settings, disk usage)
- FTP access for recovery (recommended)
Diagnosis
- Check available disk space and inode usage.
- Check permissions/ownership for WordPress files.
- Review error logs around the time of the update attempt.
Detailed steps
Step 1) Put the site in a stable state
If the site is stuck in maintenance mode, remove .maintenance.
Step 2) Fix permissions and ownership
Use hosting tools to ensure the web user can write to WordPress directories. Typical permissions: folders 755, files 644.
Step 3) Increase PHP limits temporarily
Increase memory and execution time in the hosting panel. If you use wp-config.php memory settings, set at least 256M.
Step 4) Retry the update
Retry from wp-admin. If it keeps failing, perform a manual update via FTP (covered in a dedicated article).
Expected results
- WordPress core updates successfully
- No partial core folders remain
What to do if it fails
- Disable plugins temporarily and retry
- Confirm the host is not blocking outbound connections
- Use the manual FTP update method
Best practices
- Back up before core updates
- Keep PHP up to date and within supported versions
- Update on staging first for high-traffic sites