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 noticed that the country and city definition stopped working.
updated Shlink to the latest version, tried to execute the command docker exec -it my_shlink shlink visit:locate -vvv
got the result:
[WARNING] A geolocation db is already being downloaded by another process.
Processing IP 164.92.71.0
[ERROR] The file "/etc/shlink/config/autoload/../../data/GeoLite2-City.mmdb" does not exist or is not readable.
In Reader.php line 91:
[InvalidArgumentException]
The file "/etc/shlink/config/autoload/../../data/GeoLite2-City.mmdb" does not exist or is not readable.
Exception trace:
at /etc/shlink/vendor/maxmind-db/reader/src/MaxMind/Db/Reader.php:91
MaxMind\Db\Reader->__construct() at /etc/shlink/vendor/geoip2/geoip2/src/Database/Reader.php:69
GeoIp2\Database\Reader->__construct() at /etc/shlink/vendor/shlinkio/shlink-ip-geolocation/src/GeoLite2/GeoLite2ReaderFactory.php:21
Shlinkio\Shlink\IpGeolocation\GeoLite2\GeoLite2ReaderFactory->__invoke() at /etc/shlink/vendor/shlinkio/shlink-ip-geolocation/src/Resolver/GeoLite2LocationResolver.php:34
Shlinkio\Shlink\IpGeolocation\Resolver\GeoLite2LocationResolver->resolveIpLocation() at /etc/shlink/vendor/shlinkio/shlink-ip-geolocation/src/Resolver/ChainIpLocationResolver.php:29
Shlinkio\Shlink\IpGeolocation\Resolver\ChainIpLocationResolver->resolveIpLocation() at /etc/shlink/module/Core/src/Visit/Geolocation/VisitToLocationHelper.php:35
Shlinkio\Shlink\Core\Visit\Geolocation\VisitToLocationHelper->resolveVisitLocation() at /etc/shlink/module/CLI/src/Command/Visit/LocateVisitsCommand.php:139
Shlinkio\Shlink\CLI\Command\Visit\LocateVisitsCommand->geolocateVisit() at /etc/shlink/module/Core/src/Visit/Geolocation/VisitLocator.php:49
Shlinkio\Shlink\Core\Visit\Geolocation\VisitLocator->locateVisits() at /etc/shlink/module/Core/src/Visit/Geolocation/VisitLocator.php:24
Shlinkio\Shlink\Core\Visit\Geolocation\VisitLocator->locateUnlocatedVisits() at /etc/shlink/module/CLI/src/Command/Visit/LocateVisitsCommand.php:112
Shlinkio\Shlink\CLI\Command\Visit\LocateVisitsCommand->lockedExecute() at /etc/shlink/module/CLI/src/Command/Util/AbstractLockedCommand.php:35
Shlinkio\Shlink\CLI\Command\Util\AbstractLockedCommand->execute() at /etc/shlink/vendor/symfony/console/Command/Command.php:279
Symfony\Component\Console\Command\Command->run() at /etc/shlink/vendor/symfony/console/Application.php:1076
Symfony\Component\Console\Application->doRunCommand() at /etc/shlink/vendor/symfony/console/Application.php:342
Symfony\Component\Console\Application->doRun() at /etc/shlink/vendor/symfony/console/Application.php:193
Symfony\Component\Console\Application->run() at /etc/shlink/bin/cli:10
command visit:download-db
says [WARNING] A geolocation db is already being downloaded by another process.
Expected behavior
country and city definition works) commands also work.
Minimum steps to reproduce
The text was updated successfully, but these errors were encountered:
can you try updating from a version about half a year ago?
I didn't do anything strange, all the settings correspond to the instructions on the site, it worked without problems before.
I don't know what version was installed (image: shlinkio/shlink:stable)
Uh oh!
There was an error while loading. Please reload this page.
Shlink version
4.4.6
PHP version
8.4.5
How do you serve Shlink
Self-hosted Apache
Database engine
MariaDB
Database version
11.7.2
Current behavior
I noticed that the country and city definition stopped working.
updated Shlink to the latest version, tried to execute the command
docker exec -it my_shlink shlink visit:locate -vvv
got the result:
command
visit:download-db
says
[WARNING] A geolocation db is already being downloaded by another process.
Expected behavior
country and city definition works) commands also work.
Minimum steps to reproduce
The text was updated successfully, but these errors were encountered: