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

php artisan location:update fail to unpack maxmind.tar.gz #181

Open
ven0ms99 opened this issue Sep 17, 2024 · 1 comment
Open

php artisan location:update fail to unpack maxmind.tar.gz #181

ven0ms99 opened this issue Sep 17, 2024 · 1 comment

Comments

@ven0ms99
Copy link

ven0ms99 commented Sep 17, 2024

On latest Laravel 11 (Laravel Framework 11.23.5), GeoLite2-City.mmdb doesn't exist, because it's not unpacked from maxmind.tar.gz after downloading. After adding my licence (btw. Readme says to add MAXMIND_LICENSE_KEY to .env, but location.php doesn't include env('MAXMIND_LICENSE_KEY') for the licence), the command php artisan location:update displays:

Updating driver [Stevebauman\Location\Drivers\MaxMind]...

But it exits with Exit code 255. Afterwards, GeoLite2-City.mmdb is still missing. There is only maxmind.tar.gz, but it is still packed. There is no further error in laravel.log.

@ven0ms99 ven0ms99 changed the title php artisan location:update exiting before downloading GeoLite2-City.mmdb (255) php artisan location:update fail to unpack maxmind.tar.gz Sep 17, 2024
@ven0ms99
Copy link
Author

ven0ms99 commented Sep 17, 2024

Update: works on my Ubuntu server, but doesn't work on my local machine (MacOS 14.5 (23F79), M1)

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