I just updated this site to WordPress 3.1, and it took the site down. The automatic updated failed to update the site, and left the site in a permanent “500 Internal Server Error”.
How to fix any failed WordPress core Update (3.1 included)
Understand that one beautify of WordPress is that the core software is entirely separate from any customizations (if done right). This means as long as you leave 2 items alone, you can replace your entire install.
Do not delete or overwrite:
- the “wp-content” folder (this has all your themes, modules, etc)
- The “wp-config.php” file (this has your database configuration information, security keys, etc)
If you know that you’re good.
Here’s the steps to restoring from a failed core update (any WordPress version updates).
- Backup your site (always a good idea, even if we’re not overwriting anything sensitive)
- Download the most recent version of WordPress
- Extract that download (I use my desktop for this)
- Upload everything except the “wp-content” folder right over your current site (I use FTP)
- Confirm there is no “.maintenance” file in the root of your WordPress install (if so, delete or rename it to “old.maintenance”)
- Visit your site to confirm it’s up
- Visit your admin (/wp-admin) to verify all database upgrades are applied
Your site should be in full working order.