Page MenuHomePhabricator

LocalizationCache issues on Orain wiki; raw message IDs being shown in UI
Closed, InvalidPublic

Description

I am not sure if this goes in the Phabricator but many times if the cache is not rebuilt there are LC cache issues on Orain (LC cache doesn't work). I do not have all the info.

Event Timeline

Reception123 raised the priority of this task from to Medium.
Reception123 updated the task description. (Show Details)
Reception123 added subscribers: Reception123, Addshore.

You should provide exact configuration settings related to cache and localization caching.

Also, clarify what do you mean by many times if the cache is not rebuilt there are LC cache issues... when does that happen? when you upgrade?

Aklapper changed the task status from Open to Stalled.Aug 31 2015, 10:05 PM

Hi @Reception123,
unfortunately this report is not very useful because it does not describe the problem well. If you have time and can still reproduce the problem, please add a more useful and complete description to this report.

Aklapper raised the priority of this task from Medium to Needs Triage.Aug 31 2015, 10:05 PM
Aklapper added a project: MediaWiki-General.
Aklapper set Security to None.

Hi @Ciencia_Al_Poder and @Aklapper,

I'm NDKilla, one of Orain.org's System Administrators (at least, on our mediawiki servers. I don't have global root access).

This has definitely been annoying for us and I was actually just made aware of this issue. I just read the link Aklapper provided and will try to clarify some things..

I'm not exactly sure how or why this happens, but the results are easy enough to occasionally view. If you head over to http://orain.org and login, clicking the Extension:Echo notification window will display broken messages like in this image

5n9Iqxr.png (920×450 px, 56 KB)

This is also noticeable in a few places on our wiki (anywhere custom messages are used) like Special:Logs/farmer

Orain's Ansible Playbook automatically updates (and as needed, downloads new) extensions every hour on the hour, and this may be part of the problem. The ansible playbook is also supposed to automatically rebuild the cache, but it doesn't force rebuild any languages that "don't need to be rebuilt" according to the software, and this appears to be a problem.

Frequently (several times a day, but usually not every hour) the LC cache appears to degrade. running the rebuildLocalisationCache.php maintenance script on our wiki that has all extensions enabled appears to fix the issue globally, but only temporarily.

I'm not sure what cache settings you'd like to see, but many of our settings can be found in our ansible playbook's mediawiki files online https://github.com/Orain/ansible-playbook/tree/master/roles/mediawiki/files/localsettings

I recently added a cron job to auto force a refresh of the LC caches on all MW servers, this has minimized the disruption caused by this issue, but it's merely a stopgap at best, it has done nothing to fix the underlying problem.

@Arcane21 I'm fairly certain that cron job was removed ~10 days ago by addshore
I've manually been running the LC rebuild on extloadwiki 2-3 times a day for a week every day I'm home

@Arcane21 I'm fairly certain that cron job was removed ~10 days ago by addshore
I've manually been running the LC rebuild on extloadwiki 2-3 times a day for a week every day I'm home

That would explain why I've been seeing the system messages again more often.

Aklapper renamed this task from LC Cache issues on Orain (https://meta.orain.org/wiki/) to LocalizationCache issues on Orain wiki; raw message IDs being shown in UI.Sep 1 2015, 10:59 AM

@Aklapper definitely related. More or less when it started

@Aklapper I've replied to a question on that github issue related to our config settings, might be interested

https://github.com/Orain/ansible-playbook/pull/720 hopefully fixed it
unlike github, should wait here before closing this IMO, but I feel rather silly for this :p

Southparkfan claimed this task.

The actual cause of the issues described here was a silly issue (lack of a real $wgLocalisationCacheConf config), introduced 2 years ago.