Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Mar 2002
    Posts
    448

    Default Automatic Wordpress updates usually fail. Anyone found a solution?

    Hi All,

    I'm playing around with Wordpress, a copy that originally manually self-installed, as opposed to using Fantastico or similar to do the base install for me.

    Whenever updates/patches are issued for either Wordpress itself, and/or plugins I've installed, I'll always attempt the automatic update feature. Problem is that, especially with regard to core Wordpress updates, the automatic (web-based) update option almost always fails. If memory serves, the brief reasons given are that Wordpress couldn't create some folder or another, i.e. a permissions issue. But even though I attempt to fix the permissions issue on the file and/or folders in questions, these problems come around again and again, i.e. I don't seem to be able to arrive at a permanent permissions fix. The fallback (which always works) is to use an ftp client to manually perform the update. So it works in the end, but this method is relatively slow and messy.

    Is anyone else having this issue? Perhaps my mistake was that I didn't let Fantastic do all the grunt work for me in the first place to install Wordress? Or perhaps the issue is unresolvable because suphp is NOT running on the hosting server, so the default user if 'nobody', whereas perhaps Wordpress needs files/folders to be owned by an individual account users for auto updates to run smoothly?

    Any insights would be appreciated. Thx.
    • Web Design Perth .:. Itomic Business Website Solutions of Perth, Western Australia

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Automatic Wordpress updates usually fail. Anyone found a solution?

    Or perhaps the issue is unresolvable because suphp is NOT running on the hosting server, so the default user if 'nobody', whereas perhaps Wordpress needs files/folders to be owned by an individual account users for auto updates to run smoothly?

    I would agree with this assessment.

  3. #3
    Member
    Join Date
    Apr 2011
    Posts
    14

    Default Re: Automatic Wordpress updates usually fail. Anyone found a solution?

    If your server is fast then it would not fail

  4. #4
    Member
    Join Date
    Jul 2010
    Posts
    13
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Automatic Wordpress updates usually fail. Anyone found a solution?

    I noticed that updates from autoinstaller scripts (like softaculous) are generally more reliable...

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2004
    Posts
    313
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: Automatic Wordpress updates usually fail. Anyone found a solution?

    Quote Originally Posted by uninvited13th View Post
    If your server is fast then it would not fail
    Quote Originally Posted by lastguru View Post
    I noticed that updates from autoinstaller scripts (like softaculous) are generally more reliable...
    These statements, quite frankly, are false. If permissions are not set properly for your PHP environment, the auto-update functionality for Wordpress will always fail. I don't recommend using the auto-updater with the DSO loader because youll need to throw 777 permissions on just about everything (bad idea).

    The simple solution is to run SuPHP. Ensure 755 for directories and 644 for files as well as proper cPanel user ownership (as opposed to nobody), and you'll be able to user the auto-updater no problem.
    NDCHost (ProVPS): Xen VPS / Dedicated / Co-Location
    Contact us for your cPanel Licensing needs! We price match, provide better support, and take care of our customers!

  6. #6
    Member JoshDylan's Avatar
    Join Date
    Apr 2011
    Location
    Michigan
    Posts
    163
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Automatic Wordpress updates usually fail. Anyone found a solution?

    Garrett said it best. Simply use SuPHP and you will not have this issue. Simple solution for this issue. If your a cpanel customer from a hosting company, I suggest making a ticket requesting that they enable SuPHP for their services.
    ~ Joshua @JoshuaDubinsky
    Check out my site - JoshDylan.com

Similar Threads & Tags
Similar threads

  1. Replies: 11
    Last Post: 04-20-2011, 05:09 AM
  2. Wordpress updates
    By tloosle in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-07-2010, 02:17 PM
  3. Wordpress Install from cpAddons FAIL
    By jerrek71 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-22-2010, 07:18 PM
  4. Wordpress Install from cpAddons FAIL
    By jerrek71 in forum cPanel Developers
    Replies: 2
    Last Post: 12-09-2009, 04:58 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube