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

Cron Tasks fail after ver 2.1 #4984

Closed
anonymous-matomo-user opened this issue Apr 12, 2014 · 1 comment
Closed

Cron Tasks fail after ver 2.1 #4984

anonymous-matomo-user opened this issue Apr 12, 2014 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.

Comments

@anonymous-matomo-user
Copy link

Hi,
After updating to ver 2.1, it has not been posible to archive/ send mail reports by runing a cron task.
I've tried triggering with auth_token and archive.php, running cron job or straight from the web, calling console, etc.
Also tried almost all of the releases and betas after ver 2.1.
Same responses, same errors.
Sorry but I could not isolate issue without your help.
Grateful if it could get resolved.

current ver 2.2.0-b18
PHP Version 5.4.27
System Linux 3.4.72
BH shared hosting

Error log when running cron task /home.../piwik/console core:archive --http://url/of/piwik

01:55:02 America/Denver PHP Notice: Undefined index: argv in /home.../piwik/vendor/symfony/console/Symfony/Component/Console/Input/ArgvInput.php on line 57
01:55:02 America/Denver PHP Warning: array_shift() expects parameter 1 to be array, null given in /home.../piwik/vendor/symfony/console/Symfony/Component/Console/Input/ArgvInput.php on line 61
01:55:02 America/Denver PHP Warning: Invalid argument supplied for foreach() in /home.../piwik/vendor/symfony/console/Symfony/Component/Console/Input/ArgvInput.php on line 287
01:55:02 America/Denver PHP Warning: array_shift() expects parameter 1 to be array, null given in /home.../piwik/vendor/symfony/console/Symfony/Component/Console/Input/ArgvInput.php on line 314
01:55:02 America/Denver PHP Warning: Invalid argument supplied for foreach() in /home.../piwik/vendor/symfony/console/Symfony/Component/Console/Input/ArgvInput.php on line 287
01:55:02 America/Denver PHP Warning: array_shift() expects parameter 1 to be array, null given in /home.../piwik/vendor/symfony/console/Symfony/Component/Console/Input/ArgvInput.php on line 314
01:55:02 America/Denver PHP Warning: Invalid argument supplied for foreach() in /home.../piwik/vendor/symfony/console/Symfony/Component/Console/Input/ArgvInput.php on line 287
01:55:02 America/Denver PHP Warning: array_shift() expects parameter 1 to be array, null given in /home.../piwik/vendor/symfony/console/Symfony/Component/Console/Input/ArgvInput.php on line 314
01:55:02 America/Denver PHP Warning: Invalid argument supplied for foreach() in /home.../piwik/vendor/symfony/console/Symfony/Component/Console/Input/ArgvInput.php on line 287

@mattab
Copy link
Member

mattab commented Apr 16, 2014

This should be fixed in latest 2.2.0 http://forum.piwik.org/read.php?2,113886

This issue was closed.
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. duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

2 participants