Title: WordPress doesn&#8217;t update after changing database
Last modified: August 29, 2017

---

# WordPress doesn’t update after changing database

 *  [silveringking](https://wordpress.org/support/users/silveringking/)
 * (@silveringking)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wordpress-doesnt-update-after-changing-database/)
 * Hi, I moved my website from one server to another using duplicator and I set 
   up a new database and changed the database/user/pass on wp config, but now I 
   can’t update my plugins, it gives an error.
 * Can you help me?
 * Thanks!

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

 *  [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * (@stephencottontail)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wordpress-doesnt-update-after-changing-database/#post-9451892)
 * Do you remember what the error message was? Can you [enable debugging](https://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG)
   and see if there are any other error messages being displayed?
 *  Thread Starter [silveringking](https://wordpress.org/support/users/silveringking/)
 * (@silveringking)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wordpress-doesnt-update-after-changing-database/#post-9452005)
 * The error was
 * `Update Failed: Could not create directory.`
 * But my plugins dir is with 755 if I am not wrong so it is correct, if you need
   me I can enable debugging.
 * Just so you remember I changed completely my database, now is a different database
   with new name, user and pass.
 *  [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * (@stephencottontail)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wordpress-doesnt-update-after-changing-database/#post-9452091)
 * Can you verify that the `wp-content` folder is owned by the same user that owns
   the Apache/Nginx process?
 *  Thread Starter [silveringking](https://wordpress.org/support/users/silveringking/)
 * (@silveringking)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wordpress-doesnt-update-after-changing-database/#post-9452194)
 * I don’t know how to check the Apache/Nginx process, I work on debian how do I
   check it?
    But `wp-content` is owned by root, maybe that is the problem, no?
 *  [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * (@stephencottontail)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wordpress-doesnt-update-after-changing-database/#post-9452232)
 * I haven’t used Debian in quite a long time, but running
 * `ps -aux | grep apache`
 * or
 * `ps -aux | grep nginx`
 * should tell you who owns the process. `wp-content` probably shouldn’t be owned
   by root.
 *  Thread Starter [silveringking](https://wordpress.org/support/users/silveringking/)
 * (@silveringking)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wordpress-doesnt-update-after-changing-database/#post-9454072)
 * > [View post on imgur.com](https://imgur.com/nSNgWhp)
 * Does this help? I can’t guess with this. Anyway, yes I uploaded the backup from
   duplicator via scp with root, I had some problems with my sftp account, I still
   have them (but that’s another story), all my dirs are owned by root because of
   this.
 *  Thread Starter [silveringking](https://wordpress.org/support/users/silveringking/)
 * (@silveringking)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wordpress-doesnt-update-after-changing-database/#post-9455102)
 * Hi, I solved while waiting, I just needed to change permissions from root to 
   the correct user and group.
 * Thanks!

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

The topic ‘WordPress doesn’t update after changing database’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [silveringking](https://wordpress.org/support/users/silveringking/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/wordpress-doesnt-update-after-changing-database/#post-9455102)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
