I’m trying to upgrade to WP 3 but I’m getting a weird error when I try to do so:

Downloading update from http://wordpress.org/wordpress-3.0.4.zip.

Unpacking the update.

Could not create directory: /my/path/web/wp-content/upgrade/wordpress-3.tmp

Installation Failed

The reason it’s weird is because the upgrade directory has 777 permissions. I ran chmod -R 777 upgrade/ and when I do an ls, I see that upgrade is world-writable. I’m sure I’m dealing with the right directory because if I delete upgrade, I get a different error.

Any idea why this happening?

13 s
13

You need to run the chown command on whole wp-content directory:

chown www-data:www-data /path/to/wp-content/ -R

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *