Influxdb fail to startup

Hi,

I have installed on my Raspberry PI 4 a instance of Influxdb.

I followed Installing on a Raspberry Pi and have checked /etc/systemd/system/influxdb.service

 #If you modify this, please also make sure to edit init.sh

[Unit]
Description=InfluxDB is an open-source, distributed, time series database
Documentation=https://docs.influxdata.com/influxdb/
After=network-online.target

[Service]
User=influxdb
Group=influxdb
LimitNOFILE=65536
EnvironmentFile=-/etc/default/influxdb
ExecStart=/usr/bin/influxd -config /etc/influxdb/influxdb.conf ${INFLUXD_OPTS}
KillMode=control-group
Restart=on-failure

[Install]
WantedBy=multi-user.target
Alias=influxd.service

So the start up looks fine, but it fails.

When I “influxd” manually vis the CLI it starts and runs fine.

Help will be appriciated

Hello @Johan_Scheepers,
I’m not sure, I’m asking around and I’ll get back to you. Thank you. In the meantime, can you use journalctl (specific for the service, journalctl -u influxd ) to see what errors, if any, are being output? Thank you.

If you are running influxd directly, it’s possible some files have been generated that are not accessible by the influxdb service run by systemd. I recommend taking a look at this troubleshooting page.