fhem / fhem-docker

A basic Docker image for FHEM house automation system, based on Debian Linux.
https://fhem.de/
MIT License
84 stars 28 forks source link

Update speedtest-cli: Buggy version is installed #25

Closed timomal closed 3 years ago

timomal commented 4 years ago

Hello,

in the container, the installed speedtest-cli version (2.0.2) includes a bug that the measured upload-speed is wrong (too low). Here, the bug is described: Github: sivel/speedtest-cli/issues/575 The current version is 2.1.2.

Exec inside the container and check the speedtest-cli version and measured uplink speed by: docker exec -ti fhem_fhem_1 speedtest-cli --version docker exec -ti fhem_fhem_1 speedtest-cli

The buggy version of speedtest-cli is included in the debian repos for over 1,5 years.

A better way to install the speedtest-cli is by installing it directly from the git repo or via pip:

lindhe commented 4 years ago

AFAIK, 2.1.2 also has the bug. Or at least, it's reporting 4.10 Mbit/s for me instead of 100 which it is with other measurements.

EDIT: never mind. While I had 2.1.2 installed, it turned out I also had 2.0.x so I ran the wrong version.

jpawlowski commented 3 years ago

Installing speedtest-cli from its original source once was part of the image. However, it turned out to be unstable for a reason I don't remember right now. This is the reason it was reverted to be installed from Debian original sources.

Referring to #28, build stability might change and it might be worth looking into this once again. However, setup would look a bit different as a simple raw file download would to as well ;-)