Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

Protocol http not supported or disabled in libcurl (3 replies)

$
0
0
Runnning piwik 2.1 RC6

I run for the first time the auto-archive script via the command :
/usr/bin/php /var/www/html/piwik/misc/cron/archive.php --url=http://w3stat.unil.ch/pi
wik/ > /home/cmoullet/log/archive.out 2>&1

At the end of the output I have the following error message for the scheduled task :


INFO [2014-02-20 15:49:27] [31b48] SCHEDULED TASKS
INFO [2014-02-20 15:49:27] [31b48] Starting Scheduled tasks...
DEBUG Piwik\CliMulti[2014-02-20 15:49:27] [31b48] /usr/bin/php -q /var/www/html/piwik/console climulti:request --piwik-domain='w3stat.unil.ch' 'module=API&method=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=5589d5f10a4f0a62cbbed9c93751d800&trigger=archivephp&pid=058484aef317a4283a932a104be59c6a8eb91c99c76dad09f0ed19ade8fb7985b33f3522eb131cb6a6c9540772f821f1b5ae0' > /var/www/html/piwik/tmp/climulti/058484aef317a4283a932a104be59c6a8eb91c99c76dad09f0ed19ade8fb7985b33f3522eb131cb6a6c9540772f821f1b5ae0.output 2>&1 &
INFO [2014-02-20 15:49:27] [31b48] 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
task,output
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 ( see joined image) 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 ??

Thanks for your reply..

Viewing all articles
Browse latest Browse all 4243

Trending Articles