Skip to content

v6 image not producing any output #298

@pmcevoy

Description

@pmcevoy

I want to rev our usage of geoipupdater to :v6, but I'm not seeing it produce any output, even when GEOIPUPDATE_VERBOSE=1 is set - yet it does download the mmdb file. :v5 has no such problems and I can see output progress.

To test this, I am using the following docker compose file:

version: "3"

services:
  geoipupdater:
    container_name: geoipupdater
    image: maxmindinc/geoipupdate:v6
    environment:
      - GEOIPUPDATE_LICENSE_KEY=<redacted>
      - GEOIPUPDATE_ACCOUNT_ID=<redacted>
      - GEOIPUPDATE_EDITION_IDS=GeoIP2-City
      - GEOIPUPDATE_VERBOSE=1
    volumes:
      - geoipupdater_data:/usr/share/GeoIP

volumes:
  geoipupdater_data:
    driver: local
    name: "geoipupdater_data"

When I execute the above with:

docker compose run geoipupdater

I see only the following:

# STATE: Running geoipupdate

and no other output. Behind the scenes, the mmdb file is downloaded to the volume. If the mmdb file is already there the the container exits quicker, but again no output.

If I change the image to maxmindinc/geoipupdate:v5 and run the exact same command line, I see the following output when an update is due.

# STATE: Creating configuration file at /var/lib/geoipupdate/GeoIP.conf
# STATE: Running geoipupdate
geoipupdate version 5.1.1
Using config file /var/lib/geoipupdate/GeoIP.conf
Using database directory /usr/share/GeoIP
Initializing file lock at /usr/share/GeoIP/.geoipupdate.lock
Acquired lock file at /usr/share/GeoIP/.geoipupdate.lock
Database does not exist, returning zeroed hash
Requesting updates for GeoIP2-City: https://updates.maxmind.com/geoip/databases/GeoIP2-City/update?db_md5=00000000000000000000000000000000
Updates available for GeoIP2-City
Database GeoIP2-City successfully updated: 317de869f8ddffcf24c018ba0dfe08e1
Lock file /usr/share/GeoIP/.geoipupdate.lock successfully released

With no output logging, :v6 is not usable for me.. What am I doing wrong?

(Docker Desktop 4.27.2 on Windows; Docker engine 25.0.3)

Pete

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions