Closed
Bug 462429
Opened 16 years ago
Closed 16 years ago
Update AMO and SAMO tonight 10/30
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: morgamic, Assigned: oremj)
Details
We need to update AMO and SAMO tonight. It is mostly a code push, but we have some instructions for database and cron jobs coming shortly. No downtime expected.
Comment 1•16 years ago
|
||
As part of the new compatibility dashboard, please do the following after SVN up: 1. There were several new variables/constants added to config.php. They are here: http://pastebin.mozilla.org/565016 Please add them to production config.php. NETAPP_STORAGE should be a writable location where a file can be read from all web servers. 2. Setup a cron to run this script every hour. /bin/compatibility_report.php If this is on dm-stats01, please make sure the above config changes are made there as well, as it will be creating the file in NETAPP_STORAGE that is read by the web servers. That should be all to get the compatibility dashboard running.
Reporter | ||
Comment 2•16 years ago
|
||
We also need to run this SQL to delete spam user accounts: delete from reviews where user_id in ( select id from users where email like "%bugmenot.com" ); delete from users where email like "%bugmenot.com" and email != "geem@bugmenot.com";
Reporter | ||
Comment 3•16 years ago
|
||
BTW - previous SQL is from bug 454953. We also need to run this sql from another spam bug (bug 462449): delete from translations where id in (248080, 248082, 260926, 260928, 260930, 260932, 260934, 260936, 260938, 260940, 260942, 260946, 260948, 260950, 260952, 260954, 260956, 260958, 260960, 260962, 260964, 260966, 260968, 260970, 260972, 260974, 260976, 260978, 260981, 260983, 260985, 260987, 260989, 260991, 260993, 260995, 260997, 260999, 261001, 261003, 261005, 261007, 261009, 261011, 261013, 261019, 261021); delete from reviews where body in (248080, 248082, 260926, 260928, 260930, 260932, 260934, 260936, 260938, 260940, 260942, 260946, 260948, 260950, 260952, 260954, 260956, 260958, 260960, 260962, 260964, 260966, 260968, 260970, 260972, 260974, 260976, 260978, 260981, 260983, 260985, 260987, 260989, 260991, 260993, 260995, 260997, 260999, 261001, 261003, 261005, 261007, 261009, 261011, 261013, 261019, 261021);
Reporter | ||
Comment 4•16 years ago
|
||
For the config constants, make sure to include everything here: http://pastebin.mozilla.org/565016 If we don't add the last two items to the config it makes AMO sad.
Assignee | ||
Updated•16 years ago
|
Assignee: server-ops → oremj
Assignee | ||
Comment 6•16 years ago
|
||
mysql> delete from reviews where user_id in ( select id from users where email like -> "%bugmenot.com" ); Query OK, 33 rows affected (0.86 sec) delete from users where email like "%bugmenot.com" and email != -> "geem@bugmenot.com"; Query OK, 439 rows affected (13.82 sec) mysql> delete from reviews where body in (248080, 248082, 260926, 260928, 260930, -> 260932, 260934, 260936, 260938, 260940, 260942, 260946, 260948, 260950, 260952, -> 260954, 260956, 260958, 260960, 260962, 260964, 260966, 260968, 260970, 260972, -> 260974, 260976, 260978, 260981, 260983, 260985, 260987, 260989, 260991, 260993, -> 260995, 260997, 260999, 261001, 261003, 261005, 261007, 261009, 261011, 261013, -> 261019, 261021); Query OK, 43 rows affected (0.05 sec) delete from translations where id in (248080, 248082, 260926, 260928, 260930, -> 260932, 260934, 260936, 260938, 260940, 260942, 260946, 260948, 260950, 260952, -> 260954, 260956, 260958, 260960, 260962, 260964, 260966, 260968, 260970, 260972, -> 260974, 260976, 260978, 260981, 260983, 260985, 260987, 260989, 260991, 260993, -> 260995, 260997, 260999, 261001, 261003, 261005, 261007, 261009, 261011, 261013, -> 261019, 261021); Query OK, 47 rows affected (0.57 sec) Updated and cache cleared as well.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•5 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
•