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

Geoip2 update: Suggested server cannot be resolved #15339

Closed
mklemme1 opened this issue Jan 1, 2020 · 5 comments
Closed

Geoip2 update: Suggested server cannot be resolved #15339

mklemme1 opened this issue Jan 1, 2020 · 5 comments
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.

Comments

@mklemme1
Copy link

mklemme1 commented Jan 1, 2020

I use the built-in updater to get the maxmind city DB.
The server name geolite.maxmind.com cannot be resolved any more.
Is there an alternative?

Thanks
Michael

ERROR [2020-01-01 09:13:16] 31416  /var/www/vhosts/xxxx/piwik/plugins/GeoIp2/GeoIP2AutoUpdater.php(140): GeoIP2AutoUpdater: failed to download 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz' to '/var/www/vhosts/xxxx/piwik/tmp/latest/GeoIP2-City.mmdb.tar.gz': curl_exec: Could not resolve host: geolite.maxmind.com. Hostname requested was: geolite.maxmind.com
GeoIP2AutoUpdater: failed to download 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz' to '/var/www/vhosts/xxxx/piwik/tmp/latest/GeoIP2-City.mmdb.tar.gz': curl_exec: Could not resolve host: geolite.maxmind.com. Hostname requested was: geolite.maxmind.com
#0 /var/www/vhosts/xxxx/piwik/plugins/GeoIp2/GeoIP2AutoUpdater.php(94): Piwik\Plugins\GeoIp2\GeoIP2AutoUpdater->downloadFile('loc', 'https://geolite...')
#1 [internal function]: Piwik\Plugins\GeoIp2\GeoIP2AutoUpdater->update(NULL)
#2 /var/www/vhosts/xxxx/piwik/core/Scheduler/Scheduler.php(264): call_user_func(Array, NULL)
#3 /var/www/vhosts/xxxx/piwik/core/Scheduler/Scheduler.php(136): Piwik\Scheduler\Scheduler->executeTask(Object(Piwik\Plugins\GeoIp2\GeoIP2AutoUpdater))
#4 /var/www/vhosts/xxxx/piwik/plugins/CoreAdminHome/API.php(65): Piwik\Scheduler\Scheduler->run()
#5 /var/www/vhosts/xxxx/piwik/core/CronArchive.php(629): Piwik\Plugins\CoreAdminHome\API->runScheduledTasks()
#6 /var/www/vhosts/xxxx/piwik/core/CronArchive.php(325): Piwik\CronArchive->runScheduledTasks()
#7 /var/www/vhosts/xxxx/piwik/core/Access.php(639): Piwik\CronArchive->Piwik\{closure}()
#8 /var/www/vhosts/xxxx/piwik/core/CronArchive.php(327): Piwik\Access::doAsSuperUser(Object(Closure))
#9 /var/www/vhosts/xxxx/piwik/plugins/CoreConsole/Commands/CoreArchiver.php(27): Piwik\CronArchive->main()
#10 /var/www/vhosts/xxxx/piwik/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Piwik\Plugins\CoreConsole\Commands\CoreArchiver->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/vhosts/xxxx/piwik/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/vhosts/xxxx/piwik/vendor/symfony/console/Symfony/Component/Console/
@daerentis
Copy link

We now need an account at Maxmind to download the GeLite2 Database.

https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/

@sgiehl
Copy link
Member

sgiehl commented Jan 1, 2020

see #15308 and #15319

@sgiehl sgiehl closed this as completed Jan 1, 2020
@sgiehl sgiehl added the duplicate For issues that already existed in our issue tracker and were reported previously. label Jan 1, 2020
@mpdude
Copy link

mpdude commented Jan 2, 2020

Is there anything we can do to disable these update attempts and avoid the error message until the issues (mostly #15308) have been resolved?

@daerentis
Copy link

Try to remove the URL to the Maxmind DB in the Matomo settings

@sgiehl
Copy link
Member

sgiehl commented Jan 2, 2020

You can create an account at maxmind and use the account specific download-URL for updating, or set the url to the one from db-ip: https://download.db-ip.com/free/dbip-city-lite-2020-01.mmdb.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

4 participants