Closed Bug 552701 Opened 14 years ago Closed 14 years ago

Update getpersonas.com to latest production revision on 3/16

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

All
Other
task
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rdoherty, Assigned: chizu)

References

Details

Attachments

(1 file)

Got an update to turn search back on using sphinx once bug 552700 is resolved. It was turned off to alleviate db load, but it's causing lots of user grief and actually increasing load b/c users are paging through hundreds of pages in the gallery.




Setup:
1) Copy docroot/server/lib/sphinx/localsettings.py-dist to
docroot/server/lib/sphinx/localsettings.py
2) Edit docroot/server/lib/sphinx/localsettings.py, adding db and sphinx
configuration. (db configuration is in
docroot/server/lib/personas_constants.php)
3) Run docroot/server/lib/sphinx/sphinx.conf, it will print out the
configuration for sphinx
4) Add that config to the sphinx cluster
5) Copy sphinx config at bottom of
docroot/server/lib/personas_constants.php.dist to
docroot/server/lib/personas_constants.php and change appropriate configuration 
6) Run indexer to index content, put on cron job to run every 5 minutes (indexing takes ~6 seconds)
r64245 is the revision to update to
Small sql statement to change 2 persona author's per bug 551715
Blocks: 551715
Assignee: server-ops → thardcastle
We shouldn't update while https://personas.stage.mozilla.com/en-US/ is still broken, should we?  (Bug 552839.)
Depends on: 552839
(In reply to comment #3)
> We shouldn't update while https://personas.stage.mozilla.com/en-US/ is still
> broken, should we?  (Bug 552839.)

Correct, that bug completely slipped my mind. We should figure out bug 552839 first.
Sphinx cluster configuration for this is done. Delaying the update to enable it until bug 552839 is solved.
This update is live:

U    server/templates/nav.php
 U   server/locale/sq/LC_MESSAGES/messages.po
 U   server/locale/ja
 U   server/locale
 U   server/lib/user.php
 U   server/lib/personas_functions.php
A    server/lib/sphinx
A    server/lib/sphinx/localsettings.py-dist
A    server/lib/sphinx/sphinxapi.php
A    server/lib/sphinx/sphinx.conf
UU   server/lib/storage.php
U    server/lib/personas_constants.php.dist
U    server/revisions.php
U    server/viewpersonas.php
U    static/css/style.css
 U   static/js/script.js
 U   .
Updated to revision 64245.

mysql>  update personas set author = 'WordPress.org' where id IN(85612, 85447);
Query OK, 2 rows affected (0.03 sec)
Rows matched: 2  Changed: 2  Warnings: 0
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
re-opening, tried pinging Trevor in IRC, we need another svn up to fix some cached css. Seems like certain pushes end up with css being cached.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Ok, updated:
U    server/revisions.php
U    static/css/style.css
Updated to revision 64255.
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Verified FIXED; Ryan and I see the fixes once we shift+reload (I re-tested search on prod, too).
Status: RESOLVED → VERIFIED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: