Crowdsec unable to register plugin ‘GeoIpCity’: error opening database: invalid MaxMind DB file

28/03/2024 by - Uncategorized

  • source_url: https://hub-data.crowdsec.net/mmdb/GeoLite2-City.mmdb
    dest_file: GeoLite2-City.mmdb
  • source_url: https://hub-data.crowdsec.net/mmdb/GeoLite2-ASN.mmdb
    dest_file: GeoLite2-ASN.mmdb
cd /var/lib/crowdsec/data/
rm GeoLite2-*
wget https://hub-data.crowdsec.net/mmdb/GeoLite2-City.mmdb
wget https://hub-data.crowdsec.net/mmdb/GeoLite2-ASN.mmdb
sudo systemctl reload crowdsec