• 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)
  • Do you remember what the error message was? Can you enable debugging and see if there are any other error messages being displayed?

    Thread Starter silveringking

    (@silveringking)

    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.

    Can you verify that the wp-content folder is owned by the same user that owns the Apache/Nginx process?

    Thread Starter silveringking

    (@silveringking)

    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?

    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

    (@silveringking)

    View post on imgur.com

    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

    (@silveringking)

    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.