We’ve finally managed to upgrade our piwik installation from 1.1.1 to 1.7.
However, we don’t see any data since that time (2 days ago).
I’ve checked the table “piwik_log_visit”.
It contains a lot of records from today and yesterday.
Next I checked the new archiving script (archive.php).
I had to fix an SLL error first.
The script rejected our SSL cert (-.-).
This (rather bad) hack fixed the error:
curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
Now the script seems to be able to run.
However, the following error appears a lot of times (I guess once per site):
[2012-02-16 09:08:52] [bbefb723] WARNING: Empty or invalid response for website
id 11, Time elapsed: 13.847s, skipping
[2012-02-16 09:08:58] [bbefb723] ERROR: Got invalid response from API request: h
ite=12&period=day&date=last52&format=php&token_auth=xxx&trigger=archivephp. Response was ’ IIS 7.0 Detailed Error - 502.2
- Bad Gateway ’
[2012-02-16 09:09:15] [bbefb723] WARNING: Empty or invalid response for website
id 13, Time elapsed: 17.334s, skipping