Closed
Bug 472317
Opened 17 years ago
Closed 16 years ago
Push Sumo 0.8.1 to prod on date Tuesday 20th January 2009.
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: laura, Assigned: chizu)
Details
This is a tracking bug for now, tag will be added (when it exists).
| Reporter | ||
Comment 1•17 years ago
|
||
As part of this push, you'll need to re-generate the htaccess rules via:
sudo webroot/htaccess.sh
| Reporter | ||
Comment 2•17 years ago
|
||
This is slipping, will advise new date.
Summary: Push Sumo 0.8.1 to prod on Tuesday 13th January 2009. → Push Sumo 0.8.1 to prod on date TBA January 2009.
Comment 3•17 years ago
|
||
For bug 470554, manual_index.php will need to be run to reindex. Please refer to comment 8 of bug 470554.
For bug 470378, the sphinx.conf on prod will need to be edited and some file perms need to be updated. Refer to comments 5 and 8 of bug 470378.
| Reporter | ||
Comment 4•17 years ago
|
||
From bug https://bugzilla.mozilla.org/show_bug.cgi?id=470550, we'll need to recreate the se_words table, as per https://bugzilla.mozilla.org/attachment.cgi?id=356203
| Reporter | ||
Comment 5•17 years ago
|
||
From bug 470365, copy scripts/sphinx/search.conf.php.dist to scripts/sphinx/search.conf.php and add production setup details, as per Nelson.
| Reporter | ||
Comment 6•17 years ago
|
||
Summary: Push Sumo 0.8.1 to prod on date TBA January 2009. → Push Sumo 0.8.1 to prod on date Tuesday 20th January 2009.
Comment 7•17 years ago
|
||
Before running manual_index.php in comment 3, please delete lastindexingtime.txt so as to force a fresh index from scratch. If you have already run it, you can always delete lastindexingtime.txt and rerun it.
Also, delete lastindexingtime-f.txt and then run manual_index_forums.php to do a fresh from scratch index of the forums.
Comment 8•17 years ago
|
||
PLEASE NOTE that the following se_words table must be recreated prior to indexing using manual_index.php to avoid the same bug 470550 appearing again.
(In reply to comment #4)
> From bug https://bugzilla.mozilla.org/show_bug.cgi?id=470550, we'll need to
> recreate the se_words table, as per
> https://bugzilla.mozilla.org/attachment.cgi?id=356203
| Reporter | ||
Comment 9•17 years ago
|
||
So, to summarize:
1. Switch to tag
https://svn.mozilla.org/projects/sumo/tags/0.8/0.8.1_20080115_r21592/
2. Copy scripts/sphinx/search.conf.php.dist to
scripts/sphinx/search.conf.php and add production setup details that point to loadbalancer host/port for sphinxd
3. Re-generate the htaccess rules via:
sudo webroot/htaccess.sh
4. From bug 470550, we'll need to recreate the se_words table, by running
https://bugzilla.mozilla.org/attachment.cgi?id=356203
5. Delete webroot/lastindexingtime.txt and webroot/lastindexingtime-f.txt.
6. The sphinx.conf file will need to be edited and some file
perms need to be updated. (Refer to comments 5 and 8 of bug 470378.) Specifically:
6.1 Update sphinx.conf so it points to the correct location for the stopwords, that is scripts/sphinx/stopwords.txt
6.2 Copy scripts/sphinx/stopwords.txt.dist to scripts/sphinx/stopwords.txt and set read/writable by Apache
7. Run
php webroot/manual_index.php
to re-index pages.
8. Run
php webroot/manual_index_forums.php
to re-index forums.
9. Verify creation of webroot/lastindexingtime.txt and webroot/lastindexingtime-f.txt.
Comment 10•17 years ago
|
||
chizu's out sick, so reassigning to oncall (justdave).
Assignee: thardcastle → server-ops
Updated•17 years ago
|
Assignee: server-ops → justdave
Updated•17 years ago
|
Assignee: justdave → reed
Comment 11•17 years ago
|
||
(In reply to comment #9)
> So, to summarize:
> 1. Switch to tag
> https://svn.mozilla.org/projects/sumo/tags/0.8/0.8.1_20080115_r21592/
Done, though I screwed up and switched to that exact tag, when I should have swapped to that tag + /webroot due to how we have it set up.
> 3. Re-generate the htaccess rules via:
> sudo webroot/htaccess.sh
Done.
The rest has been left for chizu to do, per discussion with laura. Note that the scripts directory is still using the old tag, so it'll need to be changed over to the new tag.
Assignee: reed → thardcastle
Comment 12•16 years ago
|
||
on testing this on the load test cluster, discovered another step that is needed:
10. run "./usr/bin/indexer --all" if this is the first time indexing, otherwise run "./usr/bin/indexer --all --rotate"
Comment 13•16 years ago
|
||
Where are we with this one? What needs to happen to close this?
| Reporter | ||
Comment 14•16 years ago
|
||
It should be closed (0.8.1 was pushed), and the Sphinx related items that are outstanding I will put in a new ticket. They should be done by chizu in a maintenance window although I don't anticipate problems.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
Updated•12 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•6 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•