Guys,
I have an automatic script that uploads all my access logs onto the Piwik server every morning. Looking through my logs I see that all my files for yesterday were uploaded correctly without any issues. When I open my Piwik home page, I have it set to show yesterdays data because I always load yesterdays data today. So I am interested in delayed data. Now today, I see now data visible in the graphs.
I have run the
php /var/www/html/piwik/console core:archive --url=https://stats.globalcollect.com/piwik/ > /export/home/piwik/piwik-archive.log
I see the following ERRORS, will they affect the results being displayed?
ERROR CoreConsole[2014-10-23 13:40:00] [0863a] Error unserializing the following response from https://stats.globalcollect.com/piwik/index.php?module=API&method=API.get&idSite=1&period=month&date=last2&format=php&token_auth=9af4eb7c60305df5e38b22afcf226d74&trigger=archivephp: Got invalid response from API request: https://stats.globalcollect.com/piwik/index.php?module=API&method=API.get&idSite=1&period=month&date=last2&format=php&token_auth=9af4eb7c60305df5e38b22afcf226d74&trigger=archivephp. Response was ‘curl_exec: SSL read: errno -5961. Hostname requested was: stats.globalcollect.com’
ERROR CoreConsole[2014-10-23 13:40:00] [0863a] Error unserializing the following response from https://stats.globalcollect.com/piwik/index.php?module=API&method=API.get&idSite=1&period=month&date=last2&format=php&token_auth=9af4eb7c60305df5e38b22afcf226d74&trigger=archivephp: Got invalid response from API request: https://stats.globalcollect.com/piwik/index.php?module=API&method=API.get&idSite=1&period=month&date=last2&format=php&token_auth=9af4eb7c60305df5e38b22afcf226d74&trigger=archivephp. Response was ‘curl_exec: SSL read: errno -5961. Hostname requested was: stats.globalcollect.com’
INFO CoreConsole[2014-10-23 13:40:00] [0863a] Archived website id = 1, period = month, 0 visits in last last2 months, 0 visits this month, Time elapsed: 203.557s
ERROR CoreConsole[2014-10-23 13:44:01] [0863a] Error unserializing the following response from https://stats.globalcollect.com/piwik/index.php?module=API&method=API.get&idSite=1&period=year&date=last2&format=php&token_auth=9af4eb7c60305df5e38b22afcf226d74&trigger=archivephp: Got invalid response from API request: https://stats.globalcollect.com/piwik/index.php?module=API&method=API.get&idSite=1&period=year&date=last2&format=php&token_auth=9af4eb7c60305df5e38b22afcf226d74&trigger=archivephp. Response was ‘curl_exec: SSL read: errno -5961. Hostname requested was: stats.globalcollect.com’
ERROR CoreConsole[2014-10-23 13:44:01] [0863a] Error unserializing the following response from https://stats.globalcollect.com/piwik/index.php?module=API&method=API.get&idSite=1&period=year&date=last2&format=php&token_auth=9af4eb7c60305df5e38b22afcf226d74&trigger=archivephp: Got invalid response from API request: https://stats.globalcollect.com/piwik/index.php?module=API&method=API.get&idSite=1&period=year&date=last2&format=php&token_auth=9af4eb7c60305df5e38b22afcf226d74&trigger=archivephp. Response was ‘curl_exec: SSL read: errno -5961. Hostname requested was: stats.globalcollect.com’
I also saw the following in the logs.
INFO CoreConsole[2014-10-23 13:44:29] [0863a] Error: GeoIPAutoUpdater: failed to download ‘http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz’ to ‘/var/www/html/piwik/misc/GeoIPCity.dat.dat.gz’: Error while creating the file: /var/www/html/piwik/misc/GeoIPCity.dat.dat.gz
task,output
Piwik\Plugins\ExamplePlugin\Tasks.myTask,Time elapsed: 0.000s
Piwik\Plugins\UserCountry\GeoIPAutoUpdater.update,ERROR: GeoIPAutoUpdater: failed to download ‘http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz’ to ‘/var/www/html/piwik/misc/GeoIPCity.dat.dat.gz’: Error while creating the file: /var/www/html/piwik/misc/GeoIPCity.dat.dat.gz
very strange that this used to work fine, but now I see that the file being created has a (.dat.dat) in it.
Can someone help me query the database to verify that yesterdays data is present and try to advise on the other errors as well.
Thanks in advance
Lawrence