Title: WordPress Plugin update &quot;Could not create directory&quot;
Last modified: August 30, 2016

---

# WordPress Plugin update "Could not create directory"

 *  [lewiverdatama](https://wordpress.org/support/users/lewiverdatama/)
 * (@lewiverdatama)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wordpress-plugin-update-could-not-create-directory/)
 * Today I update my WordPress to 4.3 version. After that, a few of my plugins requires
   me to update them. Unfortunately, I got error message like below:
 * > [http://downloads.wordpress.org/plugin/plugin-1.0.1.zip…](http://downloads.wordpress.org/plugin/plugin-1.0.1.zip…)
   > 
   > Unpacking the update… Could not create directory. /wp-content/upgrade/plugin.
   > tmp Return to Plugins page
 * FYI, I run my WordPress blog on cloud server from [DigitalOcean](https://www.digitalocean.com/?refcode=72440c29625a).
   So I have SSH access to run command through console. If you have SSH access too,
   you can follow my step by step solution.
 * Honestly, before i figure out this solution, it’s very frustrated. No clue when
   I Google it. But, finally it can be solved.
 * First, you have to give access for webserver to access the WordPress installation
   directory. My WordPress installation is **/var/www/wordpress** and it might be
   different with yours, so you need to match it.
 * Run this command via SSH console/terminal:
 * `chown -R www-data:www-data /var/www/wordpress`
 * after that, you need to set directory permissions as follow:
 *     ```
       sudo find /var/www/wordpress/ -type d -exec chmod 755 {} \;
       sudo find /var/www/wordpress/ -type f -exec chmod 644 {} \;
       ```
   
 * Congratulations! Now you can update your plugins or even update your WordPress
   core.

The topic ‘WordPress Plugin update "Could not create directory"’ is closed to new
replies.

## Tags

 * [could not create directory](https://wordpress.org/support/topic-tag/could-not-create-directory/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [lewiverdatama](https://wordpress.org/support/users/lewiverdatama/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/wordpress-plugin-update-could-not-create-directory/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
