Upgrading Wordpress 2.8.4 Problem

Discussion in 'WordPress' started by Bohol, Aug 20, 2009.

  1. #1
    When I tried to upgrade to the latest version of Wordpress, I got this error:

    Downloading update from http://wordpress.org/wordpress-2.8.4.zip.

    Unpacking the update.

    Could not copy file: /public_html/domainname.com/wp-content/upgrade/wordpress-2.8.4/wordpress/wp-comments-post.php

    Installation Failed

    What could be the cause of file being not copied which lead to a
    failed installation? What is the solution for this?
     
    Bohol, Aug 20, 2009 IP
  2. Bohol

    Bohol Peon

    Messages:
    2,680
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Update: I was able to fix this problem by chmoding wp-comments-post.php to 777. Just in case you encounter the same issue, chmod might be the solution.
     
    Bohol, Aug 21, 2009 IP
  3. Tearabite

    Tearabite Prominent Member

    Messages:
    4,628
    Likes Received:
    429
    Best Answers:
    0
    Trophy Points:
    300
    #3
    i have this problem all the time when doing updates.. I fix it by renaming the WP-Content\upgrade folder to something different like wp-content\upgradeXYZ (or just deleting it).. The installer will re-created the upgrade folder with the correct permissions, and then it works fine.
     
    Tearabite, Aug 21, 2009 IP
  4. Bohol

    Bohol Peon

    Messages:
    2,680
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi Tearabite,

    The new problem is that all my plugins can't be upgraded. All upgrades failed. What shall I do? Rename that folder?
     
    Bohol, Aug 21, 2009 IP
  5. Tearabite

    Tearabite Prominent Member

    Messages:
    4,628
    Likes Received:
    429
    Best Answers:
    0
    Trophy Points:
    300
    #5
    Yes - rename it, try again, then come back here to give me green-reps and thank me.
     
    Tearabite, Aug 21, 2009 IP
  6. DorianJ

    DorianJ Active Member

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #6
    For no reason this same failed auto-upgrade problem just appeared for me. Every plugin I tried to auto-update would fail. I don't know what I could have done to start the chain reaction, but finally deleted the wp-content/upgrade folder. It had a lot of stuff in there. Anyway, WP re-created this folder during the next plugin auto-update and everything has worked fine since.
     
    DorianJ, Sep 11, 2009 IP