Title: Update cannot locate wp-content folder
Last modified: September 9, 2016

---

# Update cannot locate wp-content folder

 *  [dckirba](https://wordpress.org/support/users/dckirba/)
 * (@dckirba)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/update-cannot-locate-wp-content-folder/)
 * Hello Guys and Gals,
 * I have seen several posts regarding this error, but none of the proposed solutions
   have worked for me. I just moved a WP site to a new Ubuntu VPS and have been 
   setting it up. I used the steps outlined [here](https://www.digitalocean.com/community/tutorials/how-to-configure-secure-updates-and-installations-in-wordpress-on-ubuntu)
   to create a new user for WP (wp-user) who owns the WP directory and who can log
   in via SSH and keys to update plugins, themes, etc. However, when I try to update
   a plugin, I get an error:
 * `An error occurred while updating Jetpack by WordPress.com: Unable to locate 
   WordPress content directory (wp-content).`
 * My WP site is not in the /var/www/html folder. It is nested within that in /var/
   www/html/wpsite. This is defined correctly in the WP dashboard (under settings).
   I tried updating the wp-config file with:
 * `define('FTP_BASE','/var/www/html/wpsite/')`
 * But that does not work and I get the same error again. I know this is a simple
   configuration error but I can’t seem to spot it. I would appreciate any help!
 * Thanks in advance for your time.
 * Best,
    David

Viewing 1 replies (of 1 total)

 *  Thread Starter [dckirba](https://wordpress.org/support/users/dckirba/)
 * (@dckirba)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/update-cannot-locate-wp-content-folder/#post-8177253)
 * As an update:
 * I have checked all permission and the user I created (wp-user) has all the correct
   permissions. In addition to defining FTP_BASE, I also tried defining the FTP_CONTENT_DIR
   and FTP_PLUGIN_DIR, all to no avail. I still get the “cannot locate WordPress
   content directory” error while trying to update a plugin.

Viewing 1 replies (of 1 total)

The topic ‘Update cannot locate wp-content folder’ is closed to new replies.

## Tags

 * [configuration error](https://wordpress.org/support/topic-tag/configuration-error/)
 * [wp-config](https://wordpress.org/support/topic-tag/wp-config/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [dckirba](https://wordpress.org/support/users/dckirba/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/update-cannot-locate-wp-content-folder/#post-8177253)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
