Influx 1.8.10, Pi Zero v1, a timeout was exceeded

Hi everyone,
Sorry to bother but I have a problem i can’t solve on my own.

So I have iinflux and grafana running on a pi zero v1 and everything was going fine until I tried to update my distro (DietPi v8.0.2 to v8.1.2).

From what I understood it broke the existing influxdb.service config file in usr/lib/influxdb, preventing the service to start.

First time I simply reburned my SD card with a save and everything went back to normal.

But this morning I saw that the problem came back. Grafana can’t access influx, node red cant either :

“Error: connect ECONNREFUSED ::1:8086”

When i try to stop and start influx i have this message :

dietpi@DietPi:~$ sudo service influxdb start
Job for influxdb.service failed because a timeout was exceeded.
See “systemctl status influxdb.service” and “journalctl -xe” for details.

Here’s the message in journalctl :

Feb 28 11:02:32 DietPi node-red[448]: WARN: Write to InfluxDB failed (attempt: 5). Error: connect ECONNREFUSED ::1:8086
Feb 28 11:02:32 DietPi node-red[448]: at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
Feb 28 11:02:32 DietPi node-red[448]: errno: -111,
Feb 28 11:02:32 DietPi node-red[448]: code: ‘ECONNREFUSED’,
Feb 28 11:02:32 DietPi node-red[448]: syscall: ‘connect’,
Feb 28 11:02:32 DietPi node-red[448]: address: ‘::1’,
Feb 28 11:02:32 DietPi node-red[448]: port: 8086
Feb 28 11:02:32 DietPi node-red[448]: }

My influxdb.service file:

# If you modify this, please also make sure to edit

Description=InfluxDB is an open-source, distributed, time series database



What can I do to stop this problem ? Sorry for language i’m french.

Yesterday all was working fine and suddenly this come from nowhere (no update but one reboot) i’m a bit lost and a newbie so it’s hard for me to figure out what exatcly went wrong.

I have a save of my service file and it didn’t changed. I dont really know how to put it back in place…

Thanks in advance !

Hello @franck_Franc,
Welcome! I see you’re new here.
May I ask why are you using 1.6? That version is very old, just curious. First I would try upgrading to the latest version of InfluxDB

You might want to try:

sudo chown -R influxdb:influxdb /var/lib/influxdb

1 Like

Thanks for the reply !

Actually i use influx 1.8.10 my bad. But that was that. A simple

sudo chmod +x /usr/lib/influxdb/scripts/


sudo systemctl start influxdb.service

did the trick


1 Like