hassio-addons/addon-influxdb






The issue has been closed
InfluxDB stops every couple of hours, with no visible reason #72
pejotigrek posted onGitHub
Problem/Motivation
InfluxDB stopping and therefore I lose my data, as I'm not always aware of the stop.
Expected behavior
I want my InfluxDB to run without issues.
Actual behavior
InfluxDB is running for some time, and then randomly stops without notice. Log attached.
Steps to reproduce
Run InfluxDB, act normal & "forget about HomeAssistant" as the automations do stuff at home. then, after few hours check the supervisor and see that InfluxDB stopped working some time ago.
Proposed changes
honestly - if I knew what to do, I probably would fix it myself :(
Logs copied from addon's dashboard:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Hass.io Add-on: InfluxDB
Scalable datastore for metrics, events, and real-time analytics
-----------------------------------------------------------
Add-on version: 3.6.1
You are running the latest version of this add-on.
System: Ubuntu 18.04.4 LTS (amd64 / qemux86-64)
Home Assistant Core: 0.106.6
Home Assistant Supervisor: 209
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] create-users.sh: executing...
[cont-init.d] create-users.sh: exited 0.
[cont-init.d] influxdb.sh: executing...
[13:24:40] INFO: Reporting of usage stats to InfluxData is disabled.
[cont-init.d] influxdb.sh: exited 0.
[cont-init.d] kapacitor.sh: executing...
[cont-init.d] kapacitor.sh: exited 0.
[cont-init.d] nginx.sh: executing...
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[13:24:41] INFO: Kapacitor is waiting until InfluxDB is available...
[13:24:41] INFO: Chronograf is waiting until InfluxDB is available...
[13:24:41] INFO: Starting the InfluxDB...
[13:25:20] INFO: Starting Chronograf...
time="2020-03-24T13:25:35+01:00" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime"
time="2020-03-24T13:25:35+01:00" level=info msg="Serving chronograf at http://127.0.0.1:8889" component=server
[13:25:35] INFO: Starting NGinx...
[22:39:24] WARNING: Kapacitor is done waiting. Starting anyway...
[22:39:24] INFO: Starting the Kapacitor
'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::
##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
2020/03/24 22:39:24 Using configuration at: /etc/kapacitor/kapacitor.conf
#####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::
ts=2020-03-24T22:39:24.840+01:00 lvl=error msg="encountered error" service=run err="open server: open service *influxdb.Service: failed to link subscription on startup: authorization failed"
run: open server: open service *influxdb.Service: failed to link subscription on startup: authorization failed
[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.