Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Auto update fails: Could not copy file.... WordPress

  • SOLVED

I get the following error when trying to do auto update:
Could not copy file.: /public_html/wp-admin/css/theme-editor.dev.css

Really would like to figure out what causes this as I have multiple sites with wordpress and this would make it much faster updating versus manually updating.

Answers (3)

2011-01-05

philip answers:

I assume you had a quick look at wordpress.org / Google and didn't find an answer there!

After having problems with auto updates - some of which were to do with my server firewall, file ownership and rarely permissions - i've started to use svn for installation and updates. Manual updates are a pain.

http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion

Never had a problem since!

It is fairly easy to move an existing site to an svn version, just did one from a root to subdirectory install.

Hope this helps avoid manual updates.

2011-01-05

Rashad Aliyev answers:

Hello,

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.


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.


Rashad Aliyev comments:

Good Instruction for updating: [[LINK href="http://nabtron.com/how-to-update-wordpress-3-0-1-to-3-0-2-manual-automatic/2967/"]]http://nabtron.com/how-to-update-wordpress-3-0-1-to-3-0-2-manual-automatic/2967/[[/LINK]]

2011-01-05

enodekciw answers:

Read [[LINK href="http://nabtron.com/wordpress-update-could-not-copy-file-wp-admincsstheme-editor-dev-css/2714/"]]this[[/LINK]]. It should explain.