WordPress Update or Plugin Install Failed: 'Could Not Create Directory'
Updates and installs fail with permission or directory errors. Check file permissions, disk space, the .maintenance and update lock files.
WordPress needs to write files to update itself. When it cannot, you see errors such as "Could not create directory", "Installation failed", or "Another update is currently in progress".
Check disk space and file count
Your hosting panel shows disk usage and the number of files (inodes). If either is full, nothing can be written. Delete old backups, caches and unused plugins and themes, then try again.
Check file permissions and ownership
Folders usually need 755 and files 644. If your host offers a Fix file ownership or Fix permissions option, run it. Wrong ownership after a migration is a very common cause.
"Another update is currently in progress"
WordPress locks updates for a few minutes to stop two from running at once. Wait 15 minutes and try again. If a failed update left the lock behind, it expires on its own.
Site stuck in maintenance mode
If the site shows a maintenance message, see our maintenance mode guide.
Memory or time limits
Large updates can run out of memory or time. See our memory guide.
Update by hand as a last resort
Download the plugin or theme zip, delete the old folder in wp-content/plugins (or themes) through File Manager, and upload and extract the new one. Take a backup first, and never delete wp-content/uploads.
Related guides
- WordPress Theme Customizer Preview Blank or Stuck Loading
- WordPress Multilingual Plugins: URLs, Duplicates and SEO Issues
- WordPress Block Editor Fonts and Icons Missing in Editor But Fine on Site
- WordPress Background Images Not Loading on Mobile