Skip to content

Stays on "Waiting for InfluxDB to come up......." endlessly #6

Description

@raspberrycoulis

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:

  1. Clone repository as requested
  2. 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.)
  3. 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:

user: "0"

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions