# How to install Influxdb on Raspberry PI?

**URL:** https://discourse.nodered.org/t/how-to-install-influxdb-on-raspberry-pi/58084
**Category:** General
**Created:** [10 February 2022 14:25 UTC](https://discourse.nodered.org/t/how-to-install-influxdb-on-raspberry-pi/58084 "2022-02-10T14:25:07Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![nodenoob](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@nodenoob](https://discourse.nodered.org/u/nodenoob)
#### Post date: [10 February 2022 14:25 UTC](https://discourse.nodered.org/t/how-to-install-influxdb-on-raspberry-pi/58084/1 "2022-02-10T14:25:07Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [10 February 2022 15:28 UTC](https://discourse.nodered.org/t/how-to-install-influxdb-on-raspberry-pi/58084/3 "2022-02-10T15:28:19Z")

</div>

I don't have bullseye, what does this show  
`apt policy influxdb`

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [10 February 2022 16:35 UTC](https://discourse.nodered.org/t/how-to-install-influxdb-on-raspberry-pi/58084/4 "2022-02-10T16:35:35Z")

</div>

Answering my own question, I think that will give you 1.6.7, which is rubbish.

This is pretty much what I use

> **[Installing InfluxDB to the Raspberry Pi](https://pimylifeup.com/raspberry-pi-influxdb/)**
>
> Easily store metrics.

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.

---

<div class="post-metadata">

### Author: ![nodenoob](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@nodenoob](https://discourse.nodered.org/u/nodenoob)
#### Post date: [10 February 2022 17:29 UTC](https://discourse.nodered.org/t/how-to-install-influxdb-on-raspberry-pi/58084/5 "2022-02-10T17:29:29Z")

</div>

It runs now. I dont exactly remember what worked(because I tried many commands.) but I think it was this:

```auto
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.8.10_linux_armhf.tar.gz
tar xvfz influxdb-1.8.10_linux_armhf.tar.gz

```

from [Downloads](https://portal.influxdata.com/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](https://docs.influxdata.com/influxdb/v1.8/introduction/install/)

It does run now!  
But I have not tested it completely till now

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [10 February 2022 17:32 UTC](https://discourse.nodered.org/t/how-to-install-influxdb-on-raspberry-pi/58084/6 "2022-02-10T17:32:25Z")

</div>

Something like should be ok.

---

<div class="post-metadata">

### Author: ![Becker](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Becker](https://discourse.nodered.org/u/Becker)
#### Post date: [11 February 2022 06:33 UTC](https://discourse.nodered.org/t/how-to-install-influxdb-on-raspberry-pi/58084/7 "2022-02-11T06:33:42Z")

</div>

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:

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/9/199d72f6fc9df0683000a1b49420dbd2194d6e96.png)

After update to 1.8.9 again:

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/0/604f5e4d6bff0a71eacdd52026c6af0f96fbb84a.png)

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

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [11 February 2022 10:40 UTC](https://discourse.nodered.org/t/how-to-install-influxdb-on-raspberry-pi/58084/8 "2022-02-11T10:40:16Z")

</div>

> [@Becker](#):
>
> I can't understand why 1.6.x is rubbish

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.

---

<div class="post-metadata">

### Author: ![Frida](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/frida/32/68250_2.png) [@Frida](https://discourse.nodered.org/u/Frida)
#### Post date: [11 February 2022 20:21 UTC](https://discourse.nodered.org/t/how-to-install-influxdb-on-raspberry-pi/58084/9 "2022-02-11T20:21:26Z")

</div>

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.

```auto
pi@raspberrypi:~ $ influx --version
InfluxDB shell version: 1.8.10

```

```auto
install influx

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

```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [12 April 2022 20:21 UTC](https://discourse.nodered.org/t/how-to-install-influxdb-on-raspberry-pi/58084/10 "2022-04-12T20:21:51Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
