GithubHelp home page GithubHelp logo

Comments (2)

rjackson avatar rjackson commented on September 25, 2024

We're currently running 4 MediaWiki containers

mediawiki-5c768c4c77-b7kfr    1/1       Running   0          23d
mediawiki-5c768c4c77-kvlq6    1/1       Running   0          23d
mediawiki-5c768c4c77-mr9nr    1/1       Running   0          23d
mediawiki-5c768c4c77-n9rqs    1/1       Running   0          23d

Only the last one, mediawiki-5c768c4c77-n9rqs, is failing to render localised text. I've now isolated that container, so it won't receive any live traffic, and I'll dig in and see if I can figure out why it's failing.

from deployment.

rjackson avatar rjackson commented on September 25, 2024

MediaWiki was configured to cache localisation strings within the local filesystem

https://github.com/tfwiki/mediawiki/blob/0a278f965c6c26c7cc6eb36598f0cab509c21524/configs/LocalSettings.php#L138

So each MediaWiki instance was maintaining its own individual caches.

Somehow, mediawiki-5c768c4c77-n9rqs ended up with a corrupt English cache file. Rebuilding the cache file fixed it in that instance.

To prevent this reoccurring, I've removed our custom localisation cache configuration. MediaWiki will now fall back on its default behaviour of caching the strings in the database.

tfwiki/mediawiki@52960d2

from deployment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.