Home Assistant Community Add-on: InfluxDB

I’ve used InfluxDB in the past, but this is the first time as an HA add-on.
I have been able to install it, but it won’t run, stopping at an nginx permission error.
Has this been seen before? Is there anything further I can provide to help debug?

2019/04/29 19:45:28 Using configuration at: /etc/kapacitor/kapacitor.conf
time="2019-04-29T19:45:28+10:00" level=info msg="Serving chronograf at http://127.0.0.1:8889" component=server 
time="2019-04-29T19:45:28+10:00" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime" 
[19:45:29] INFO: Starting NGinx...
nginx: [emerg] open() "/proc/1/fd/1" failed (13: Permission denied)
time="2019-04-29T19:45:29+10:00" level=error msg="shutdown initiated" 
time="2019-04-29T19:45:29+10:00" level=info msg="Stopped serving chronograf at http://127.0.0.1:8889" component=server 
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

I’ve tried to clean my influx database with DROP MEASUREMENT command thru influx cli.
Those commands didn’t return any errors but seem to have no impact. Old and unused measurements are still there.

I’ve found an issue on github link to that but as I really don’t know how to investigate with the hassio addon.

Perhaps something to check in the addon setup ? If you have any idea I’m listening.

I get this error after updating to this version from 1.3.0, i tried to reboot hass.io several times, reinstall, etc, but always getting the same error:

:tada: Release v3.0.5

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades Chronograf to 1.7.11
  • :arrow_up: Upgrades add-on base image to 3.1.1

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

As many many users reported, I never had chance to run influxDB properly.
I got the classic error: “Database host is not accessible due to ‘HTTPSConnectionPool(host=‘a0d7b954_influxdb’, port=8086): Max retries exceeded with url: /write?db=homeassistant (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x7f717ab748>: Failed to establish a new connection: [Errno -2] Name does not resolve’))’, please check your entries in the configuration file (host, port, etc.) and verify that the database exists and is READ/WRITE. Retrying again in 60 seconds.”

I use SSL connexion with duckdns. Here my config

{
“auth”: true,
“reporting”: true,
“ssl”: true,
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”
}

influxdb:
host: a0d7b954_influxdb
port: 8086
database: homeassistant
username: !secret influxdb_username
password: !secret influxdb_password
ssl: true
max_retries: 3
default_measurement: state

Of course both the database and the user “homeassistant” created in influxDB.

I tried with SSL:false or true, auth false or true… I opened of course port 8086/8088 in my router…

Dear, one small question
with influxdb addon Chronograf & Kapacitor comes as preinstalled
what should ne done to stop them installing with influxdb.
Please guide
thanks

:tada: Release v3.1.0

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades add-on base image to v3.1.3
  • :arrow_up: Upgrades Chronograf to 1.7.12
  • :arrow_up: Upgrades Kapacitor to 1.5.3
  • :pencil2: Maintaince -> Maintenance
  • :sparkles: Adds FUNDING.yml

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

1 Like

:tada: Release v3.1.1

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades InfluxDB to v1.7.7
  • :books: Link to HA Component Docs for Influx (#35)

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

i am desperately looking for help.
Can someone please check out my thread?
Thanks
https://community.home-assistant.io/t/influxdb-keeps-spiking-up-cpu

Is Graphite supported within this add-on? And if so, where can and should I configure it?

Note
I’ve searched and couldn’t find an answer.

Use-case
Want to use the built-in FreeNAS graphite support, so that I can insert miscellaneous FreeNAS metrics into influxdb.

Source
https://docs.influxdata.com/influxdb/v1.7/supported_protocols/graphite#minimal-config

:tada: Release v3.1.2

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades libnginx-mod-http-lua to 1.14.0-0ubuntu1.3
  • :arrow_up: Upgrades nginx to 1.14.0-0ubuntu1.3
  • :arrow_up: Upgrades add-on base image to v3.1.4

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

I have followed the installation sequence step-by-step, but when clicking “Open Web UI” I only get a 502: Bad gateway. Nothing happens.

Last event in log after starting is “[16:28:49] INFO: Starting NGinx…” and nothing more.

Anyone experienced this before?

My influx won’t start after the update, I only get this in the log: https://pastebin.com/dhik1GiM what to do?

:tada: Release v3.2.0

Full Changelog

This release adds support for the Flux query language! :tada:
Oh, and it updates all other stuff as well.

:hammer: Changes

  • :arrow_up: Upgrades nginx to 1.14.0-0ubuntu1.5
  • :arrow_up: Upgrades add-on base image to v3.2.0
  • :arrow_up: Upgrades nginx to 1.14.0-0ubuntu1.6
  • :arrow_up: Upgrades libnginx-mod-http-lua to 1.14.0-0ubuntu1.6
  • :hammer: Updates HA Auth URL in NGinx LUA script
  • :ambulance: Fixes path handling for SSL certificates
  • :hammer: Use Hass.io DNS as NGinx resolver
  • :arrow_up: Upgrades Chronograf to 1.7.13
  • :sparkles: Enables Flux

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

I get the exact same problem. Did you find a solution for this?

[21:33:10] INFO: Starting NGinx...

And then no further.

That is the last message an there is nothing wrong with that.

Nope, no solution. Everything seems to be ok, but only 502: error when trying to start it. No clue

:tada: Release v3.2.1

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades Chronograf to 1.7.14 (#43)

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

:tada: Release v3.3.0

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades add-on base image to v4.0.0
  • :fire: Removes unneeded access to config folder
  • :arrow_up: Upgrades InfluxDB to v1.7.8

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

Hello,
can I use CLI with this add-on? If yes, how can I access it?

Thank you.