Skip to content

GeoIP data is not displayed on the dashboard #134

@ghosthvj

Description

@ghosthvj

With the update to version 2.2.0, the country and city data are no longer displayed on the dashboard.

I updated the databases:

Image

This error can be seen in the traefik-log-dashboard container logs:

STDERR: Failed to open GeoIP database: [Error: ENOENT: no such file or directory, stat '/app/node_modules/geolite2-redist/dist/GeoLite2-City.mmdb'] {
STDERR: errno: -2,
STDERR: code: 'ENOENT',
STDERR: syscall: 'stat',
STDERR: path: '/app/node_modules/geolite2-redist/dist/GeoLite2-City.mmdb'
STDERR: }

The database is not displayed in the indicated path:

Image

My docker-compose.yml configuration regarding GeoIP is as follows:

volumes:
  - ./data/geoip:/geoip:ro  # GeoIP databases
environment:
  # GeoIP Configuration
  - TRAEFIK_LOG_DASHBOARD_GEOIP_ENABLED=true
  - TRAEFIK_LOG_DASHBOARD_GEOIP_CITY_DB=/geoip/GeoLite2-City.mmdb
  - TRAEFIK_LOG_DASHBOARD_GEOIP_COUNTRY_DB=/geoip/GeoLite2-Country.mmdb

This is how it is displayed on the dashboard:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions