Solved: No data in dashboard after Upgrade to 2.8.3 due to change in cron syntax

We were running a PIWIK 1 installation and finally did the update to PIWIK 2.8.3; everything went pretty smooth and right after completion, old data was shown and real time log also showed current visitors. That was yesterday.

Today, I logged into PIWIK to see all sites dropped 100%, not a single visitor to ANY site. I clicked on the most frequented site and the real time log still shows current visitors but all the other stats are zero. I found this issue on a similar problem for version 2.0 but if it were the same, my stats should have started working after 2am (since I am at UTC+2). It close to 2pm now and still no data, however real time log is still receiving visitors.

Any clue what could cause this? Are the visitors still logged and just the dashboard ain’t working?

One thing I stumbled upon is the cronjob we are using to archive data. Before it was setup like


*/20   *   *   *   *  www-data   /usr/bin/php5 /path/to/piwik/misc/cron/archive.php -- url=http://piwik.domain/ > /path/to/piwik/archive.log

but in the current documentation it says


5 * * * * www-data /usr/bin/php5 /path/to/piwik/console core:archive --url=http://example.org/piwik/ > /home/example/piwik-archive.log

Is there anything wrong with calling misc/cron/archive.php? Shouldn’t that be used for PIWIK 2?

I added the new cron syntax to my crontab. All looks fine now.

Maybe there could be a note during the upgrade process informing the user about possible cron syntax changes. Otherwise, the automated upgrade path works very well, even for that rather great jump from 1.9 to 2.8.3.