Page MenuHomePhabricator

Uncaught MediaWiki\Config\ConfigException: Translate: Message group subscriptions (TranslateEnableMessageGroupSubscription) are enabled but Echo extension is not installed
Closed, ResolvedPublic1 Estimated Story PointsPRODUCTION ERROR

Description

Error
labels.normalized_message
Uncaught MediaWiki\Config\ConfigException: Translate: Message group subscriptions (TranslateEnableMessageGroupSubscription) are enabled but Echo extension is not installed in /srv/mediawiki/php-1.44.0-wmf.5/extensions/Translate/src/HookHandler.php:438
error.stack_trace
(REDACTED)
Impact
Notes

Around 200 errors

Details

Request URL
https://legalteam.wikimedia.org/wiki/Main_Page
Related Changes in Gerrit:

Event Timeline

From T381252: legalteam wiki reliably returns 500s

Currently, any request to https://legalteam.wikimedia.org is returning 500 with this:

Uncaught MediaWiki\Config\ConfigException: Translate: Message group subscriptions (TranslateEnableMessageGroupSubscription) are enabled but Echo extension is not installed in /srv/mediawiki/php-1.44.0-wmf.5/extensions/Translate/src/HookHandler.php:438

This wiki is used in health checks, so needs to be fixed ASAP.

This is partly on me: during the deployment window, I said that the error observed in rollout looked like T380958: httpb sometimes fails upon deployment with a HTTP 503. We should have looked more closely at legalteam wiki in this error. cc @abi_ @KartikMistry

Change #1099659 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[operations/mediawiki-config@master] Translate: Disable message group subscription feature for legalteamwiki

https://gerrit.wikimedia.org/r/1099659

This is partly on me: during the deployment window, I said that the error observed in rollout looked like T380958: httpb sometimes fails upon deployment with a HTTP 503. We should have looked more closely at legalteam wiki in this error. cc @abi_ @KartikMistry

Oops my bad, I should have verified legal team wiki specifically. Submitted a patch to disable the feature on that wiki.

Change #1099659 merged by jenkins-bot:

[operations/mediawiki-config@master] Translate: Disable message group subscription feature for legalteamwiki

https://gerrit.wikimedia.org/r/1099659

Mentioned in SAL (#wikimedia-operations) [2024-12-02T11:09:06Z] <ladsgroup@deploy2002> Started scap sync-world: Backport for [[gerrit:1099659|Translate: Disable message group subscription feature for legalteamwiki (T372386 T381250)]]

Now erroring with:

11:13:16 Check 'check_testservers_baremetal-1_of_1' failed: Sending to 4 hosts...
https://boardgovcom.wikimedia.org/wiki/Main_Page (/srv/deployment/httpbb-tests/appserver/test_remnant.yaml:43)
  mwdebug2002.codfw.wmnet
    Status code: expected 200, got 503.
    Body: expected to contain 'Board Governance Committee', got '<!DOCTYPE html>\n<html lang="en">\n<meta charset="ut'... (1953 characters total).
===
FAIL: 131 requests sent to each of 4 hosts. 1 request with failed assertions.

Mentioned in SAL (#wikimedia-operations) [2024-12-02T11:14:58Z] <ladsgroup@deploy2002> Started scap sync-world: Backport for [[gerrit:1099659|Translate: Disable message group subscription feature for legalteamwiki (T372386 T381250)]]

Mentioned in SAL (#wikimedia-operations) [2024-12-02T11:19:30Z] <ladsgroup@deploy2002> abi, ladsgroup: Backport for [[gerrit:1099659|Translate: Disable message group subscription feature for legalteamwiki (T372386 T381250)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-12-02T11:26:19Z] <ladsgroup@deploy2002> Finished scap sync-world: Backport for [[gerrit:1099659|Translate: Disable message group subscription feature for legalteamwiki (T372386 T381250)]] (duration: 11m 21s)

Legalteam wiki is now back up. Thanks for reporting and helping deploy the fix.

abi_ assigned this task to Ladsgroup.
abi_ moved this task from Backlog to Done on the LPL Essential (LPL Essential 2024 Nov-Jan) board.

Actually, why does legalwiki not have Echo? I found T97760: Enable Echo on all Wikimedia wikis about it, with the conclusion (as far as I understand) “why not”. If the lack of Echo causes problems, that’s one more reason to enable it there.

Nikerabbit set the point value for this task to 1.Jan 9 2025, 9:42 AM