Closed
Bug 536143
Opened 15 years ago
Closed 15 years ago
Enable gearman-powered maintenance scripts on preview and prod
Categories
(addons.mozilla.org Graveyard :: Localization, defect, P1)
addons.mozilla.org Graveyard
Localization
Tracking
(Not tracked)
RESOLVED
FIXED
5.5
People
(Reporter: wenzel, Assigned: oremj)
References
Details
There are two gearman-powered maintenance scripts not: maintenance.php l10n_stats and maintenance.php l10n_rss To run these, the following needs to happen: - in vendors/gearman-php edit config.php and point the jobs dir to ..../bin/gearman_jobs/ as well as adjusting the server settings if necessary. - In a screen or similar (better yet, with some sort of watchdog daemon so the worker is restarted when it crashes), start at least one instance of `..../vendors/gearman-php/gearman-worker.php`. - finally create cron jobs for the two jobs mentioned above. I suggest at least once a day, or every few hours. Clouserw, who would we assign this to?
Reporter | ||
Comment 1•15 years ago
|
||
I will run the necessary migration on preview shortly: http://viewvc.svn.mozilla.org/vc/addons/trunk/site/app/config/migrations/57970-l10n_eventlog.sql?view=log .... done.
Comment 2•15 years ago
|
||
cron jobs that are once a day are fine for now. Jeremy is the only one that can do this for now, so I'll send to him
Assignee: nobody → jeremy.orem+bugs
Depends on: 531013
Assignee | ||
Comment 3•15 years ago
|
||
I've added these to cron on preview. Prod tag doesn't have gearman code yet.
Comment 4•15 years ago
|
||
The "Recent Activity" box is empty for hebrew(he) and cy URL:https://preview.addons.mozilla.org/en-US/localizers/he screenshot:http://screencast.com/t/YTQ5Y2Q5
Reporter | ||
Comment 5•15 years ago
|
||
We just fixed two bugs that might have caused this: - cy was part of valid_languages, but not supported_languages, so we are using the former now for maintenance tasks (r59013) - the RSS feed collected from viewvc only covered the last month, which might not be far enough back for locales with very few updates. We switched it to all available history in r59029.
Comment 6•15 years ago
|
||
yep, it's fixed up now
Comment 7•15 years ago
|
||
I've verified this is working on preview and production. Thanks oremj.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•