Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAXMIND_LICENSE_KEY Syntax in .env File #607

Open
gunnarhaslinger opened this issue Aug 30, 2021 · 0 comments
Open

MAXMIND_LICENSE_KEY Syntax in .env File #607

gunnarhaslinger opened this issue Aug 30, 2021 · 0 comments

Comments

@gunnarhaslinger
Copy link

Expected Behavior

  • User Guide describes:
    MAXMIND_LICENSE_KEY="LICENSE_KEY_GOES_HERE"

Current Behavior: Unable to download database. (Unauthorized)

php artisan geoip:update
Updating...

[Exception]
Unable to download database. (Unauthorized)

Possible Solution

Removing the quotes from the license key in .env File, this worked for me:
MAXMIND_LICENSE_KEY=LICENSE_KEY_GOES_HERE

php artisan geoip:update
Updating...
Database file (/var/www/my-website-name/polr/storage/app/geoip.mmdb) updated.

Your Environment

  • Version 2.3.0 (git rev-parse HEAD): 6e73538
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant