We have to sites for which we used archive.sh. After upgrading to piwik1.7 we changed to archive.php – however this does not seem to work (no update of the graphs in the browser (whereas “Visitors in Real Time” is updated)).
I manually ran:
$ /usr/local/bin/php /srv/www/piwik/htdocs/piwik/misc/cron/archive.php
which however gives absolutely no output.
$ bash /srv/www/piwik/htdocs/piwik/misc/cron/archive.sh
$ bash /srv/www/piwik/htdocs/piwik/misc/cron/archive.sh Starting Piwik reports archiving... Reports archiving finished. --------------------------- Starting Scheduled tasks... Finished Scheduled tasks.
Surpringly even if I simply give archive.php the --help option, the output is zero
$ /usr/local/bin/php /srv/www/piwik/htdocs/piwik/misc/cron/archive.php --help
This is on FreeBSD with this php version:
$ /usr/local/bin/php -v PHP 5.3.10 with Suhosin-Patch (cli) (built: Feb 15 2012 23:31:05) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
Any ideas? At first I thought that maybe the permissions of piwik/tmp where wrong (because archive.php was first complaining about wrong permission on the new tmp/tcpdf which I had to fix with a chmod), but not giving any output at all now does not seem correct.