geoip:update is not downloading the database
princeofnaxos opened this issue · comments
Edwin Boersma commented
With service 'maxmind_database', the geoip:update command doesn't download the database. Downloading works when I apply the link in my browser.
How can I debug this process?
bapfnet commented
I have the same issue. Did you fix it?
Danno commented
For anyone looking, what I did was:
- go to the Maxmind website, sign up (free), and generate a key
- in my .env file add the MAXMIND_USER_ID and MAXMIND_LICENSE_KEY with the key and userid from above
- install the geoip reader php library
composer require geoip2/geoip2:~2.0
Then I ran the update command php artisan geoip:update
and the maxmind db was downloaded to my storage folder (or wherever it's set in the config/geoip.php file under maxmind_database->database_path