I'm running this on a Raspberry Pi 4 with 8GB or RAM, booting from a m2 SSD drive (so the Pi is actually quite rapid).
Steps to reproduce:
- Clone repository as requested
- Edit the
env.grafana and env.influxdb files to update passwords as recommended (kept them simple for testing, so no risk of unescaped characters etc.)
- Ran
./start.sh and waited. Docker pulls the images and creates the containers, but the terminal just sits at Waiting for InfluxDB to come up... forever.
I can access Grafana's UI by visiting http://PI-IP-ADDRESS:3000 and can login, but only with the default admin:admin combination (so it looks like the variables from the env.grafana aren't being pulled through yet. I also tried the monitor:mynewpassword but that failed to login.
I then thought it might be a permissions issue, so updated the docker-compose.yml to include:
Which should then run the containers as the root user on my Pi, but the same issue - constant waiting for InfluxDB to come up.
Checking the logs of the grafana/influxdb container seems to show that Telegraf is getting a 401 error (unauthorised), approximately every 10 seconds. The logs for the telegraf container shows "Failed to write metric" and mirrors the 401 error code shown in grafana/influxdb.
Upon closer inspection, I saw that there's a telegraf.conf file that also needs updating to use the password, so I tried again after updating that, but the waiting message still continues endlessly.
I'm running this on a Raspberry Pi 4 with 8GB or RAM, booting from a m2 SSD drive (so the Pi is actually quite rapid).
Steps to reproduce:
env.grafanaandenv.influxdbfiles to update passwords as recommended (kept them simple for testing, so no risk of unescaped characters etc.)./start.shand waited. Docker pulls the images and creates the containers, but the terminal just sits atWaiting for InfluxDB to come up...forever.I can access Grafana's UI by visiting
http://PI-IP-ADDRESS:3000and can login, but only with the defaultadmin:admincombination (so it looks like the variables from theenv.grafanaaren't being pulled through yet. I also tried themonitor:mynewpasswordbut that failed to login.I then thought it might be a permissions issue, so updated the
docker-compose.ymlto include:Which should then run the containers as the
rootuser on my Pi, but the same issue - constant waiting for InfluxDB to come up.Checking the logs of the
grafana/influxdbcontainer seems to show that Telegraf is getting a401error (unauthorised), approximately every 10 seconds. The logs for thetelegrafcontainer shows "Failed to write metric" and mirrors the 401 error code shown ingrafana/influxdb.Upon closer inspection, I saw that there's a
telegraf.conffile that also needs updating to use the password, so I tried again after updating that, but the waiting message still continues endlessly.