1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

there must be a plugin for this, anyone know if it exists? (auto-update)

Discussion in 'Blogging' started by mark0v, Jun 11, 2011.

  1. mark0v

    mark0v Junior Member

    Joined:
    May 6, 2010
    Messages:
    114
    Likes Received:
    20
    I ran into some problems upgrading my wordpress installs from 3.1 to 3.1.3

    Long story short, I used SSH to log into my server.
    I used wget to pull the new .zip from wordpress to my server
    I unzipped that file
    I used the cp command to copy those files over the existing files.

    Is there a plugin which will do the same as I've just described above? I'm fairly certain that it could be accomplished by using the exec command within php. I'd much rather have a web interface that I could click on rather than rely upon typing everything out in an SSH session for each and every site everytime wordpress needs updated.
     
  2. aReJay

    aReJay Power Member

    Joined:
    Apr 29, 2009
    Messages:
    736
    Likes Received:
    237
    Location:
    Down under
    Ok....

    Couple of points

    1) Your post title seems to assume that this is a WordPress forum... while every n00b brings their WordPress/adsense woes here, doesn't make it an WP forum - take that shit to DP or WF

    2) You're making WP upgrades WAAAAAAAAAAAAYYYYYYY....... to complex

    Unless your updating daily using the SVN or using a centralised core system outside the normal http root to drive a number of WP installations there is no need to make updating WP so damn difficult - that shit was designed so even the most useless people could keep up to date with that shit.

    </rant>

    Login to WordPress -> Click Big F*ck Off Update Button -> Press Ok

    Sheaaat... you just updated Wordpress.

    DONE!!!!
    -aReJay
     
  3. mark0v

    mark0v Junior Member

    Joined:
    May 6, 2010
    Messages:
    114
    Likes Received:
    20
    Thanks for the explanation, but I'm not quite at that level of uselessness ;) What you suggested does not work on all systems, mine included. Regarding your rant, read the forum description.

    If I use the update button, it will just throw errors. Wordpress addresses this situation by suggesting something much more complex and time consuming than what I've described: http://codex.wordpress.org/Updating_WordPress#Manual_Update (look up the manual update)

    Anyway, if anyone is familiar with this situation, I'd appreciate some input.

    update:
    Apparently the reason I've been experiencing problems is that wordpress won't update unless its files are owned by the same user which Apache runs as, which is "nobody". When I set up a wordpress install with fantastico, the files are owned by the account username, not "nobody". So in order to fix this, apparently I either need to login via SSH to each installation and chown all wordpress files to "nobody" which could have security implications, or else use the process I described above.
     
    Last edited: Jun 11, 2011