I was going to announce WordPress MU 2.9.1 today but I knew that people would run into trouble with the missing commentmeta table if they didn’t upgrade their blogs immediately.
So, download add-commentmeta.txt, rename it to add-commentmeta.php and copy it into your mu-plugins folder. Login to your site as a Site Admin, visit Site Admin->Upgrade and upgrade all the blogs on your site. Make sure you’re using WordPress MU 2.8.6 as the upgrade script in older versions may not execute the plugin.
The script above will add the commentmeta table to each blog. Give it time because it will take quite a while on large sites. WordPress MU 2.9.1 tomorrow.
So if I upgrade my site immediately after plopping down the 2.9.1 files, i don’t have to run the add-commentmeta script before hand?
Hi Donncha,
If we only have small WPMU installs (less than 100 blogs), is this step of using the mu-plugin necessary?
ie. will WPMU 2.9.1 try to add this new table as part of its standard upgrade procedure (if I update the core files then run Site Admin -> Upgrade).
For previous versions of WPMU that involve db changes, a separate mu-plugin wasn’t required.
Thanks.
It’s up to you, but I’d create the tables before hand. There’s nothing quite like the stress of upgrading and finding that something has broken. This is one less thing you have to worry about.
I don’t think the missing commentmeta table will crash your blogs or anything but there’s no harm in being prepared and having it done already.
We had some issues upgrading from to WPMU 2.8.6, so we’re still stuck at WPMU 2.7 (auto-upgrade isn’t working yet, so we have to do it manually). I was hoping to upgrade directly to WPMU 2.9.1… Will that be possible?
Ping! 😉
How I run this upgrade script from console (terminal, etc) in server?
I tried to locate the 2.8.6 download first, but could not find a link to it anywhere on the mu site. I am running 2.8.5.2. Do you think it is safe to upgrade to 2.9.1 directly? Or should I keep hunting down 2.8.6 first?
Shawn – you can get it in a zip file at the end of this page.
I upgraded to WPMU 2.9.1 before I read this post. So far I have less than a dozen blogs but plan on many more soon. What do you suggest I do?
Should I still install add-commentmeta.txt?
I went ahead and did the upgrade before seeing your message. I can report that at least for me I had no problem going from 2.8.5.2 to 2.9.1
Great job on this, I am loving the new features already, and I’m sure my users will really love them.
Nice! I was hoping on that!
That’s for sure! I’m sorry I found this post, after upgrading, but very glad to see that commentmeta tables were successfully created on all our 200+ member blogs. I’ll assume that means running Upgrade again with the script installed is not necessary.
Thanks for everything!
Not sure if this was necessary, but I did it and upgraded. No probs on my end.