Installation failed: Could not copy file blah.php
-
Just updated SSH SFTP update support from 0.8.1 to version 0.8.2. After updating it, went to install another plug-in (health check) and got message like this:
Installation failed: Could not copy file. health-check/assets/css/health-check.cssAlso attempted to update (not install in these cases but update) two other plug-ins. Got similar failures, various filenames depending on plug-in I attempt to upgrade, on each upgrade attempt
Downgraded to 0.8.1 (by reloading the old version of plug-in via SFTP) and then was able to both install and upgrade the other plug-ins without error. But then upgraded self to 0.8.2 and immediately got the error messages again.
Did not change any file permissions between attempts. Did check that the owner and group are correct on all files within the plug-ins I attempted to update.
“FTP” credentials all included within wp-config. Nothing else broken or suspicious on the affected two sites. Sites are on same server but different docroots (and not WP-MU)
WP is 5.2.2. And using PHP 7.3 however, which does seem to have some issues of other sorts. I did a quick eyeball of the error logs for the affected sites and did not see anything related to this plug-in.
The topic ‘Installation failed: Could not copy file blah.php’ is closed to new replies.