Page MenuHomePhabricator

Beta cluster logstash reports missing "/usr/share/GeoIP/GeoIP2-Country.mmdb" file
Open, Needs TriagePublic

Description

Summary

The Beta Cluster logstash has ~441 logs in the last 24 hours for a missing /usr/share/GeoIP/GeoIP2-Country.mmdb file

Background

  • It seems that the Beta Cluster has logs indicating the /usr/share/GeoIP/GeoIP2-Country.mmdb file is missing, specifically being:
The file "/usr/share/GeoIP/GeoIP2-Country.mmdb" does not exist or is not readable.
  • The logs do not contain any more context than this, other than they are on the WikimediaEvents channel

Acceptance criteria

  • The issue causing these logs is solved so they no longer appear in the Beta Cluster logstash

Details

Event Timeline

(Codesearch appears to confirm the WikimediaEvents connection, hence tagging. Perhaps Beta should set $wgWMEGeoIP2Path = null;? Or perhaps the file should be available, I don’t know.)

Dreamy_Jazz renamed this task from Beta cluster logstash has reports missing "/usr/share/GeoIP/GeoIP2-Country.mmdb" file to Beta cluster logstash reports missing "/usr/share/GeoIP/GeoIP2-Country.mmdb" file.Dec 19 2025, 3:45 PM

Change #1220635 had a related patch set uploaded (by STran; author: STran):

[operations/mediawiki-config@master] Disable GeoIP2 lookups from WikimediaEvents on beta

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

Perhaps Beta should set $wgWMEGeoIP2Path = null;? Or perhaps the file should be available, I don’t know.

I've pushed up a config patch to reflect the current reality, which is that the database doesn't exist on Beta atm. Getting that database onto Beta might be a longer task and if/when it gets done, this config can be reverted.

Change #1220635 merged by jenkins-bot:

[operations/mediawiki-config@master] Disable GeoIP2 lookups from WikimediaEvents on beta

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

Keeping this in progress so I can monitor logs for a bit before confirming this resolved the issue.

This doesn't appear to have fixed the issue. Not sure it's worth moving to the next sprint