Title: Updating WordPress and its plugins
Last modified: August 24, 2016

---

# Updating WordPress and its plugins

 *  [NogNeetMachinaal](https://wordpress.org/support/users/nogneetmachinaal/)
 * (@nogneetmachinaal)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/updating-wordpress-and-its-plugins/)
 * Hi Everyone,
 * I’m having trouble trying to update plugins and WordPress with the sftp option.
   
   When updating WordPress it ends with: “Unable to locate WordPress Root directory”.
   When updating plugins it ends with: “Unable to locate WordPress Content directory(
   wp-content)”.
 * I’m running Ubuntu 14.04.2 with all updates.
 * The different WordPress sites are installed as a virtual host in separate folders
   under /var/www/html.
    I have installed vsftpd as described here: [https://help.ubuntu.com/lts/serverguide/ftp-server.html](https://help.ubuntu.com/lts/serverguide/ftp-server.html).
   In addition, I have created a separate user account (being wp-update) pointing
   to /var/www/html as being the home for all the WordPress sites (represented as
   a folder for each virtual hosts). I’m able to login using FileZilla/sftp with
   this account and can create folders and files. The (self-signed!) certificates
   are created with this: [http://www.server-world.info/en/note?os=Ubuntu_14.04&p=ssl](http://www.server-world.info/en/note?os=Ubuntu_14.04&p=ssl)
 * The vsftp log has multiple entries like the one below:
    Tue May 26 18:54:22 2015[
   pid 14175] [wp-update] DEBUG: Client “192.168.0.150”, “No SSL session reuse on
   data channel.”
 * When selecting the ssh2-option, the update was successful without entering any
   of the authentication keys. However, somehow, I’m not convinces that this is 
   how it supposed to work?!
 * What am I missing here?

Viewing 1 replies (of 1 total)

 *  [Martin Robbins](https://wordpress.org/support/users/santeven/)
 * (@santeven)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/updating-wordpress-and-its-plugins/#post-6169519)
 * For what it’s worth, I do it on CentOS with sshd, no ftpd, and [https://wordpress.org/plugins/ssh-sftp-updater-support/](https://wordpress.org/plugins/ssh-sftp-updater-support/)

Viewing 1 replies (of 1 total)

The topic ‘Updating WordPress and its plugins’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Martin Robbins](https://wordpress.org/support/users/santeven/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/updating-wordpress-and-its-plugins/#post-6169519)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
