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.
I tryed the steps above and still get the same error.
do you want me to have a look at your blog and fix it?
Yes please, if you don’t mind. What’s the cost.
email sent to your inbox, please respond.
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.
did you follow the steps in this tutorial?
also, try using filezilla or other ftp clients and see if they work.