• Unfortunately I cannot pinpoint the start of the problem, I know it has happened within the past 2 weeks, possibly within the past week.

    When I try to upgrade a plugin automatically, the page just hangs and after several minutes goes to the page where it says that it is ‘unpacking’ but just stalls there for good.

    This happens with ANY plugin I try to update. This is what I have tried.

    1. Cleared all browser cache.
    2. Deactivated all plugins.
    3. Tried different themes.
    4. Edited HTACCESS and php.ini to allow for more memory use.

    After all of this, I still cannot update any plugins. I can disable them, I can install them, I can enable them. JUST CANNOT update them.

    Any suggestions? thanks guys!

Viewing 13 replies - 1 through 13 (of 13 total)
  • Check the permissions and ownership of the updates folder on the server.

    Thread Starter awolverine

    (@awolverine)

    Would that be the wp-content/plugins folder?

    Thanks!

    No, this would be wp-content/updates/

    which is the folder WordPress creates when it does automatic updates & upgrades.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    No, it’s wp-content/updates

    Now all that said … sometimes these things don’t work because of your server. Have you had any php/OS upgrades on your server?

    Thread Starter awolverine

    (@awolverine)

    Gotcha, no php/OS updates that I’m aware of, I’m on a grid on Media Temple.

    This is the first time I have had issues with the updating of plugins since I have been with them.

    If I find out there has been a PHP upgrade, etc, what should my next course of action be, if there is one?

    Thanks!

    Thread Starter awolverine

    (@awolverine)

    I am looking at my php.info page,

    says that I’m on version PHP Version 5.2.14

    Would this page be useful to finding a clue?

    Thread Starter awolverine

    (@awolverine)

    Well, here’s something interesting, I DON’T see an updates folder in my wp-content/ folder.

    Then make one. ?? Give it permissions so WP can write to it.

    So that’s why it hung up, it couldn’t make the folder.

    Thread Starter awolverine

    (@awolverine)

    So I put an updates folder in wp-content, so wp-content/updates, cleared all the cache again, set write permissions to the updates folder and still the same issue, unfortunately ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I’m on a grid on Media Temple

    Ask them if there were any OS updates to your server.

    On some servers, the way they are set up makes it difficult to use the auto-update feature.

    I experienced the same problem. I am also using Media Temple for my hosting. I tracked the problem down to this block of code in the “wp-admin/includes/class-wp-filesystem-base.php” file of WordPress version 3.1.3 …

    /**
       * Locates a folder on the remote filesystem.
       *
       * Expects Windows sanitized path
       *
       * @since 2.7
       * @access private
       *
       * @param string $folder the folder to locate
       * @param string $base the folder to start searching from
       * @param bool $loop if the function has recursed, Internal use only
       * @return string The location of the remote path.
       */
      function search_for_folder($folder, $base = '.', $loop = false ) {
        if ( empty( $base ) || '.' == $base )
          $base = trailingslashit($this->cwd());

    The issue appears to be related to the call the “$this->cwd()” … does not exist or appear to be defined anywhere. After commenting this line, my upgrades worked ok. Let me know if this information is helpful.

    Update.
    I further investigated the issue identified with the “$this->cwd()”, and determined the method was indeed defined in the “class-wp-filesystem-ssh2.php” …

    The problem was finally identified as an SSHd restriction setting on my server that limited my ssh for my secure user to just sftp. ‘ssh’ access was being denied and thus the attempt to execute ‘ssh2_exec” PHP function locked up. Problem was resolved by updating the access restrictions in SSHd

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Attempt Of Any Plugin Updates/Hangs’ is closed to new replies.