stevebauman / location

Detect a users location by their IP Address.
MIT License
1.1k stars 177 forks source link

Cannot extract mmdb when upgrade to 7.3.0 #176

Closed cryptothree closed 4 months ago

cryptothree commented 4 months ago

Error occured when upgrade to 7.3.0

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

PharException

phar error: attempted to extract non-existent file or directory "GeoLite2-Country.mmdb" from phar "..."

at vendor/stevebauman/location/src/Drivers/MaxMind.php:48 44▕ $file = $this->discoverDatabaseFile( 45▕ $archive = new PharData($tarFilePath) 46▕ ); 47▕ ➜ 48▕ $archive->extractTo($storage->path('/'), $file->getFilename(), true); 49▕ 50▕ file_put_contents( 51▕ $this->getDatabasePath(), 52▕ fopen($storage->path($file->getFilename()), 'r')

  +15 vendor frames 

16 artisan:13 Illuminate\Foundation\Application::handleCommand()