Jump to content

Cre8asiteforums Internet Marketing
and Conversion Web Design


Photo

How To Manually Upgrade Wordpress


  • Please log in to reply
10 replies to this topic

#1 cre8pc

cre8pc

    Dream Catcher Forums Founder

  • Admin - Top Level
  • 13527 posts

Posted 26 April 2008 - 11:00 AM

I made a mistake and thought the lesson might benefit the Community :)

My blog is a Wordpress blog. It's still at v 2.2.1. Typically I upgrade using Fantastico, offered by my host. It's gone smoothly and for me, required no labor. It was automatic.

I had read warnings that this is a bad choice. That automatic upgrades can destroy a blog or mess things up. I ignored them.

Thank heavens I did a full backup first. The auto update killed my blog. It was inaccessible and I couldn't find the source of the problem. So I rolled everything back (no small thing.)

Everything is intact except the Categories. They're gone! Years of blog posts are now uncategorized. I put back a few, but it would take hours and hours to fix this manually.

I have two questions.

1. Is there a way to get the categories back?

2. How do I manually upgrade? Is there a step by step write up somewhere?

#2 AbleReach

AbleReach

    Peacekeeper Administrator

  • Site Administrators
  • 6467 posts

Posted 26 April 2008 - 11:17 AM

Kim, do you have a database backup? You should be able to restore what was there by dropping a backup of the database into your theme.

Here is a step by step guide, using phpMyAdmin

- Try making a test install of WP elsewhere, and dropping the database backup into that install.
- Turn off all plugins first, so that if there is a plugin problem you will be able to more easily isolate what's going on.
- After everything is tested and working, repeat the process for your working, public blog.

Edited by AbleReach, 26 April 2008 - 11:34 AM.


#3 AbleReach

AbleReach

    Peacekeeper Administrator

  • Site Administrators
  • 6467 posts

Posted 26 April 2008 - 11:28 AM

added -

Wordpress.org on manually upgrading WordPress

A video tour of WP 2.5, by Matt Mullenweg. He is the founding developer of WordPress - about Matt, from his site

A pretty decent video about how to manually upgrade, using an earlier WP, but still will work.

Edited by AbleReach, 26 April 2008 - 11:33 AM.


#4 bwelford

bwelford

    Peacekeeper Administrator

  • Site Administrators
  • 9008 posts

Posted 26 April 2008 - 01:05 PM

Just some additional notes. There is a plugin for Wordpress Automatic Update (WAUP) that is absolutely great. Yesterday they announced version 2.5.1, which includes an important security fix relative to version 2.5. Using the WAUP, within minutes I had upgraded my three blogs to the new version.

They also mention that you can now download a Secret Key and provide code that should be added to your wp-config.php file. This gives added security against heavy-duty hackers.

#5 Guest_joedolson_*

Guest_joedolson_*
  • Guests

Posted 26 April 2008 - 03:31 PM

And since we're on the subject, I'm currently in the process of upgrading Cre8tive Flow...

...which went fine, by the way!

<edit>Link to blog added :)</edit>

Edited by projectphp, 26 April 2008 - 10:33 PM.


#6 cre8pc

cre8pc

    Dream Catcher Forums Founder

  • Admin - Top Level
  • 13527 posts

Posted 30 April 2008 - 10:09 AM

Joe managed to locate the problem I had while upgrading my blog. I don't fully understand it, however, so he can have the floor if he wishes to explain my missing categories fiasco and how he fixed it. BRAVO to Joe for saving my blog!!!

He also upgraded it to the latest version for me, because I'm too chicken to do it myself.

Now, I've discovered that since the WP upgrade, ALL my Sphinn votes for posts have been reset to zip/zero/nada. All that history is gone! (Except the new post from yesterday.)

I've reported it to Sphinn - http://sphinn.com/story/43518

but wanted to reach out and warn others if this is something new.

Not sure how to fix it either :)

#7 bwelford

bwelford

    Peacekeeper Administrator

  • Site Administrators
  • 9008 posts

Posted 30 April 2008 - 10:25 AM

That's a partial relief for you, Kim. FYI I've upgraded my blogs and the Sphinn votes are still there, so it's not inherent in the upgrade process.

#8 eKstreme

eKstreme

    Hall of Fame

  • 1000 Post Club
  • 3399 posts

Posted 30 April 2008 - 10:32 AM

Now, I've discovered that since the WP upgrade, ALL my Sphinn votes for posts have been reset to zip/zero/nada.

That sounds really serious! Are you sure the posts' URLs are the same as before the upgrade? It could be a simple slash at the end or whatever. CHECK IT NOW!!! Please.

Pierre

#9 cre8pc

cre8pc

    Dream Catcher Forums Founder

  • Admin - Top Level
  • 13527 posts

Posted 30 April 2008 - 10:44 AM

They look ok...all still formatted like www.cre8pc.com/blog/archives/442

Joe needed to mess with the database to fix the category problem. He may have a better idea about what may have happened.

#10 Guest_joedolson_*

Guest_joedolson_*
  • Guests

Posted 30 April 2008 - 12:47 PM

I'd bet your Sphinn votes were canonicalized to the non-www version of the post. Perhaps we should switch that around. I wasn't sure what the original really was, since they were contradictory!

I didn't actually figure out what went wrong in the upgrade which caused the loss of your categories, for the record --- I only discovered what blew up your blog in it's entirety! I was able to restore your categories purely by brute force and a little bit of knowledge about how WP manages categories. :)

It was a canonicalization issue in which the WP (enforced in WP 2.3+ but NOT enforced in 2.2-) contradicted the existing settings, causing a redirect loop.

All right, I was right - I reversed the canonicalization, and now you've lost the most recent Sphinns, but you've got everything else back.

The problem was that your home page was being forced to WWW but everything ELSE was set to being non-WWW --- because of the changes in Wordpress, it's no longer an option to have both versions.

#11 cre8pc

cre8pc

    Dream Catcher Forums Founder

  • Admin - Top Level
  • 13527 posts

Posted 30 April 2008 - 12:59 PM

Thank you!

I hope this helps people in the same boat down the road :)



RSS Feed

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users