Help installing Influx

I’m running on a Raspberry PI, 4.b buster.
I’ve found some installation instructions for 1.8.1. None of the installations provide an influxdb.conf. So I cobbled one together and modified it as best I can. At least influxdb starts. But I can’t get to 10.0.0.222:8086 despite the fact that the port is listening. systemctl start and enable work and output from systemctl status is good. However the .conf didn’t include any admin authorizations blocks

But I can’t connect to my installation via 10.0.0.222:8086. I got a 404 error. port 8086 is listening. I’ve also install grafana it works fine. Except when I try to add a datasource for Influxdb I get a server error. Not a surprise considering the 404.

So any help with the 404 error on my server would be greatly appreciated.

I also would be happy if I could find an installation guide which includes a .conf along with modification instructions.

You just starting out? If so, I’d suggest skipping 1.8 and going straight to influx 2.0. It’s still in beta, but from what I’ve seen progress is pretty good, new releases almost every 2 weeks.

What I did:
Download latest arm beta
Discovered it only came in 64 bit aarch
Found that raspian had a native 64 bit kernel, but needed enabling. Did that , rebooted.
Then made my own service config

My systemd config for it



[Unit]
Description=InfluxDB 2.0 service file.
Documentation=https://v2.docs.influxdata.com/v2.0/get-started/
After=network-online.target

[Service]
User=influxdb
Group=influxdb
ExecStart=/usr/local/bin/influxd run \
		--reporting-disabled \
#		--log-level debug \
		--engine-path "/mnt/Influx/.influxdbv2/engine" \
		--bolt-path "/mnt/Influx/.influxdbv2/influxd.bolt"
#Restart=on-failure

[Install]
WantedBy=multi-user.target
1 Like

Thanks for the detailed info. I followed the directions, downloaded, tar’s copied…
Added the line to the config.txt, ran uname to confirm and I get this…
pi@masterpi:~ $ influxd
-bash: /usr/local/bin/influxd: cannot execute binary file: Exec format error

ps: I downloaded the arm version from here

What do you get if you run file influxd ? Any chance you accidentally downloaded amd instead of arm ?
Also, output from uname -a

I got 2.0 from the influx website.
I originally installed the amd64 version. I deleted influx and influxd from /usr/local/bin
I then installed the correct version which failed.
I confirmed I had arm_64bit=1 at the end of /boot/config.txt. I rebooted and this is the output from uname
pi@masterpi:~ $ cat /proc/cpuinfo
processor : 0
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 1
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 2
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 3
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

Hardware : BCM2835
Revision : c03111
Serial : 10000000f03bacf4
Model : Raspberry Pi 4 Model B Rev 1.1