wordpress update Could not copy file.: /wp-admin/css/theme-editor.dev.css

I got a comment from one of the blog visitors on How to upgrade from WordPress 3.0 to WP 3.0.1 (manual & automatic to latest version) saying that he is getting this error when trying to do the automatic upgrade from wordpress admin panel:

Downloading update from https://wordpress.org/wordpress-3.0.1.zip…

Unpacking the update…

Verifying the unpacked files…

Installing the latest version…

Could not copy file.: /public_html/wp-admin/css/theme-editor.dev.css

Installation Failed

This error is due to the permissions issue. It’s not necessary that the folder(directory) or file is unwriteable or not having 777 permission, important thing is if the apache user has permission to modify the files.

On some server, if a file is uploaded by ftp user (using ftp client) then the apache user (http client) don’t have the permission to alter that file.

Solution is to try the manual upgrade of wordpress in this case (if you are sure that the error still persists even after setting directory permissions to 777)

Note: Deleting the upgrade folder in wp-content and then retrying auto update helped some users too, so do give it a try.

hire best wordpress php css developer
Need Help? Hire me now!
I can help you in anything related to webdevelopment, including: HTML, CSS, PHP & MySql, WordPress (plugins & themes development, others), regular expressions, server management, etc.

6 comments on “wordpress update Could not copy file.: /wp-admin/css/theme-editor.dev.css

  1. Not sure about that… look at FTP server logs:

    Nov 14 14:32:23 ****** pure-ftpd: (******@127.0.0.1) [NOTICE] /home/******/public_html/blog//wp-admin/css/theme-editor.css uploaded (821 bytes, 7712.88KB/sec)
    Nov 14 14:32:23 ****** pure-ftpd: (******@127.0.0.1) [INFO] Can’t change directory to /wp-admin/css/theme-editor.css/: Not a directory

    This “cd” to a directory that does not exists is not quite a question of permissions over folders or files… I guess.

Leave a Reply

Your email address will not be published.