You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
imoullet opened this issue
Mar 4, 2014
· 4 comments
Labels
BugFor errors / faults / flaws / inconsistencies etc.CriticalIndicates the severity of an issue is very critical and the issue has a very high priority.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
I run the auto-archive script via the command :
/usr/bin/php /var/www/html/piwik/misc/cron/archive.php --url=http://w3stat.unil.ch/piwik/ > /home/cmoullet/log/archive.out 2>&1
via the crontab every 2 hours
At the end of the output I have the following error message for the scheduled task :
Furthermore, why does it try to save the geoIP data as "/var/www/html/piwik/misc/GeoIPCity.dat.dat.gz" with doubled dat and not simply GeoIPCity.dat.gz??
So I think there is no problem with my curl or php installation but rather in the archive.php script or subscript responsible for the automatic upload of geoIP (GeoIPAutoUpdater).
Thanks to help me
The text was updated successfully, but these errors were encountered:
has nothing to do with libcurl !! But indeed with archive.php ..
Thanks to reconsider my question and read all the checks I made before opening this ticket which I think to be directly related to piwik archive.php code
OK I will try to find the error by myself for that curl problem although I do not understand since both in command line and PHP the protocols are enabled for libcurl and my installation is conform to the php manual (!!) . BUT please is it possible to correct the fact the archive.php wants to download the file to GeoLiteCity.dat.dat.gz instead of GeoLiteCity.dat.gz !! I do not think that is a problem of my installation, is it ???
BugFor errors / faults / flaws / inconsistencies etc.CriticalIndicates the severity of an issue is very critical and the issue has a very high priority.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
Runnning piwik 2.1 RC9
I run the auto-archive script via the command :
/usr/bin/php /var/www/html/piwik/misc/cron/archive.php --url=http://w3stat.unil.ch/piwik/ > /home/cmoullet/log/archive.out 2>&1
via the crontab every 2 hours
At the end of the output I have the following error message for the scheduled task :
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': curl_exec: Protocol http not supported or disabled in libcurl
I do not understand since I checked via phpinfo ( see forum http://forum.piwik.org/read.php?2,111922,112320#msg-112320) that the http protocol is enabled in my php libcurl
Furthermore, why does it try to save the geoIP data as "/var/www/html/piwik/misc/GeoIPCity.dat.dat.gz" with doubled dat and not simply GeoIPCity.dat.gz??
For information, the command line :
curl http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz > /tmp/geoip.dat.gz
works perfectly ..
So I think there is no problem with my curl or php installation but rather in the archive.php script or subscript responsible for the automatic upload of geoIP (GeoIPAutoUpdater).
Thanks to help me
The text was updated successfully, but these errors were encountered: