Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

User talk:Converting2wp/Upgrade with subversion

Upgrading change.bbvx.org

I tried to use a scheme based on this process to upgrade change.bbvx.org

  • Backup everything, verify backups
  • Deactivate all plugins
  • Move base directory to a different name and recreate the base directory
  • Copy {.htaccess, wp-config.php, plugins, customized themes, uploaded files, images} to the new base directory
  • Do the co to get the latest version
  • Do the upgrade

Crashed with a blank screen. These were in the error log ... [Mon Mar 02 13:57:36 2009] [error] [client 24.225.78.32] WordPress database error Duplicate key name 'comment_approved' for query ALTER TABLE wp_comments ADD KEY comment_approved (comment_approved) made by wp_upgrade, make_db_current_silent, dbDelta, referer: http://change.bbvx.org/wp-admin/upgrade.php [Mon Mar 02 13:57:36 2009] [error] [client 24.225.78.32] WordPress database error Duplicate key name 'type_status_date' for query ALTER TABLE wp_posts ADD KEY type_status_date (post_type,post_status,post_date,ID) made by wp_upgrade, make_db_current_silent, dbDelta, referer: http://change.bbvx.org/wp-admin/upgrade.php

Reverted to

  • Reload the backups. [checked that things work. yay.]
  • Deactivate all plugins
  • Delete everything that's not site specific.
  • Download/unpack the latest version
  • Do the upgrade

Seems to be working -- all plugins updated and activated.