• Hello, I’m facing error “update failed: could not copy file.” during updating plugin, wordpress or themes on all sites. I’ve checked more than 50% storage is free in server, also I’ve allocated unlimited storage to all cPanel. this problem is happening from last few days. can anyone help me regarding this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Can’t you upload files under Media either?

    Check the file permissions, see:

    Changing File Permissions

    Thread Starter nomanatif

    (@nomanatif)

    I already have checked folders permissions is correct. and i can upload files from file manager. my data center team have checked everything properly from server end. he said problem from wordpress side.

    Have a look at the error message in the source code. It actually occurs whenever wp-content/ cannot be written to.

    Can you have a look if in your wp-config.php a line like

    define('FS_METHOD', 'direct');

    is present? Could you remove this line for a test?

    Thread Starter nomanatif

    (@nomanatif)

    Hello, No this line is not exist in wp-config.php file

    Could you add it then as a test:

    define('FS_METHOD', 'direct');

    Direct under

    Add any custom values between this line and the “stop editing” line

    Otherwise I have no more idea ??

    • This reply was modified 1 year, 11 months ago by threadi.
    Thread Starter nomanatif

    (@nomanatif)

    Not working after added this as well.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Update failed: Could not copy file.’ is closed to new replies.