@c-prompt opened this Issue on April 1st 2020

Just received a few cron errors:

ERROR [2020-04-01 00:09:52] 29613  /home/mysite/public_html/matomo/plugins/GeoIp2/GeoIP2AutoUpdater.php(172): GeoIP2AutoUpdater: failed to unzip '/home/mysite/public_html/matomo/tmp/latest/DBIP-City.mmdb.gz' after downloading 'https://download.db-ip.com/free/dbip-city-lite-2020-04.mmdb.gz': The downloaded file is not a valid geolocation database. Please re-check the URL or download the file manually.
GeoIP2AutoUpdater: failed to unzip '/home/mysite/public_html/matomo/tmp/latest/DBIP-City.mmdb.gz' after downloading 'https://download.db-ip.com/free/dbip-city-lite-2020-04.mmdb.gz': The downloaded file is not a valid geolocation database. Please re-check the URL or download the file manually.
<a href='/0'>#0</a> /home/mysite/public_html/matomo/plugins/GeoIp2/GeoIP2AutoUpdater.php(99): Piwik\Plugins\GeoIp2\GeoIP2AutoUpdater->downloadFile()
<a href='/1'>#1</a> [internal function]: Piwik\Plugins\GeoIp2\GeoIP2AutoUpdater->update()
<a href='/2'>#2</a> /home/mysite/public_html/matomo/core/Scheduler/Scheduler.php(264): call_user_func()
<a href='/3'>#3</a> /home/mysite/public_html/matomo/core/Scheduler/Scheduler.php(136): Piwik\Scheduler\Scheduler->executeTask()
<a href='/4'>#4</a> /home/mysite/public_html/matomo/plugins/CoreAdminHome/API.php(65): Piwik\Scheduler\Scheduler->run()
<a href='/5'>#5</a> /home/mysite/public_html/matomo/core/CronArchive.php(642): Piwik\Plugins\CoreAdminHome\API->runScheduledTasks()
<a href='/6'>#6</a> /home/mysite/public_html/matomo/core/CronArchive.php(329): Piwik\CronArchive->runScheduledTasks()
<a href='/7'>#7</a> /home/mysite/public_html/matomo/core/Access.php(635): Piwik\CronArchive->Piwik\{closure}()
<a href='/8'>#8</a> /home/mysite/public_html/matomo/core/CronArchive.php(331): Piwik\Access::doAsSuperUser()
<a href='/9'>#9</a> /home/mysite/public_html/matomo/plugins/CoreConsole/Commands/CoreArchiver.php(27): Piwik\CronArchive->main() <a href='/10'>#10</a> /home/mysite/public_html/matomo/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Piwik\Plugins\CoreConsole\Commands\CoreArchiver->execute()
<a href='/11'>#11</a> /home/mysite/public_html/matomo/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Symfony\Component\Console\Command\Command->run()
<a href='/12'>#12</a> /home/mysite/public_html/matomo/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand()
<a href='/13'>#13</a> [internal function]: Symfony\Component\Console\Application->doRun()
<a href='/14'>#14</a> /home/mysite/public_html/matomo/core/Console.php(140): call_user_func()
<a href='/15'>#15</a> /home/mysite/public_html/matomo/core/Access.php(644): Piwik\Console->Piwik\{closure}()
<a href='/16'>#16</a> /home/mysite/public_html/matomo/core/Console.php(141): Piwik\Access::doAsSuperUser()
<a href='/17'>#17</a> /home/mysite/public_html/matomo/core/Console.php(93): Piwik\Console->doRunImpl()
<a href='/18'>#18</a> /home/mysite/public_html/matomo/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Piwik\Console->doRun()
<a href='/19'>#19</a> /home/mysite/public_html/matomo/console(32): Symfony\Component\Console\Application->run()
<a href='/20'>#20</a> {main}
@tsteur commented on April 1st 2020 Member

Does Matomo have write permission there?

@c-prompt commented on April 1st 2020

Matomo does have write permission. Nothing had changed and the cron erred twice so I thought it might be a problem with the zip file. However, it seems like it finally unzipped so not sure what the problem was. Closing.

Edit: Lucas's explanation seems reasonable as I was also surprised to notice the date/time of the error.

@Findus23 commented on April 1st 2020 Member

I think this is most likely the same case as https://forum.matomo.org/t/geoip2autoupdater-php/36707

April started, Matomo tried to download the dbip-city-lite-2020-04.mmdb.gz, but it was not yet online.

This Issue was closed on April 1st 2020
Powered by GitHub Issue Mirror