Blog Azeroth

A forum for World of Warcraft Bloggers
It is currently Thu Oct 02, 2014 8:26 am

All times are UTC




Post new topic Reply to topic  [ 17 posts ] 
Author Message
 Post subject: wordpress 2.5 upgrade stories
PostPosted: Tue Mar 04, 2008 7:41 pm 
Offline
User avatar

Joined: Tue Jan 29, 2008 6:40 am
Posts: 28
The new wordpress is coming out soon, probably on or around the 10th.

http://codex.wordpress.org/Migrating_Pl ... 2.3_to_2.5

I'll upgrade soon because of the better editor, finally table headers work. If anyone else has tried the beta or when they do upgrade, it may help to post which plugin or theme breaks happen so we know what to watch out for.

Sadly I just got it generally working like I wanted ...

_________________
http://flux.io/


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Tue Mar 04, 2008 9:36 pm 
Offline

Joined: Mon Feb 11, 2008 6:35 pm
Posts: 23
Location: http://phuckd.us
Bleh, 2.3 was a mess for me, I hope this ones better.

_________________
Ganomette
http://phuckd.us


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Wed Mar 05, 2008 9:57 am 
Offline

Joined: Thu Jan 24, 2008 12:37 am
Posts: 104
Here's what I'd suggest to make the upgrade as painless as possible:

First and foremost, make sure you're logged in as the default "admin" profile, some stuff doesn't work properly on a different account with admin rights

- Backup both your data files and your Database (obvious but still)
- Restore the data files to your sandbox blog (you have one, right?)
- Disable all plugins
- Revert to the default theme
- Copy the new code, including the default theme
- Upgrade the database
- Verify that your sandbox works (view site in a separate browser window or tab)
- Update then activate each plugin one by one, skip those which are broken
- Verify that your sandbox still works (refresh your separate window or tab)
- Switch to your normal theme
- Fix what is broken (if at all)
- Final verification that everything is working

Upgrading your blog proper:
- disable all plugins
- copy the new files
- If you changed your theme, copy the changed files
- Follow the upgrade procedure for the database
- Verify that your site still works
- Reactivate all working plugins EXCEPT caching plugins
- Verify again
- Activate caching plugins last

That's the long but IMO safe method.

_________________
Altitis- When 1 toon just isn't enough, you can always roll another 49.
Image


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Wed Mar 05, 2008 7:21 pm 
Offline
User avatar

Joined: Wed Feb 20, 2008 8:15 pm
Posts: 21
A sandbox blog? Is that like a staging site that is private and used for testing?


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Wed Mar 05, 2008 8:03 pm 
Offline
User avatar

Joined: Tue Jan 29, 2008 6:40 am
Posts: 28
It's a separate place where you can experiment without interfering with your real site. For example, you could add a subdomain that is your sandbox, e.g. sandbox.flux.io or test.flux.io, and then install the same setup there. You test your changes in the sandbox first and then copy them over when you are satisfied it works. I generally don't bother for small changes that I know I can reverse easily because I am intrinsically lazy. For large changes like a custom theme or major patch, it's a good idea.

Gwaendar pointed out something though that I would like to emphasize. Test at least once in the life of your blog that you can restore from backups. You never know until you try if you are backing up everything you need or if it's being done the right way. And it's too late when you need them and they don't work.

_________________
http://flux.io/


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Thu Mar 13, 2008 4:01 pm 
Offline
User avatar

Joined: Wed Jan 23, 2008 6:31 am
Posts: 112
Location: Rapid City, SD
Server: Kul Tiras (US)
So if I create sandbox.kestrelsaerie.us, can I simply restore the backup of my regular site to the sandbox? Or do I actually have to install WP first?

If the latter, can I simply zip my /kestrelsaerie folder on my server, and unzip it to the sandbox?

(I'm really not that much of a n00b: I suspect the answer to the second question is yes, then restore the backup to that install. Right?)

Thanks!

_________________
Image


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Thu Mar 13, 2008 4:31 pm 
Offline

Joined: Thu Jan 24, 2008 12:37 am
Posts: 104
The simplest way I recommend:
- install a fresh instance of WP with a separate database
- make sure your config file won't be overwritten
- restore the file backup to your sandbox directory
- Now restore the original database to the new one if you want to work on a perfect replica of your live site.
- Go into the options pannel, change the name and path of the blog so it does point to your sandbox and set it so that it doesn't attempt to notify the whole world of its existence.

_________________
Altitis- When 1 toon just isn't enough, you can always roll another 49.
Image


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Thu Mar 13, 2008 6:55 pm 
Offline
User avatar

Joined: Tue Jan 29, 2008 6:40 am
Posts: 28
Kestrel it depends on how you are doing backups, but what Gwaendar said is a good way. But be careful of plugins.

Your back up will have a copy of all the files on your site (your theme, Wordpress itself, plugins, some config, etc) and it will have a copy of your database (posts, comments, users, some config, special plugin tables, etc).

When you restore this in a sandbox it needs:

- its own file space where you unzip, e.g. the sandbox.kestrel.com folder
- it also needs its own database, so you aren't just overwriting your existing one
- the configuration which is stored in the backup needs to use the sandbox address

This is why Gwaendar recommended a fresh install and going into the options so much of this is done for you. The fresh install gets you a new database and the options change the site configuration.

But if your plugins make their own database tables you will also need to install any of them in the fresh copy of Wordpress.

There are easier ways to do this but it depends on how you do backups and what your hosting provider gives you in the way of databases.

_________________
http://flux.io/


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Thu Mar 13, 2008 7:29 pm 
Offline
User avatar

Joined: Wed Jan 23, 2008 6:31 am
Posts: 112
Location: Rapid City, SD
Server: Kul Tiras (US)
Ahhh...good stuff. AFAIK, none of my plugins create their own DBs; at least, I don't see them from my site manager back-end.

Looks like I have some work to do this weekend. :)

_________________
Image


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Thu Mar 13, 2008 10:38 pm 
Offline

Joined: Thu Jan 24, 2008 12:37 am
Posts: 104
Typical plugins with database components to look for:
- Backup plugins
- Stats plugins (like Statpress)
- Possibly some caching plugins, for remote files and so on
- I think (but don't quote me on that) that the Gravatars plugin also caches stuff locally, possibly with DB transactions behind it.

_________________
Altitis- When 1 toon just isn't enough, you can always roll another 49.
Image


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Tue Mar 18, 2008 11:02 pm 
Offline
User avatar

Joined: Tue Jan 29, 2008 6:40 am
Posts: 28
Please merge any upgrade stories or tips into

http://www.blogazeroth.com/viewtopic.php?t=580

and skip this thread.

_________________
http://flux.io/


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Tue Mar 18, 2008 11:11 pm 
Offline

Joined: Thu Jan 24, 2008 12:37 am
Posts: 104
I disagree. The other thread should highlight brief warnings about specific issues, the "I upgraded to 2.5 and all is well" stories can or stay here.

_________________
Altitis- When 1 toon just isn't enough, you can always roll another 49.
Image


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Tue Mar 18, 2008 11:16 pm 
Offline

Joined: Thu Jan 24, 2008 12:37 am
Posts: 104
I upgraded to 2.5 RC1 on my sandbox and all went well, BTW. With taking all the other precautions mentioned in the above-linked thread, the longest part was re-copying my sandbox to match my live installation.

Been playing around with several features so far, no big issues here. The only quirks I had so far were with some plugins using colour schemes which do not contrast much on the new admin colour, like All-in-one-SEO's function for the write menu.

The new placement of various Dashboard options take some time getting used to, and there's most definitely a line of code to add in your theme to have Gravatars in there (which I couldn't be arsed to do yet). My handmade theme didn't blink an eye about the upgrade either.

I tested the auto plugin updater on Statpress (all plugins deactivated), which actually DOES have a DB component, it went well.

_________________
Altitis- When 1 toon just isn't enough, you can always roll another 49.
Image


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Tue Mar 18, 2008 11:31 pm 
Offline
User avatar

Joined: Tue Jan 29, 2008 6:40 am
Posts: 28
The linked thread is a bug thread. And this one is a conversation thread.

Either way, I want both patch 2.4 and WP 2.5 to arrive ... now.

_________________
http://flux.io/


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Wed Mar 19, 2008 2:29 pm 
Offline

Joined: Thu Jan 24, 2008 12:37 am
Posts: 104
I have posted a more extensive review on my modest little blog.
Yes, I am not above some shameless self-promotion.

_________________
Altitis- When 1 toon just isn't enough, you can always roll another 49.
Image


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Sun Mar 30, 2008 10:18 am 
Offline

Joined: Thu Jan 24, 2008 12:37 am
Posts: 104
Altitis now runs on 2.5. No issues except with the plugin autoupdater on some of them (google xml sitemaps among them), but manual upload sorted it all.

_________________
Altitis- When 1 toon just isn't enough, you can always roll another 49.
Image


Top
 WWW Profile Send private message  
 
 Post subject:
PostPosted: Mon Mar 31, 2008 12:03 am 
Offline
User avatar

Joined: Tue Jan 29, 2008 6:40 am
Posts: 28
I updated http://flux.io/ to Wordpress 2.5. It took about 30 mins and there were no problems. I haven't customized the theme to take full advantage of the new features but otherwise this was painless and recommended. The only trouble was a spam comment that slipped through when the plugins were deactivated for a few minutes.

Update: There is a minor problem with the TinyMCE advanced plugin.

_________________
http://flux.io/


Top
 WWW Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
mergenine: WoW Alliance BB3
World of Warcraft ® ©2004-2007 Blizzard Entertainment, Inc. All rights reserved.