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

Scheduler GeoIP2AutoUpdate gives warning #14258

Closed
sju10544 opened this issue Mar 23, 2019 · 6 comments
Closed

Scheduler GeoIP2AutoUpdate gives warning #14258

sju10544 opened this issue Mar 23, 2019 · 6 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@sju10544
Copy link

Hi all,

after having a look at the "piwik-archive.log" because the Maxminddb is not updating successfull I got this:

GeoIP2AutoUpdater: successfully downloaded 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz'
WARNING [2019-03-23 20:15:34] 23435 xxx/htdocs/piwik/plugins/Monolog/Processor/SprintfProcessor.php(24): Warning - vsprintf(): Too few arguments - Matomo 3.9.1 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)

The downloaded file is "GeoIP2-City.mmdb.tar.gz" and has only 6KB...
The URL for downloading the file is: https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz

Any ideas?

@sgiehl
Copy link
Member

sgiehl commented Mar 24, 2019

WARNING [2019-03-23 20:15:34] 23435 xxx/htdocs/piwik/plugins/Monolog/Processor/SprintfProcessor.php(24): Warning - vsprintf(): Too few arguments - Matomo 3.9.1 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)

Found the reason for this one. Will propose a PR for it.

@sju10544
Copy link
Author

Hmmm... sorry but after manually made the changes in the file and run
./console core:run-scheduled-tasks --force
I got the same error messages and behaviour.

@mattab
Copy link
Member

mattab commented Jun 29, 2019

@sgiehl could you check @sju10544 comment, maybe the issue is not fixed?

@mattab mattab added this to the 3.12.0 milestone Jun 29, 2019
@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Jun 29, 2019
@SystemZ
Copy link

SystemZ commented Oct 5, 2019

This problem is present in 3.12.0-b4

INFO [2019-10-05 15:41:14] 14  ---------------------------
INFO [2019-10-05 15:41:14] 14  SCHEDULED TASKS
INFO [2019-10-05 15:41:14] 14  Starting Scheduled tasks... 
INFO [2019-10-05 15:41:14] 14  Scheduler: executing task Piwik\Plugins\GeoIp2\GeoIP2AutoUpdater.update...
INFO [2019-10-05 15:41:14] 14  GeoIP2AutoUpdater: successfully downloaded 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz'
WARNING [2019-10-05 15:41:14] 14  /var/www/html/piwik/plugins/Monolog/Processor/SprintfProcessor.php(24): Warning - vsprintf(): Too few arguments - Matomo 3.12.0-b4 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
INFO [2019-10-05 15:41:14] 14  Scheduler: finished. Time elapsed: 0.088s
INFO [2019-10-05 15:41:14] 14  done
INFO [2019-10-05 15:41:14] 14  ---------------------------

Edit: In 3.12.0-b5 too

INFO [2019-10-05 16:03:27] 13  ---------------------------
INFO [2019-10-05 16:03:27] 13  SCHEDULED TASKS
INFO [2019-10-05 16:03:27] 13  Starting Scheduled tasks... 
INFO [2019-10-05 16:03:27] 13  Scheduler: executing task Piwik\Plugins\GeoIp2\GeoIP2AutoUpdater.update...
INFO [2019-10-05 16:03:27] 13  GeoIP2AutoUpdater: successfully downloaded 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz'
WARNING [2019-10-05 16:03:27] 13  /var/www/html/piwik/plugins/Monolog/Processor/SprintfProcessor.php(24): Warning - vsprintf(): Too few arguments - Matomo 3.12.0-b5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
INFO [2019-10-05 16:03:27] 13  Scheduler: finished. Time elapsed: 0.092s
INFO [2019-10-05 16:03:27] 13  done
INFO [2019-10-05 16:03:27] 13  ---------------------------

@tsteur
Copy link
Member

tsteur commented Oct 6, 2019

Cheked the translations and logs that use %s after successfully downloaded '%s'" around GeoIP updating but couldn't really find the string. Maybe someone else can have a look too? Guess it could be still from a different task

@tsteur tsteur modified the milestones: 3.13.0, 3.14.0 Nov 5, 2019
@mattab mattab modified the milestones: 3.14.0, 4.1.0 Nov 6, 2019
@mattab
Copy link
Member

mattab commented Dec 24, 2019

we'll probably stop using Maxmind soon, so closing this issue now, see #15308

@mattab mattab closed this as completed Dec 24, 2019
@mattab mattab added the wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it. label Dec 24, 2019
@mattab mattab modified the milestones: 4.1.0, 4.0.0 Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

5 participants