• I have searched around on the forums and Google and have been unable to find a solution to my particular issue.

    When trying to automatically upgrade plugins I get the following:

    Downloading update from https://downloads.www.ads-software.com/plugin/stats.1.3.8.zip

    Unpacking the update

    Deactivating the plugin

    Removing the old version of the plugin

    Could not remove the old plugin

    Plugin upgrade Failed

    I have used both my FTP URL and “localhost” as the Hostname for the connection, neither works. Username and password are correct as I can manually upgrade the plugins, which is time-consuming and what I’m hoping to avoid.

    I have chmod the permissions on the wp-content, upgrade and plugins folders to 777 and 775 and every combination therein.

    As you can see, the plugin that is failing is the WP Stats plugin, so I don’t think it’s a plugin issue as it also happens for the other 5 plugins I need to update.

    Anyone?

Viewing 15 replies - 1 through 15 (of 24 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Check the file permissions on the files in WP Stats. Sometimes images get weird permissions and don’t update right.

    Thread Starter chazbeaner

    (@chazbeaner)

    i can give that a shot, but the issue happens when trying to upgrade any of 5 different plugins. Could there be a permissions issue in all of my plugin folders? Can I just chmod the stats folder to 777 and make recursive and see if that will work?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    It’s likely a permissions issue or a server config issue. Did it ever work?

    Thread Starter chazbeaner

    (@chazbeaner)

    I went in and made 777 recursive through the entire plugin folder and the upgrade still failed with the same message.

    Did you ever figure out a fix for the problem?

    Got the same problem it downloads the plugin to /wp-content/upgrade/pluginname/pluginname/ but fails to move it to the plugins directory to activate it again. This behaviour happens for me since upgrading to 2.8.0 and persisted through 2.8.2. Anyone got any hints toward the solution. Permissions on the plugin directory are fine. It must be other permissions.

    I see the same issue on 2.8 running on IIS 7 , all file permissions granted. Any other permission needing setup ?

    I too have this problem on several servers. I am the system administrator and I have root access.

    Why are there no guides for system administrators on how to setup web servers to make WordPress run smoothly?

    I had trouble with automatic upgrades for a year, until I did a chown -R www-data:www-data /var/www/mysite/html

    That gave wordpress permission to do the upgrade, but it broke FTP access for the mysite account because it is no longer the owner of the files.

    This chown fix did not resolve the “cannot delete” plugins. Installing plugins automatically works, but upgrading fails.

    It would be nice to have a how to guide for setting up apache for wordpress to work, and it would be nicer if WordPress would just Work, or fail gracefully with useful error messages.

    My automatic upgrades didn’t work for a variety of plugins and I fixed it by deleting the plugin files completely and uploading manually. wp-admin and wp-includes also needed to be deleted and reinstalled manually…just overwriting the files wasn’t good enough.

    All auto upgrades work perfectly now.

    I too am having problems getting anything to update.

    I’ve changed all permission settings to 777, but it hasn’t helped.

    For instance I get this type of error message, it always seems to be a file that can’t be copied:

    Downloading update from https://downloads.www.ads-software.com/plugin/tweet-this.1.6.1.zip.
    
    Unpacking the update.
    
    Could not copy file /public_html/wp-content/upgrade/tweet-this.1.6.1/tweet-this/languages/tweet-this.mo

    Very frustrating!

    Just tried another one and got this:

    Downloading update from https://downloads.www.ads-software.com/plugin/sociable.3.5.1.zip.
    
    Unpacking the update.
    
    Installing the latest version.
    
    Removing the old version of the plugin.
    
    Could not remove the old plugin.
    
    Plugin upgrade Failed.

    So I’m getting a variety of error messages.

    Needless to say, I don’t want to upgrade WordPress with this type of situation going on.

    I just did a new install on a new host and Akismet installed properly but when I tried to install other plugins from the plugins page, it failed. When I checked the site files, it appears that the plugins downloaded and unpacked in the wp-content/plugins directory OK but they do not show up on the blog admin plugins list. Any clues? I’m lost on this one.

    OK, I did some more checking and it appears that the plugins did not fully unpack. I found there were missing files in the folders for both plugins I had tried to install. This was the case even though I had allowed over 5 minutes for each plugin to download and install.
    So I downloaded the .zip to my computer, unzipped and FTP’d to the server and then I was able to activate the plugins. But I have no explanation for the fact that they didn’t do the autoinstall properly. What would cause them to only partially unzip? Or unzip and lose files. Weird.

    detroiter

    (@detroiter)

    I’m having the exact same problem as lindafar above.

    It doesn’t give me the same error every time. Sometimes it will be “cannot remove old plugin” and sometimes it will be “cannot copy file”.

    The weird thing is that it used to work fine and then all of a sudden it didn’t work at all.

    It seems the problem is also affecting the uploading of new plugins as I tried to manually update the plugins. Similar error messages and inordinate amount of time waiting for it to complete.

    physalis

    (@physalis)

    Is there a simple solution to this “could not remove old plugin” problem? Seems the other ones may be of a different kind, since I am only having the error message above & all other upgrades (i.e. WordPress itself) work fine all the way…

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Plugin Upgrade Failing, Cannot Remove Old Plugin’ is closed to new replies.