ftp update core/plugin issues 'could not remove the old plugin'.
-
Hi,
I have wordpress on a few servers and works ok. But this one server has quite strict security.
I couldn’t update the core files, it kept saying, couldn’t ‘create folder’ without telling where the folder was. I ended up installing 4.0.1 via ftp and the latest database now works.
So I continue to try and update some of the plugins, none of them are success, with the following result:
**
Update Plugin
Downloading update from https://downloads.www.ads-software.com/plugin/xxx.zip…
Unpacking the update…
Installing the latest version…
Removing the old version of the plugin…
Could not remove the old plugin.
Plugin update failed.
Return to Plugins page
**I have via my ws_ftp chmod all the necessary folders and still doesn’t work. I tried a few other fixes as suggested on these forums, such as
define('FS_METHOD','direct');
and also
if(is_admin()) { add_filter('filesystem_method', create_function('$a', 'return "direct";' )); define( 'FS_CHMOD_DIR', 0751 ); }
none of them work.
what does happen is the files are installed into the update as a .tmp file but they cannot be moved across to the final plugin folder.
I tested with akismet and my server couldn’t create the new folders aki uses. So I made the folders myself and then the update worked, but stopped at finalising the install. So I uplaoded via ftp and then changed the version from 3.0.4 to 2.0.4 and tested again. Again the auto update didn’t finalise and deleted all the files in akismet folder (but not lower). I had to direct ftp again.
I asked my server hosts and they say the error is from within wordpress, not the linux system’s ftp failure so, it’s down to here to try and resolve it.
Any ideas?
Andy
- The topic ‘ftp update core/plugin issues 'could not remove the old plugin'.’ is closed to new replies.