Workaround — Latest version of influxDB not starting on Raspberry pi (Buster)
Steps to rollback to influxdb version 1.8.5
If you followed the standard approach to install OR upgrade to the latest version of influxDB (for me it was 1.8.9) on Raspberry Pi recently then you’ll be greeted with the following message and influxDB just refuses to start.
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: connect: connection refusedPlease check your connection settings and ensure ‘influxd’ is running.
The issue has been reported/documented at the following places
I even tried the release candidate 1.8.10 and still no resolution
So I decided to install the version that was working for me earlier i.e. version 1.8.5. Please keep in mind that this is tested for a fresh install with no data in the database. So if you have data then be very cautious in downgrading, as you might lose data or functionality or both, so be warned.
Steps:
- Start with a fresh install of raspbian OS (Buster)
- Follow commands below
sudo apt update
sudo apt upgrade -y
wget https://s3.amazonaws.com/dl.influxdata.com/influxdb/releases/influxdb_1.8.5_armhf.debsudo dpkg -i influxdb_1.8.5_armhf.deb
sudo systemctl unmask influxdb.service
sudo systemctl start influxdb
sudo systemctl enable influxdb.service