I have a setup with Node-Red -> InfluxDB -> Grafana for visualizing data from my energy meter. This has been in use for abt three years, just working fine. All of a suden the Grafana panels are empty and I get the message "No host available" and "connect ECONNREFUSED 127.0.0.1:8086" in NR.
I did not do anything prior to this.
My own theory is that some update took place and NR lost its rights to access the Influx DB... I am not a programmer so I really struggel with this... Where should I start...?
Wow you Node-red is old, the curent version is v3.0.2
If you have been doing apt updates, Grafana would be updated and there may be an isue with your nodes on NR being too old.
My suggestion would be to backup your .node-red folder onto another device. (do a forum search using 'backup up node-red') Then get a new SD card and flash it with the latest Raspberry Pi OS using the Raspberry Pi Imager so you can setup some of the things like localization, user ID/password etc.
sudo apt update
sudo apt full-upgrade
and the grafana, Infuxdb and node-red installs. Then you can copy your backed up node-red to that new SD card. At that point you should be able to test things out.
It's a bit time consuming (couple cups of coffee and a nice walk ) but then everything will be up to date!