Tech/WordPress Upgrade

From Stumptown Syndicate
< Tech
Revision as of 02:20, 30 January 2014 by Reid (Talk | contribs) (Update WordPress upgrade instructions)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Upgrading WordPress

We handle WordPress upgrades for the Syndicate network using wp-cli

cd /var/www/wordpress

# Get the mysql credentials
head -n 30 wp-config.php

# Dump a backup of the WP database (you'll be prompted for the password that you just displayed)
mysqldump -u syndicate -p syndicate > ~/wordpress_backup_`date +%s`.sql

# Upgrade the wordpress installation
wp core update

Once you've done this, you'll want to visit the Update Network page to complete the upgrade.