Auto PDF reports not being sent


#1

I have several accounts that are either toggled for weekly email reports or monthly and they are not being automatically sent out.


(Matthieu Aubry) #2

Are you using How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo

If not, please comment in: Regressed: Scheduled reports should be sent automatically by webcron, when cron is not setup · Issue #4612 · matomo-org/matomo · GitHub


#3

Yes, I am using 2.03.


(Matthieu Aubry) #4

Have you setup the cron as per: How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo


#5

I have never done that before and it worked just fine before.


(Matthieu Aubry) #6

Ok, so you are experiencing this bug: Regressed: Scheduled reports should be sent automatically by webcron, when cron is not setup · Issue #4612 · matomo-org/matomo · GitHub
we’ll get it fixed asap!


#7

Ok, great…what do I need to do?


(Matthieu Aubry) #8

wait, or setup: How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo


#9

Ok, I will wait…I am kind of dumb when it comes to code stuff.


#10

[attachment 1612 cron.jpg]Ok, I did a clean install and just updated 2.1…I still have no idea how to setup the cron…here is a snag of my Mediatemple hosting screen.


(Matthieu Aubry) #11

Mediatemple cron > command to execute: try


/usr/bin/php5 /path/to/piwik/misc/cron/archive.php --url=http://example.org/piwik/

replacing by your server path and Piwik URL


#12

Ok, I think I am making progress…I got a gillion of these error messages this morning…

Warning: Invalid argument supplied for foreach() in /nfs/c04/h02/mnt/64371/domains/mydomain.com/html/nsmanalytics/core/CliMulti.php on line 176


#13

Same Problem here.

I got this error few times every cronjob. :frowning:

Have you fix it?


(Matthieu Aubry) #14

which errors do you get exactly?


#15

[quote=matt]
which errors do you get exactly?[/quote]

I posted my exact error above. But, literally I am getting the same error message maybe 50+ times in the same email.


#16

We get:

PHP Warning: Invalid argument supplied for foreach() in /[piwikdir]/core/CliMulti.php on line 176

This error is X times in every email.

X = 2 - 100


(Matthieu Aubry) #17

Thanks for the report! can you please try apply this patch: This may fix the bug: PHP Warning: Invalid argument supplied for fore… · matomo-org/matomo@4ec3413 · GitHub

If it does not fix it still, let me know, cheers


#18

Yes, the patch fixed it! :slight_smile:


#19

Ok, the patch almost fixed it…I only got one error this morning…BUT, auto reports are still not being sent. I have two accounts that are triggered for weekly and nothing went out today.


(Matthieu Aubry) #20

What error did you get?