I am trying to install influxdb but i am not sure how to do it. I searched internet Tutorials but they are all different, and nobody seems to care which version they are downloading.
Can anyone here help me?
I am using a raspberry pi 3B+, with raspbian 11 (bullseye)
and I want to download influxdb 1.8.10
I know thats probably the wrong forum, but i do not want to sign up in another.
I don't have bullseye, what does this show
apt policy influxdb
Answering my own question, I think that will give you 1.6.7, which is rubbish.
This is pretty much what I use
Though I am not sure whether that will give you 1.8 or 2.0, so when you get to
sudo apt install influxdb
don't do that, but instead do
apt policy influxdb and see what it says. If it is 1.8 then carry on, otherwise come back.
It runs now. I dont exactly remember what worked(because I tried many commands.) but I think it was this:
tar xvfz influxdb-1.8.10_linux_armhf.tar.gz
from Downloads and as platform i chose Linux Binaries (ARMv7).
and installed it with these infos i think: Install InfluxDB OSS | InfluxDB OSS 1.8 Documentation
It does run now!
But I have not tested it completely till now
Something like should be ok.
I can't understand why 1.6.x is rubbish ?
Last year i used 1.8.x and after an update to 1.8.7-1 it didn´t start:
After update to 1.8.9 again:
that was the case for all/most users on RPi, because "influxd-systemd-start.sh" was changed / permissions has changed.
In a german forum I was told to use the default version of raspian, just install by
apt install influxdb influxdb-client
since then it's been running flawlessly
I meant it is rubbish that the latest version in Bullseye is so old.
The issue with some 1.8 versions failing to start was, I believe, fixed in 1.8.10.
Here is my setup for pz2w, hope it can be used. Had it running on a pzw but was too slow. runs alongside grafana and bluetooth.
pi@raspberrypi:~ $ influx --version
InfluxDB shell version: 1.8.10
sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y
curl https://repos.influxdata.com/influxdb.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdb-archive-keyring.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/influxdb-archive-keyring.gpg] https://repos.influxdata.com/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
sudo apt update && sudo apt install influxdb -y
sudo systemctl unmask influxdb
sudo systemctl enable influxdb
sudo systemctl start influxdb
sudo systemctl status influxdb
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.