roest01 / docker-speedtest-analyser

Automated docker speedtest analyser tool with included web interface to monitor your internet speed connection over time. Setup at home on your NAS (Synology, QNAP tested) and the container runs hourly speedtests. The speedtest results are displayed in an webinterface as line graph(s) over the day.
Other
108 stars 47 forks source link

Chart not working #41

Closed pawerak closed 4 years ago

pawerak commented 4 years ago

I use docker-compose:

version: "3.2"
services:
  speedtest:
    container_name: speedtest
    image: roest/docker-speedtest-analyser
    restart: unless-stopped
    network_mode: bridge
    volumes:
      - ./speedtest/data:/var/www/html/data
    ports:
      - 8090:80
      - 4343:443
    environment:
      - CRONJOB_ITERATION=30

Script is working properly. File result.csv is updating every 30 min, but the webpage is not updating. Przechwytywanie

Logs:

Starting run.sh
Starting Cronjob
Starting nginx
--- running speedtest ---
running with default server
ran
Ping: 26.528 ms
Download: 174.51 Mbit/s
Upload: 16.86 Mbit/s

08.03.2020 20:00:29
('08.03.2020 20:00:29', '26.52', '174.', '16.8')
speedtest complete
--- running speedtest ---
running with default server
ran
Ping: 19.655 ms
Download: 171.36 Mbit/s
Upload: 17.73 Mbit/s

08.03.2020 20:30:30
('08.03.2020 20:30:30', '19.65', '171.', '17.7')
speedtest complete
pawerak commented 4 years ago

Hi, I found a solution. I checked console in internet browser and found out that it was:

Failed to load resource: the server responded with a status of 403 (Forbidden)

So i set proper permissions to data folder and now everything is working properly. Maybe in future someone will find it helpful.