Push QMO theme and plugin updates to production



6 years ago
6 years ago


(Reporter: craigcook, Assigned: jason)






6 years ago
We need to push the latest code updates for QMO from git (https://github.com/mozilla/quality.mozilla.org) to production at your earliest convenience. Sorry for the short notice but today would be great. If you're all booked solid for today already, let us know your next open launch window (Thursday maybe?)

Note this also adds a languages folder in qmo_content (moving the custom language files out of their plugin folders so they're less likely to be lost in future updates). We're also removing some plugins we're no longer using.

This upgrade includes a significant version update to Buddypress which is a somewhat delicate process, and just pushing the code without a few added precautions can cause major breakages. So the steps will be:

1. Deactivate ALL plugins
2. Push the code from Git
3. Activate ONLY Buddypress and complete its update procedure (creating some new pages, etc)
4. Activate the other plugins

If we can set up a time for this push I can be online to handle the deactivating/reactivating on the WordPress side of things, we'll just need someone from IT to handle the push from Git.


6 years ago
Assignee: nobody → server-ops
I can be around to handle Wordpress things if Craig isn't for some reason.
When do we think that this is likely to happen?

Comment 3

6 years ago
I can do this tomorrow (Thursday)... say, around 1pm PT?
Sounds good to me.

Comment 5

6 years ago
This is mostly completed. Craig is still working out some kinks... There will probably be another small push on this, so I'm marking as resolved incomplete... please re-open when that's ready.

Last Resolved: 6 years ago
Resolution: --- → INCOMPLETE

Comment 6

6 years ago
I've committed some fixes to git that should be pushed as soon as possible.


6 years ago
Assignee: server-ops → jthomas

Comment 7

6 years ago
Can I proceed with this anytime? Do we need to follow the steps above?
Resolution: INCOMPLETE → ---

Comment 8

6 years ago
(In reply to Jason Thomas [:jason] from comment #7)
> Can I proceed with this anytime? Do we need to follow the steps above?

Yep, any time, and you don't need to follow the steps. This is just a straight code update and doesn't need any downtime. Just 'git pull' at your earliest convenience. Thanks!

Comment 9

6 years ago

[root@dm-qmo01 ~]# cd /data/www/quality.mozilla.org/wordpress/qmo_content
[root@dm-qmo01 qmo_content]# ls
bb-config.php.dist  languages  plugins  themes  uploads  wp-config.php.dist
[root@dm-qmo01 qmo_content]# git pull
remote: Counting objects: 25, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 13 (delta 12), reused 13 (delta 12)
Unpacking objects: 100% (13/13), done.
From git://github.com/mozilla/quality.mozilla.org
   56bb313..c95cd4c  master     -> origin/master
Updating 56bb313..c95cd4c
 plugins/wp-recaptcha/wp-plugin.php |    6 ++--
 themes/QMO4/_inc/global.js         |    4 +-
 themes/QMO4/footer.php             |    2 +-
 themes/QMO4/functions.php          |   47 +++++++-----------------------------
 themes/QMO4/page-teams.php         |    1 +
 themes/QMO4/style.css              |    4 +-
 6 files changed, 18 insertions(+), 46 deletions(-)
[root@dm-qmo01 qmo_content]#
Last Resolved: 6 years ago6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.