These are chat archives for influxdata/influxdb

8th
Apr 2019
Armel Abdelkbir
@ArABd_gitlab
Apr 08 10:22

Hi everyone,

I’ve nearly pulled out all my hair and on my 10th reinstall on Ubuntu. I am trying to set up a Grafana - Telegraf - Influx dB dedicated server.

The first step is to install InfluxDB. However after a vanilla install of Ubuntu, I cannot get Influx DB (having installed via the Influx DB website Sudo apt install influxdb, then the curl update).

I get the error

Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: getsockopt: connection refused Please check your connection settings and ensure ‘influxd’ is running.

Systemctl status Influxdb shows that Influx is currently running fine?

ubuntu 16.04 and influxdb 1.7.4
bobcroft
@bobcroft
Apr 08 12:50
@ArABd_gitlab It may not be of help to you but I installed Home Assistant (Hass.io) on a vanilla install of Ubuntu 18.04.2 . Hass.Io installs itself in Docker containers, then once installed you can install Influx and Grafana as Addons. Although I haven't do it myself I believe you can install Telegraph as well.
I am no expert in Linux or docker but the Hass.IO system works brilliantly well and is very well supported. It may be a method you could adopt to achieve your goals.