Title: cannot upgrade plugins or install plugins after changing host.
Last modified: August 19, 2016

---

# cannot upgrade plugins or install plugins after changing host.

 *  [sarah.kho](https://wordpress.org/support/users/sarahkho/)
 * (@sarahkho)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/cannot-upgrade-plugins-or-install-plugins-after-changing-host/)
 * Hi,
 * I moved my wordpress host from one provider to another provider and many off 
   problems happened after they restored my full backup. I resolved as many of them
   as I could but one problem is really hard to resolve. I should include that WP
   in deployed into the root of my website and when I navigate to sarahdom.me or
   my domain name, my weblog is shown.
 * Assuming that I want to upgrade the Akismet to its latest version:
 * – After I select the plugin for upgrade it asks me for a FTP username and password,
   I create two username password set to use. For each one of them, I get an error
   which I included.
 * user: [admin@sarahdom.me](https://wordpress.org/support/topic/cannot-upgrade-plugins-or-install-plugins-after-changing-host/admin@sarahdom.me?output_format=md)
   and its default directory is set to /public_html
 * In case I use the above username, password and my frp hostname during the upgrade.
   It works for some minutes and then shows and error message like the following
   one:
 * > Enabling Maintenance mode…
   > Updating Plugin Akismet (1/1)
   >  Downloading update from [http://downloads.wordpress.org/plugin/akismet.2.5.1.zip…](http://downloads.wordpress.org/plugin/akismet.2.5.1.zip…)
   > Unpacking the update… An error occured while updating Akismet: Could not create
   > directory. /wp-content.
   > All updates have been completed.
 * The other user I created is like
 * user: sarahdom and its default directory is /
 * the following one and when I enter this user during pluign upgrade, I get the
   error message I included below.
 * >  Enabling Maintenance mode…
   > Updating Plugin Akismet (1/1)
   >  Downloading update from [http://downloads.wordpress.org/plugin/akismet.2.5.1.zip…](http://downloads.wordpress.org/plugin/akismet.2.5.1.zip…)
   > Unpacking the update… An error occured while updating Akismet: Could not create
   > directory. /public_html.
   > All updates have been completed.
 * Any comment on how to solve the problem is very welcome. Maybe I need to provide
   the username and password is some configuration files or maybe I should change
   the default directories. Whatever is the reason and the solution, I cannot find
   it.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [sarah.kho](https://wordpress.org/support/users/sarahkho/)
 * (@sarahkho)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/cannot-upgrade-plugins-or-install-plugins-after-changing-host/#post-1858239)
 * Hi,
 * Any comment?
 * Thanks
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/cannot-upgrade-plugins-or-install-plugins-after-changing-host/#post-1858240)
 * [http://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants](http://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants)
 *  [dancriel](https://wordpress.org/support/users/dancriel/)
 * (@dancriel)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/cannot-upgrade-plugins-or-install-plugins-after-changing-host/#post-1858409)
 * try to chmod your /wp-content directory 755, and 777 if that doesn’t work. on
   some hosts this is necessary.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘cannot upgrade plugins or install plugins after changing host.’ is closed
to new replies.

## Tags

 * [move host](https://wordpress.org/support/topic-tag/move-host/)
 * [upgrade](https://wordpress.org/support/topic-tag/upgrade/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [dancriel](https://wordpress.org/support/users/dancriel/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/cannot-upgrade-plugins-or-install-plugins-after-changing-host/#post-1858409)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
