You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I met an error geoip.ERROR: MaxMind\Db\Reader\InvalidDatabaseException: The MaxMind DB file's search tree is corrupt after I run php artisan geoip:update.
Setting in config/geoip: 'update_url' => sprintf('https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=%s&suffix=tar.gz', env('MAXMIND_LICENSE_KEY')),
geoip:update will start downloading a file with .tar.gz extension from update url and then use gzopen to extract file.
I think the extracting method caused The MaxMind DB file's search tree is corrupt because I test other updating solution like the article.
Finally, it works!
Could you please help verify this problem?
The text was updated successfully, but these errors were encountered:
Hello sir,
Sorry for my poor English.
I met an error
geoip.ERROR: MaxMind\Db\Reader\InvalidDatabaseException: The MaxMind DB file's search tree is corrupt
after I runphp artisan geoip:update
.Setting in config/geoip:
'update_url' => sprintf('https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=%s&suffix=tar.gz', env('MAXMIND_LICENSE_KEY')),
geoip:update
will start downloading a file with .tar.gz extension from update url and then usegzopen
to extract file.I think the extracting method caused
The MaxMind DB file's search tree is corrupt
because I test other updating solution like the article.Finally, it works!
Could you please help verify this problem?
The text was updated successfully, but these errors were encountered: