influxd-systemd-start.sh[PID]: Failed to reach influxdb http endpoint at http://localhost:8086/health

on my Raspi4 the last installed influxd-package was no more able to start the service.
CPU-load was at 100%, the “systemctl start influxd” routine was running in a loop.
As the smarthome generates many data the service took longer to start as expected by the new startup-script influxd-systemd-start.sh .

Fix:
in ./usr/lib/influxdb/scripts/influxd-systemd-start.sh:

increase the sleep timer (in my case from 1 to 5):

...
while [ "$result" != "200" ]; do
  sleep 5
  result=$(curl -k -s -o /dev/null $url -w %{http_code})
...

Done!

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.