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 am using the MaxMind Lite GeoIP database and have the automatic renewal cronjob running. When the task to renew and download the new database is finished i see the following issue in the logs;
INFO [2016-10-05 00:30:43] GeoIPAutoUpdater: successfully downloaded 'http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz'
INFO [2016-10-05 00:30:43] GeoIPAutoUpdater: Encountered PHP error when testing newly downloaded GeoIP database: 2: include(): Failed opening '/home/piwik/domains/*/public_html/analytics/tmp/cache/tracker/piwikcache_Translations-en-9d91d4835a6f247e9b6d9fc7eac1a1b01f7fc264.php' for inclusion (include_path='/home/piwik/domains/*/public_html/analytics/vendor/pear/pear_exception:/home/piwik/domains/*/public_html/analytics/vendor/pear/console_getopt:/home/piwik/domains/*/public_html/analytics/vendor/pear/pear-core-minimal/src:/home/piwik/domains/*/public_html/analytics/vendor/pear/archive_tar:.:/usr/local/php70/lib/php') on line 112 of /home/piwik/domains/*/public_html/analytics/vendor/doctrine/cache/lib/Doctrine/Common/Cache/PhpFileCache.php.
ERROR [2016-10-05 00:30:43] /home/piwik/domains/*/public_html/analytics/plugins/UserCountry/GeoIPAutoUpdater.php(161): GeoIPAutoUpdater: failed to unzip '/home/piwik/domains/*/public_html/analytics/misc/GeoIPCity.dat.dat.gz' after downloading 'http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz': The downloaded file is not a valid GeoIP database. Please re-check the URL or download the file manually.
When the new cronjob is finished (30 min later) i see this in the logs;
INFO [2016-10-05 01:00:08] Scheduler: executing task Piwik\Plugins\UserCountry\GeoIPAutoUpdater.update...
INFO [2016-10-05 01:00:08] GeoIPAutoUpdater: successfully downloaded 'http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz'
INFO [2016-10-05 01:00:08] GeoIPAutoUpdater: successfully updated GeoIP database 'http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz'
INFO [2016-10-05 01:00:08] Scheduler: finished. Time elapsed: 0.444s
So this time it is successful. When i check the logs again 30 min later I see that the GeoLiteCity.dat.gz is downloaded again (3rd time):
INFO [2016-10-05 01:30:03] Scheduler: executing task Piwik\Plugins\UserCountry\GeoIPAutoUpdater.update...
INFO [2016-10-05 01:30:03] GeoIPAutoUpdater: successfully downloaded 'http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz'
INFO [2016-10-05 01:30:03] GeoIPAutoUpdater: successfully updated GeoIP database 'http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz'
INFO [2016-10-05 01:30:03] Scheduler: finished. Time elapsed: 0.447s
So the first time it is failing, second time it is successful and the third time it is downloading the file again. After all this the GeoIP database is functioning properly. This happened last month also.
Looking at the filename to unzip the first time: GeoIPCity.dat.dat.gz - there is an extra .dat in the filename.
Software:
Latest Piwik version
PHP 7.0.11
MariaDB 10.1.18
Nginx 1.11.4
The text was updated successfully, but these errors were encountered:
I am using the MaxMind Lite GeoIP database and have the automatic renewal cronjob running. When the task to renew and download the new database is finished i see the following issue in the logs;
When the new cronjob is finished (30 min later) i see this in the logs;
So this time it is successful. When i check the logs again 30 min later I see that the GeoLiteCity.dat.gz is downloaded again (3rd time):
So the first time it is failing, second time it is successful and the third time it is downloading the file again. After all this the GeoIP database is functioning properly. This happened last month also.
Looking at the filename to unzip the first time: GeoIPCity.dat.dat.gz - there is an extra .dat in the filename.
Software:
The text was updated successfully, but these errors were encountered: