cydrobolt / polr

:aerial_tramway: A modern, powerful, and robust URL shortener
https://polrproject.org
GNU General Public License v2.0
4.96k stars 891 forks source link

Maxmind GeoLite - The MaxMind DB file's search tree is corrupt #589

Open LouisHacking opened 3 years ago

LouisHacking commented 3 years ago

Expected Behavior

/admin/stats should show locations for IPs that have clicked a short link.

Current Behavior

/admin/stats does not show any locations Following error log: geoip.log IP and URL replaced with 1.1.1.1 and example.com

Context

Licence key is correctly setup, and logs on the maxmind website show that the zip file had been downloaded

Your Environment

kenmickles commented 2 years ago

Not sure what the root cause is here, but I downloaded the GeoLite2 City GZIP from the MaxMind download page, extracted it to polr/storage/app/, renamed it to geoip.mmdb, and now my stats work.