Cron problem

Hi,

Since 2.14 my cron archiving is not working anymore.

In my output.log I see :


INFO [2015-08-21 01:00:05] INIT
...
INFO [2015-08-21 01:00:05] NOTES
...
INFO [2015-08-21 01:00:05] START
...
INFO [2015-08-21 01:00:06] Done archiving!
...
INFO [2015-08-21 01:00:06] SUMMARY
...
INFO [2015-08-21 01:00:06] done: 0/1 0%, 0 vtoday, 0 wtoday, 0 wperiods, 0 req, 634 ms, 2 errors.
...
INFO [2015-08-21 01:00:06] SCHEDULED TASKS
...
INFO [2015-08-21 01:00:06] SUMMARY OF ERRORS
INFO [2015-08-21 01:00:06] Error: Got invalid response from API request: ?module=API&method=API.get&idSite=1&period=day&date=last52&format=php&trigger=archivephp. Response was

And after that my 404 error page.

I guess that the problem is that piwik is looking for “?module=API&…” instead of “index.php?module=API&…”

If I’m right, what can I do to force to add index.php in the cron URL ?

Hi there,

can you try to add --url=piwik.url.here/index.php ? (I didn’t check but it may work)