Jump to content

Wordpress Upgrade Via Shell?


Recommended Posts

I guess you all have already heard that any 2.1.1 install is potentially compromised...

 

http://dougal.gunters.org/blog/2007/03/03/...o-wordpress-212

 

Anyway, I didn't do any 2.1.1 upgrades, thankfully, but I have several to do, and this seems interesting:

 

http://techtites.com/2007/03/03/upgrading-...ress-via-shell/

 

I just don't know to "log into my account via shell." Is that something we're permitted to do? If so, how? Didn't see anything about that in cpanel.

 

Thanks in advance,

 

-kj-

Link to post
Share on other sites

You don't need shell access to upgrade. Download the current archive and unzip it to your hard drive. Then change into the wordpress folder that was created and create a new zip file of all the files. Upload that zip file to your web space (blog folder). Delete the files stated in the instructions you linked to doing a shell install. Now open File Manager in cPanel, browse to your blog folder, select the zip file you uploaded and extract the contents. Run the upgrade script and you are done.

 

This is how I do it and I maintain 7 blogs.

Link to post
Share on other sites

Thanks guys. I know I don't need shell access, I've been running (and upgrading) Wordpress blogs since v1.2-something. The issue is easing the process.

 

I have a few more blogs than you (12-14 I think), but the number is less important than the configurations. Many use different plugins, themes, some have customized the default theme, it's quite a mix.

 

I do agree that uploading a single zip file is the way to go, I just started doing that two upgrades ago. But I have to create several different distributions based on the blog I'm upgrading (school, personal, etc.)

 

Wordpress rules, but, that 2.1.1 breach is a real doozy. Makes you wonder ... and I can't believe my good fortune in not having upgraded to 2.1.1.

 

-kj-

Link to post
Share on other sites

Upgrading a WP blog does not touch the themes or plugins if done properly. You are only replacing Wordpress files.

 

Remove the wp-admin, wp-include folders and the php files in the root folder (not the wp-config.php file). Unzip the new archive and you are done. Your themes and plugins are stored in the wp-content folder and you don't touch that one.

 

I can upgrade all 7 blogs in 20 minutes and they are on several different servers.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...