arevindh / pihole-speedtest

Pihole Speedtest Mod
https://arevindh.github.io/pihole-speedtest/
MIT License
215 stars 22 forks source link

Error running speedtest script #66

Closed deannreid closed 3 years ago

deannreid commented 3 years ago

when running the test file (sudo "/var/www/html/admin/scripts/pi-hole/speedtest/speedtest-official.sh" )

The following error appears

/opt/pihole# sudo "/var/www/pi.hole/admin/scripts/pi-hole/speedtest/speedtest-official.sh" Testing with usage: speedtest [-h] [--no-download] [--no-upload] [--single] [--bytes] [--share] [--simple] [--csv] [--csv-delimiter CSV_DELIMITER] [--csv-header] [--json] [--list] [--server SERVER] [--exclude EXCLUDE] [--mini MINI] [--source SOURCE] [--timeout TIMEOUT] [--secure] [--no-pre-allocate] [--version] speedtest: error: unrecognized arguments: --accept-gdpr --accept-license -f json-pretty 2020-12-22 20:41:25 2020-12-22 20:41:26 0 Error: near ",": syntax error

arevindh commented 3 years ago

Please change to official CLI