Error Docker Swag linuxserver/mods:swag-maxmind

Hello,

I have an error that I can’t fix I have a Swag docker that is created via Docker-compose

In my environment variables I have indicated:

  • MAXMINDDB_LICENSE_KEY=xxxxxxxxxxxxxxx
  • MAXMINDDB_USER_ID=xxxxxxxxxxxxxx

But I have an error when downloading the maxmind database

tar: invalid tar magic

Please could you provide the following information so we can help with supporting your issue:

  1. Output of uname -mr && docker version
  2. Output of cat /etc/os-release
  3. Docker run command or compose snippet
  4. Container logs beginning with our logo (

Thank you

NAS Synology

I think this is a known bug.

While someone else may be willing to look at a picture of text, I am not. I would encourage you to paste text as text.

extract from my docker-compose file

version: ‘3’
services:
swag:
image: linuxserver/swag
container_name: swag
networks:
docker_lan:
ipv4_address: **********
hostname: ***********
dns:
- 9.9.9.9
- 8.8.8.8
cap_add:
- NET_ADMIN
environment:
- PUID=1027
- PGID=65537
- TZ=Europe/Paris
- URL=************
- SUBDOMAINS=wildcard
- VALIDATION=dns
- DNSPLUGIN=ovh
- DHLEVEL=2048
- EMAIL=**********
- ONLY_SUBDOMAINS=false
- STAGING=false
- DOCKER_MODS=linuxserver/mods:swag-dashboard|linuxserver/mods:swag-auto-reload|linuxserver/mods:universal-package-install|linuxserver/mods:swag-maxmind
- INSTALL_PACKAGES=ssmtp
- MAXMINDDB_LICENSE_KEY=*****************
- MAXMINDDB_USER_ID=*********************
volumes:
- /volume1/docker/swag/config:/config
- /volume1/docker/swag/etc-ssmtp:/etc/ssmtp
restart: unless-stopped

The /etc/os-release command returns nothing to me, because my dockers are on a Synology NAS

The error that appears in the Swag logs is:

tar: invalid tar magic

But I recovered the GeoLite2-City.mmdb file and I pasted it in the /config/geoip2db folder and after that the error disappeared