Server Setup / Specs - Piwik Issues?


Does anyone have a server with similar setup and having issues with piwik? I can’t get it to work properly. I went from older version to fresh 1.7+, to 1.8+ autoupgrades. Seems to store the data… but only live widget is accurate (i think), rest shows no data or incorrect.

[li] Apache 2.2.22
[/li][li] PHP 5.3.8 (memory_limit 712M)
[/li][li] MySQL 5.0.95 (w mysqli)
[/li][li] ConfigServer v5.56 (no kills on piwik processes)
[/li][li] Suhosin 0.9.33 (no session/cookie encrypt)
[/li][li] Mod Security 2.6.3 (rules configured for piwik as they come up)
[/li][li] Apache suEXEC=on
[/li][li] PHP 5 Handler=suphp

Anyone know of any particular settings needed for any of those above?

Thanks in advance.

EDIT: See more info and screenshots> 301 Moved Permanently

Did you setup archiving as per: How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo

Hello Matt.

Yes. cPanel:

/usr/local/bin/php -f /home/myuser/public_html/piwik/misc/cron/archive.php --url= > /home/myuser/public_html/piwik/cron-archive-results.log

The log file only contains cron setup info, like:

Usage: php [options] [-f] [–] [args…]
php [options] -r [–] [args…]
php [options] [-B <begin_code>] -R [-E <end_code>] [–] [args…]
php [options] [-B <begin_code>] -F [-E <end_code>] [–] [args…]
php [options] – [args…]
php [options] -a

-a Run interactively
-c | Look for php.ini file in this directory
-n No php.ini file will be used

I’ve also run the archive in the browser and get piwik info, like:

[2012-06-06 21:26:15] [2a494549] [9.65 Mb] Done archiving!
It processed visit and such. Still nothing in the reporting though.

See more info and screenshots> 301 Moved Permanently

It seems the cron setup is not working!

can you please try to remove the -f parameter in the cron definition?

The archive log should contain piwik related info.

please report here the working ocmmand. i might need to update the docs for cpanel! thx

I’ve removed the -f param. It now has piwik info in the log file. :slight_smile:

Unfortunately, that changes nothing with the dashboard etc…

what is the output in the file?