Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Managing MaxMind GeoIP2 Files

To be written..The geotargeting plugin that ships with Revive Adserver v5.0.x and higher will automatically download and use the required datafile(s) from the MaxMind webserver at the time of installation, or when upgrading an existing installation that used an older version of the software. Specifically, it will download the compressed file "GeoLite2-City.tar.gz" and extract the file "GeoLite2-City.mmdb" contained in it. It will also store an md5 checksum of the mmdb file, so that it can check for future updates of it.

The geotargeting plugin also checks every night during the midnight maintenance run if a newer version of the MaxMind data file is available from MaxMind's webserver. If so, it will download that automatically and use it to update the file it stored before, and also a new md5 checksum.

The geotargeting plugin adds a section to the configuration file with an entry where a system administrator can specify another location for the datafile(s), in case there is an alternative process already being used to retrieve and update said files. By default, the section looks like this:


Here is an example of how it could be altered to reference a file somewhere else on the server:


With this in place, the Revive Adserver software will no longer attempt to update the file at regular intervals, as it is assumed that the file is being updated by some other process.