I updated my piwik automatically as usual and normyl it works all fine.
Both upgrades (i’ve read that we havew to update twice this time) have done thru and no errors accured.
But then after i logged in to my piwik i’bve noticed that i am missing all data since 23.08.2014 for all sites after updating to 2.7.0 !
Hi both … thanks for helping, found the “problem”:
Using archive.php sind years and cronjobed it once an hour. Working since months, but of course i never read the output (emails), after a cronjob is triggered. But now i did and BAM … :
Havn’t noticed this change in months
Gonna try the new thing and will see if it works again.
Using this ‘archive.php’ script is no longer recommended. Please use ‘/path/to/php /home/whatever/console core:archive url=http://whatever.com/’ instead. If you cannot use the console because it requires CLI try ‘php archive.php – url=http://your.piwik/path’
As we appear to have a similar problem (missing all data since upgrade to 2.7.0) and also are using archive.php this might also be an explanation for our problem.
Unfortunately we have no access to the php error log (I asked the provider - nope) and also have no CLI. We use an external “web cron” that calls an url instead of a real internal server cron. Therefore I cannot configure an email with the response, but I suspect the contents would be identical.
What I do not understand is:
“If you cannot use the console because it requires CLI try ‘php archive.php – url=http://your.piwik/path’”
This looks to me as if this is just a console command.
But how must the archive job be called if the cron replacement has to use an url and avoid calling archive.php?
No, unfortunately data is not being archived anymore since upgrade to 2.7.0 .
This is just my problem.
Hoster say that cron url output ends with:
ERROR [2014-10-01 20:20:21] [4d6f6] The Piwik URL
http://my.domain.net/piwik/index.php does not seem to be pointing to
a Piwik server. Response was '
[Zend_Db_Adapter_Exception]
SQLSTATE[HY000] [2002] No such file or directory
[PDOException]
SQLSTATE[HY000] [2002] No such file or directory
climulti:request [url-query] '.
He suspects that this might result from a wrongly configured MySQL socket.
But that is only a guess.
The problem was that this error is “piwik made” as the original error message you receive while using the “old” archive.php brings up the command WITHOUT the double dashes … see here:
You should add the double dashes into the error message to prevent such threads like mine here