Coder Social home page Coder Social logo

hassio-addons / addon-influxdb Goto Github PK

View Code? Open in Web Editor NEW
149.0 16.0 47.0 567 KB

InfluxDB - Home Assistant Community Add-ons

Home Page: https://addons.community

License: MIT License

Shell 33.07% Dockerfile 20.55% Lua 19.65% Jinja 23.60% Groovy 3.13%
influxdb chronograf kapacitor home-assistant homeassistant addon addons

addon-influxdb's Introduction

Home Assistant Community Add-on: InfluxDB

GitHub Release Project Stage License

Supports aarch64 Architecture Supports amd64 Architecture Supports armhf Architecture Supports armv7 Architecture Supports i386 Architecture

Github Actions Project Maintenance GitHub Activity

Discord Community Forum

Sponsor Frenck via GitHub Sponsors

Support Frenck on Patreon

Scalable datastore for metrics, events, and real-time analytics.

About

InfluxDB is an open source time series database optimized for high-write-volume. It's useful for recording metrics, sensor data, events, and performing analytics. It exposes an HTTP API for client interaction and is often used in combination with Grafana to visualize the data.

Chronograf in the Home Assistant Frontend

This add-on comes with Chronograf & Kapacitor pre-installed as well. Which gives you a nice InfluxDB admin interface for managing your users, databases, data retention settings, and lets you peek inside the database using the Data Explorer.

πŸ“š Read the full add-on documentation

Support

Got questions?

You have several options to get them answered:

You could also open an issue here GitHub.

Contributing

This is an active open-source project. We are always open to people who want to use the code or contribute to it.

We have set up a separate document containing our contribution guidelines.

Thank you for being involved! 😍

Authors & contributors

The original setup of this repository is by Franck Nijhof.

For a full list of all authors and contributors, check the contributor's page.

We have got some Home Assistant add-ons for you

Want some more functionality to your Home Assistant instance?

We have created multiple add-ons for Home Assistant. For a full list, check out our GitHub Repository.

License

MIT License

Copyright (c) 2018-2024 Franck Nijhof

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

addon-influxdb's People

Contributors

dependabot[bot] avatar ferazambuja avatar frenck avatar hoppingmonk avatar horstexplorer avatar jonathanweinberg avatar mattlongman avatar michaelpiron avatar qrpp avatar renovate[bot] avatar scottg489 avatar sinclairpaul avatar sveip avatar tjorim avatar tombrien avatar wrt54g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

addon-influxdb's Issues

panic: runtime error: slice bounds out of range

After upgrading yesterday to Hass.io 0.92.2 my InfluxDB crashed after weeks of running stable on my new installation.

When I upgraded yesterday, it crashed and I could not get it working. :-(

This was in my logs:
2019/05/03 23:15:32 Using configuration at: /etc/kapacitor/kapacitor.conf
panic: runtime error: slice bounds out of range
goroutine 229 [running]:
github.com/influxdata/influxdb/tsdb/cursors.(*StringArray).Include(0x7e7f758, 0x97b2d500, 0x15962722, 0x375fd406, 0x56650894)
/go/src/github.com/influxdata/influxdb/tsdb/cursors/arrayvalues.gen.go:693 +0x260
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).combineString(0x34622d0, 0xf2fcf01, 0xf73348, 0xf2fcf00, 0x37)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.gen.go:1748 +0x63c
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).mergeString(0x34622d0)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.gen.go:1691 +0x25c
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).merge(0x34622d0)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1815 +0xf4
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).Next(0x34622d0, 0x75c28a)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1676 +0xcf0
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).write(0x31c07e0, 0x3e616d0, 0x47, 0xf76358, 0x34622d0, 0xe742401, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1128 +0x148
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).writeNewFiles(0x31c07e0, 0x11, 0x2, 0x34234c0, 0x6, 0x8, 0xf76358, 0x34622d0, 0x1, 0x0, ...)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1032 +0x128
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).compact(0x31c07e0, 0xe28b00, 0x34234c0, 0x6, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:940 +0x4a0
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).CompactFull(0x31c07e0, 0x34234c0, 0x6, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:958 +0x108
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*compactionStrategy).compactGroup(0x3423640)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2152 +0xaac
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*compactionStrategy).Apply(0x3423640)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2129 +0x2c
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactFull.func1(0xdcd73e0, 0x31be630, 0x3423640)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2098 +0xac
created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactFull
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2094 +0xd0
[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 read something about a broken a broken wal fragment file? Unfortunately there is no way to access the files of InfluxDB to remove the file.

I had to remove InfluxDB and do a new install losing the data from the last day.

Would be nice if the files would be accessible through the terminal, so you can fix this issue. Now the files are nowhere to be found.

I run Hass on a Raspberry Pi 2, using the Hassio Raspberry Pi 2 image.

After reinstalling - influxdb can't start - address already in use

Problem/Motivation

Fresh install of add-on and seeing persistence error that address 8088

Expected behavior

Should start and use two ports provided in configuration: 8086 and 8088

Actual behavior

It is binding influxd and influxdb to same 8088 port:

root@a0d7b954-influxdb:/data# /etc/init.d/influxdb restart
influxdb process already stopped [ OK ]
Starting influxdb...
influxdb process was unable to start [ FAILED ]
root@a0d7b954-influxdb:/data# cat /var/log/influxdb/influxd.log
run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in use
root@a0d7b954-influxdb:/data# netstat -a -n -p -t | grep 8088
tcp 0 0 127.0.0.1:8088 0.0.0.0:* LISTEN 659/influxd

Steps to reproduce

install version 1.3.0

Proposed changes

add different port configuration / default to 8086 and 8088

Unclear how to set up authentication

Problem/Motivation

Unable to connect to influxdb in hassio

INFO: Starting the Kapacitor
2018/09/18 15:50:53 Using configuration at: /etc/kapacitor/kapacitor.conf
'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::
##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
#####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::
ts=2018-09-18T15:50:53.715Z lvl=error msg="encountered error" service=run err="open server: open service *influxdb.Service: failed to link subscription on startup: error authorizing query: no user provided"
run: open server: open service *influxdb.Service: failed to link subscription on startup: error authorizing query: no user provided
INFO: Starting the Kapacitor

Expected behavior

I expect to be able to open the ui from Homeassistant with auth enabled, the documentation warns about disabling this. However if trying to connect with auth enabled you get error must set up admin user first.

Actual behavior

In order to create the homeassistant database I had to switch auth off in order to connect. Created the database and user, re-enabled auth but now get errors again. **Need to verify exact error this evening

Steps to reproduce

enable Influxdb in hassio, follow instructions as per readme without doing anything else

Proposed changes

Add documentation to set up the auth properly. I have clearly missed something but can't see anything from the docs so it is probably obvious to an expert but not to someone who hasn't done this before

3.3.0 Issue with uuid

Problem/Motivation

Could not start Influxdb post fresh install in Hassio RPI4

Actual behavior

[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.3.0
 You are running the latest version of this add-on.
 System: HassOS 3.5  (armv7 / raspberrypi4)
 Home Assistant version: 0.99.2
 Supervisor version: 188
-----------------------------------------------------------
 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... 
[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.
[14:51:11] INFO: Starting the InfluxDB...
[14:51:11] INFO: Kapacitor is waiting until InfluxDB is available...
[14:51:11] INFO: Chronograf is waiting until InfluxDB is available...
[14:51:22] INFO: Starting the Kapacitor
[14:51:22] INFO: Starting Chronograf...
'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::
 ##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
 ##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
 #####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
 ##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
 ##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
 ##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::
2019/09/24 14:51:22 Using configuration at: /etc/kapacitor/kapacitor.conf
ts=2019-09-24T14:51:22.937Z lvl=error msg="encountered error" service=run err="create server: invalid UUID length: 0"
run: create server: invalid UUID length: 0
[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-svwait: fatal: timed out
[s6-finish] sending all processes the TERM signal.

Steps to reproduce

Fresh install of 3.5 on RPI4

Proposed changes

Not sure.

Chronograf (1.7.13) Cannot read property 'split' of null

Problem/Motivation

I am getting an error when I click on the "Explore" icon.

Expected behavior

Explore should open

Actual behavior

I get a blank page with the message "A Chronograf error has occurred. Please report the issue here." When I click the hyperlink (here), it takes me to the Git for influxdata / chronograf and prepopulates the issue "Chronograf (1.7.13) Cannot read property 'split' of null"

Steps to reproduce

Clicking the Explore icon in InfluxDB

Proposed changes

Searching the issues on the influxdata / chronograf Git says the issue was resolved in Chronograf (1.7.14). Perhaps updating the Chronograf will correct the issue?
InfluxDB Error

InfluxDB shutdown shortly after start

Problem/Motivation

SYSTEM:

  • PI4B 4GB RAM
  • Raspbian Buster
  • Docker version 19.03.2, build 6a30dfc
  • Supervisor: 192
  • HASSIO: 0.100.3

I have been unable to get InfluxDB to run, as it seems to crash shortly after start. It appears after starting chronograph it runs out of memory.

ADDON CONFIG:

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

Expected behavior

Run without memory errors

Actual behavior

-----------------------------------------------------------
 Hass.io Add-on: InfluxDB
 Scalable datastore for metrics, events, and real-time analytics
-----------------------------------------------------------
 Add-on version: 3.3.0
 You are running the latest version of this add-on.
 System: Raspbian GNU/Linux 10 (buster)  (armv7 / raspberrypi4)
 Home Assistant version: 0.100.3
 Supervisor version: 192
-----------------------------------------------------------
 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... 
[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.
[03:04:27] INFO: Kapacitor is waiting until InfluxDB is available...
[03:04:27] INFO: Chronograf is waiting until InfluxDB is available...
[03:04:27] INFO: Starting the InfluxDB...
[03:05:53] INFO: Starting the Kapacitor

'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::
 ##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
 ##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
 #####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
2019/11/01 03:05:55 Using configuration at: /etc/kapacitor/kapacitor.conf
 ##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
 ##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
 ##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::

[03:05:55] INFO: Starting Chronograf...
runtime: out of memory: cannot allocate 24576-byte block (589758464 in use)
fatal error: out of memory
runtime: out of memory: cannot allocate 8192-byte block (589758464 in use)
fatal error: out of memory

runtime stack:
runtime.throw(0xc8fe90, 0xd)
	/usr/local/go/src/runtime/panic.go:608 +0x5c
runtime.(*mcache).refill(0xb6efb6c0, 0x304265d)
	/usr/local/go/src/runtime/mcache.go:124 +0xe8
runtime.(*mcache).nextFree.func1()
	/usr/local/go/src/runtime/malloc.go:749 +0x24
runtime.systemstack(0x304e1e0)
	/usr/local/go/src/runtime/asm_arm.s:354 +0x84
runtime.mstart()
	/usr/local/go/src/runtime/proc.go:1229

goroutine 3533 [running]:
runtime.systemstack_switch()
	/usr/local/go/src/runtime/asm_arm.s:298 +0x4 fp=0xcab5548 sp=0xcab5544 pc=0x6be48
runtime.(*mcache).nextFree(0xb6efb6c0, 0x1185d, 0x11abc, 0x1185d, 0x11b00)
	/usr/local/go/src/runtime/malloc.go:748 +0xa4 fp=0xcab5574 sp=0xcab5548 pc=0x1a6f4
runtime.mallocgc(0x1800, 0xb32eb0, 0x9ea901, 0xb32eb0)
	/usr/local/go/src/runtime/malloc.go:903 +0x768 fp=0xcab55dc sp=0xcab5574 pc=0x1b014
runtime.makeslice(0xb32eb0, 0x2e8, 0x2e8, 0x2e8, 0x9e9f3c, 0xb32eb0)
	/usr/local/go/src/runtime/slice.go:70 +0x68 fp=0xcab55f0 sp=0xcab55dc pc=0x54714
runtime.makeslice64(0xb32eb0, 0x2e8, 0x0, 0x2e8, 0x0, 0x2, 0x39053, 0x6dc15)
	/usr/local/go/src/runtime/slice.go:85 +0x44 fp=0xcab560c sp=0xcab55f0 pc=0x547e0
github.com/influxdata/influxdb/tsdb/engine/tsm1.integerBatchDecodeAllRLE(0xa36fbe92, 0xb, 0x40e431, 0x0, 0x0, 0x0, 0xf46ba000, 0xbe7edf38, 0x1f, 0x0, ...)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/batch_integer.go:260 +0x2a0 fp=0xcab5668 sp=0xcab560c pc=0x9e84e0
github.com/influxdata/influxdb/tsdb/engine/tsm1.IntegerArrayDecodeAll(0xa36fbe91, 0xc, 0x40e431, 0x0, 0x0, 0x0, 0xbe7ec800, 0x2e8, 0x2e8, 0x0, ...)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/batch_integer.go:150 +0x78 fp=0xcab5698 sp=0xcab5668 pc=0x9e7a04
github.com/influxdata/influxdb/tsdb/engine/tsm1.DecodeIntegerArrayBlock(0xa36fbe83, 0x1a, 0x40e43f, 0xcab5770, 0xa70c90, 0xa1513d97)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/array_encoding.go:68 +0x12c fp=0xcab56e4 sp=0xcab5698 pc=0x9e3ed4
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).combineInteger(0x34a77a0, 0xd162400, 0x1005b40, 0xd1624d0, 0x34a77e8)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.gen.go:1377 +0xdec fp=0xcab5788 sp=0xcab56e4 pc=0x9f1bc4
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).mergeInteger(0x34a77a0)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.gen.go:1253 +0x25c fp=0xcab57a0 sp=0xcab5788 pc=0x9f0c98
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).merge(0x34a77a0)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1809 +0x40 fp=0xcab57c8 sp=0xcab57a0 pc=0x9fe94c
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).Next(0x34a77a0, 0x6231ae)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1792 +0x108 fp=0xcab58dc sp=0xcab57c8 pc=0x9fdb00
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).write(0x30c25a0, 0x92d2e60, 0x45, 0x1008a98, 0x34a77a0, 0x8274b01, 0x0, 0x0)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1128 +0x148 fp=0xcab596c sp=0xcab58dc pc=0x9fcbb8
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).writeNewFiles(0x30c25a0, 0x10, 0x2, 0xdb28c00, 0x8, 0x8, 0x1008a98, 0x34a77a0, 0x1, 0x0, ...)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1032 +0x128 fp=0xcab59c4 sp=0xcab596c pc=0x9fc6cc
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).compact(0x30c25a0, 0xeaf600, 0xdb28c00, 0x8, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:940 +0x4a0 fp=0xcab5a50 sp=0xcab59c4 pc=0x9fbe78
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).CompactFull(0x30c25a0, 0xdb28c00, 0x8, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:958 +0x108 fp=0xcab5aa0 sp=0xcab5a50 pc=0x9fc00c
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*compactionStrategy).compactGroup(0xdb28c40)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2152 +0xaac fp=0xcab5f88 sp=0xcab5aa0 pc=0xa1b8d4
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*compactionStrategy).Apply(0xdb28c40)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2129 +0x2c fp=0xcab5fbc sp=0xcab5f88 pc=0xa1ade8
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactFull.func1(0x9aaef70, 0x30ba000, 0xdb28c40)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2098 +0xac fp=0xcab5fdc sp=0xcab5fbc pc=0xa64648
runtime.goexit()
	/usr/local/go/src/runtime/asm_arm.s:867 +0x4 fp=0xcab5fdc sp=0xcab5fdc pc=0x6db90
created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactFull
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2094 +0xd0

goroutine 1 [chan receive]:
main.(*Main).Run(0x3181fac, 0x308a0e0, 0x0, 0x0, 0x1a24d08, 0x0)
	/go/src/github.com/influxdata/influxdb/cmd/influxd/main.go:90 +0x234
main.main()
	/go/src/github.com/influxdata/influxdb/cmd/influxd/main.go:45 +0x130

goroutine 18 [syscall, 1 minutes]:
os/signal.signal_recv(0x0)
	/usr/local/go/src/runtime/sigqueue.go:139 +0x130
os/signal.loop()
	/usr/local/go/src/os/signal/signal_unix.go:23 +0x14
created by os/signal.init.0
	/usr/local/go/src/os/signal/signal_unix.go:29 +0x30

goroutine 33 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0xa6c5bf80, 0x72, 0x0)
	/usr/local/go/src/runtime/netpoll.go:173 +0x44
internal/poll.(*pollDesc).wait(0x3178474, 0x72, 0x3068500, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x7c
internal/poll.(*pollDesc).waitRead(0x3178474, 0xffffff00, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c
internal/poll.(*FD).Accept(0x3178460, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:384 +0x17c
net.(*netFD).accept(0x3178460, 0xffffffff, 0x0, 0x1)
	/usr/local/go/src/net/fd_unix.go:238 +0x20
net.(*TCPListener).accept(0x32415f0, 0x3147ec0, 0x40000000, 0x0)
	/usr/local/go/src/net/tcpsock_posix.go:139 +0x20
net.(*TCPListener).Accept(0x32415f0, 0xfcbac, 0x11938, 0x19428, 0x3086330)
	/usr/local/go/src/net/tcpsock.go:260 +0x3c
github.com/influxdata/influxdb/tcp.(*Mux).Serve(0x3147ec0, 0x10054a0, 0x32415f0, 0x32415f0, 0x0)
	/go/src/github.com/influxdata/influxdb/tcp/mux.go:75 +0x60
created by github.com/influxdata/influxdb/cmd/influxd/run.(*Server).Open
	/go/src/github.com/influxdata/influxdb/cmd/influxd/run/server.go:387 +0x1ec

goroutine 3224 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3199 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3200 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3185 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3187 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3184 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3173 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3181 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3180 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3182 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3114 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 2859 [select]:
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactCache(0x30ba000)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1920 +0xd8
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions.func1(0x9aaef60, 0x30ba000)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:499 +0x40
created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:499 +0xfc

goroutine 3213 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3210 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3179 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3167 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3223 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3211 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3234 [select]:
github.com/influxdata/influxdb/cmd/influxd/run.(*Server).startServerReporting(0x330b8c0)
	/go/src/github.com/influxdata/influxdb/cmd/influxd/run/server.go:515 +0xc4
created by github.com/influxdata/influxdb/cmd/influxd/run.(*Server).Open
	/go/src/github.com/influxdata/influxdb/cmd/influxd/run/server.go:460 +0x8a0

goroutine 3221 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3212 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3235 [select]:
github.com/influxdata/influxdb/cmd/influxd/run.(*Command).monitorServerErrors(0x319c5a0)
	/go/src/github.com/influxdata/influxdb/cmd/influxd/run/command.go:174 +0x134
created by github.com/influxdata/influxdb/cmd/influxd/run.(*Command).Run
	/go/src/github.com/influxdata/influxdb/cmd/influxd/run/command.go:155 +0x920

goroutine 3164 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3209 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3233 [select]:
github.com/influxdata/influxdb/services/retention.(*Service).run(0x32cfc80)
	/go/src/github.com/influxdata/influxdb/services/retention/service.go:78 +0x8bc
github.com/influxdata/influxdb/services/retention.(*Service).Open.func1(0x32cfc80)
	/go/src/github.com/influxdata/influxdb/services/retention/service.go:51 +0x48
created by github.com/influxdata/influxdb/services/retention.(*Service).Open
	/go/src/github.com/influxdata/influxdb/services/retention/service.go:51 +0x130

goroutine 3119 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3216 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3207 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3215 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3166 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3145 [select]:
github.com/influxdata/influxdb/tsdb.(*Store).monitorShards(0x310a000)
	/go/src/github.com/influxdata/influxdb/tsdb/store.go:1910 +0x100
github.com/influxdata/influxdb/tsdb.(*Store).Open.func1(0x310a000)
	/go/src/github.com/influxdata/influxdb/tsdb/store.go:231 +0x30
created by github.com/influxdata/influxdb/tsdb.(*Store).Open
	/go/src/github.com/influxdata/influxdb/tsdb/store.go:229 +0x20c

goroutine 3115 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3156 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3174 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3169 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3162 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3172 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3165 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3197 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3190 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3198 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3193 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3186 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3191 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3188 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3159 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3168 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3220 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3178 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3225 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3219 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3222 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3153 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3218 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3158 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3118 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3150 [select]:
github.com/influxdata/influxdb/tcp.(*listener).Accept(0x32cfcb0, 0x0, 0x0, 0x0, 0x0)
	/go/src/github.com/influxdata/influxdb/tcp/mux.go:236 +0xd8
github.com/influxdata/influxdb/services/snapshotter.(*Service).serve(0x32cfb00)
	/go/src/github.com/influxdata/influxdb/services/snapshotter/service.go:94 +0x54
created by github.com/influxdata/influxdb/services/snapshotter.(*Service).Open
	/go/src/github.com/influxdata/influxdb/services/snapshotter/service.go:68 +0x74

goroutine 3149 [select]:
github.com/influxdata/influxdb/services/precreator.(*Service).runPrecreation(0x32cfaa0)
	/go/src/github.com/influxdata/influxdb/services/precreator/service.go:76 +0xc8
created by github.com/influxdata/influxdb/services/precreator.(*Service).Open
	/go/src/github.com/influxdata/influxdb/services/precreator/service.go:54 +0x164

goroutine 2860 [select]:
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compact(0x30ba000, 0x9aaef70)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1967 +0x1a8
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions.func1(0x9aaef70, 0x30ba000)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:420 +0x48
created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:420 +0x114

goroutine 3206 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3208 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3217 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3214 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3146 [select]:
github.com/influxdata/influxdb/services/subscriber.(*Service).run(0x308cb00)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:239 +0x1d8
github.com/influxdata/influxdb/services/subscriber.(*Service).Open.func1(0x308cb00)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:98 +0x48
created by github.com/influxdata/influxdb/services/subscriber.(*Service).Open
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:96 +0x13c

goroutine 3157 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3116 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3176 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3175 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3152 [IO wait]:
internal/poll.runtime_pollWait(0xa6c5be80, 0x72, 0x0)
	/usr/local/go/src/runtime/netpoll.go:173 +0x44
internal/poll.(*pollDesc).wait(0xe736e24, 0x72, 0xa7bb000, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x7c
internal/poll.(*pollDesc).waitRead(0xe736e24, 0xffffff00, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c
internal/poll.(*FD).Accept(0xe736e10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:384 +0x17c
net.(*netFD).accept(0xe736e10, 0x1a36b60, 0x0, 0x2cd33c)
	/usr/local/go/src/net/fd_unix.go:238 +0x20
net.(*TCPListener).accept(0xdf93288, 0xa11d300, 0xbbd95300, 0x46344)
	/usr/local/go/src/net/tcpsock_posix.go:139 +0x20
net.(*TCPListener).Accept(0xdf93288, 0xb518f28, 0xc, 0x33e9ea0, 0x2d1410)
	/usr/local/go/src/net/tcpsock.go:260 +0x3c
net/http.(*Server).Serve(0x7241c80, 0x10054a0, 0xdf93288, 0x0, 0x0)
	/usr/local/go/src/net/http/server.go:2826 +0x1e0
net/http.Serve(0x10054a0, 0xdf93288, 0xffbf28, 0x308cc00, 0x6, 0xb518fc8)
	/usr/local/go/src/net/http/server.go:2423 +0x58
github.com/influxdata/influxdb/services/httpd.(*Service).serve(0x319cea0, 0x10054a0, 0xdf93288)
	/go/src/github.com/influxdata/influxdb/services/httpd/service.go:249 +0x38
github.com/influxdata/influxdb/services/httpd.(*Service).serveTCP(0x319cea0)
	/go/src/github.com/influxdata/influxdb/services/httpd/service.go:237 +0x2c
created by github.com/influxdata/influxdb/services/httpd.(*Service).Open
	/go/src/github.com/influxdata/influxdb/services/httpd/service.go:186 +0x474

goroutine 3151 [select]:
github.com/influxdata/influxdb/services/continuous_querier.(*Service).backgroundLoop(0x319ce40)
	/go/src/github.com/influxdata/influxdb/services/continuous_querier/service.go:215 +0x114
created by github.com/influxdata/influxdb/services/continuous_querier.(*Service).Open
	/go/src/github.com/influxdata/influxdb/services/continuous_querier/service.go:133 +0x154

goroutine 3117 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 2922 [select]:
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compact(0x319a210, 0x9aaf350)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1967 +0x1a8
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions.func1(0x9aaf350, 0x319a210)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:420 +0x48
created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:420 +0x114

goroutine 3170 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3161 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3171 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3155 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3163 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3148 [select]:
github.com/influxdata/influxdb/monitor.(*Monitor).storeStatistics(0x330b950)
	/go/src/github.com/influxdata/influxdb/monitor/service.go:434 +0x5b4
created by github.com/influxdata/influxdb/monitor.(*Monitor).Open
	/go/src/github.com/influxdata/influxdb/monitor/service.go:126 +0x2b8

goroutine 3147 [select]:
github.com/influxdata/influxdb/services/subscriber.(*Service).waitForMetaUpdates(0x308cb00)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:165 +0x8c
github.com/influxdata/influxdb/services/subscriber.(*Service).Open.func2(0x308cb00)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:102 +0x48
created by github.com/influxdata/influxdb/services/subscriber.(*Service).Open
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:100 +0x158

goroutine 3160 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3120 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 2858 [select]:
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compact(0x3e984d0, 0x9aaef50)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1967 +0x1a8
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions.func1(0x9aaef50, 0x3e984d0)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:420 +0x48
created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:420 +0x114

goroutine 3154 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 2596 [runnable]:
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compact(0x40dc160, 0x6519070)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1967 +0x1a8
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions.func1(0x6519070, 0x40dc160)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:420 +0x48
created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:420 +0x114

goroutine 2921 [select]:
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactCache(0x319a210)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1920 +0xd8
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions.func1(0x9aaf340, 0x319a210)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:499 +0x40
created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:499 +0xfc

goroutine 2857 [select]:
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactCache(0x3e984d0)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1920 +0xd8
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions.func1(0x9aaef40, 0x3e984d0)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:499 +0x40
created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:499 +0xfc

goroutine 2595 [runnable]:
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactCache(0x40dc160)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1920 +0xd8
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions.func1(0x6519060, 0x40dc160)
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:499 +0x40
created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:499 +0xfc

goroutine 3192 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3189 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3177 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3183 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6f00, 0xffc120, 0xc5ed290, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3204 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3203 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3202 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3201 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3194 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3195 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3196 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3205 [chan receive]:
github.com/influxdata/influxdb/services/subscriber.chanWriter.Run(0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:372 +0x38
github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs.func1(0x3e5dca0, 0xdfe6fc0, 0xffc120, 0xc5ed2c0, 0x340ef08, 0x340ef10, 0x32cfe90)
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:314 +0x44
created by github.com/influxdata/influxdb/services/subscriber.(*Service).updateSubs
	/go/src/github.com/influxdata/influxdb/services/subscriber/service.go:312 +0x858

goroutine 3541 [IO wait]:
internal/poll.runtime_pollWait(0xa6c5be00, 0x72, 0xb9e98)
	/usr/local/go/src/runtime/netpoll.go:173 +0x44
internal/poll.(*pollDesc).wait(0xe7375a4, 0x72, 0xffffff00, 0xffea90, 0x18d0198)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x7c
internal/poll.(*pollDesc).waitRead(0xe7375a4, 0x3523000, 0x1000, 0x1000)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c
internal/poll.(*FD).Read(0xe737590, 0x3523000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:169 +0x14c
net.(*netFD).Read(0xe737590, 0x3523000, 0x1000, 0x1000, 0xffffffff, 0x0, 0x2c91d0)
	/usr/local/go/src/net/fd_unix.go:202 +0x38
net.(*conn).Read(0x32aaca0, 0x3523000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/net.go:177 +0x58
net/http.(*connReader).Read(0xdca6ba0, 0x3523000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/http/server.go:786 +0x14c
bufio.(*Reader).fill(0xe75a000)
	/usr/local/go/src/bufio/bufio.go:100 +0x10c
bufio.(*Reader).Peek(0xe75a000, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/bufio/bufio.go:132 +0x2c
net/http.(*conn).readRequest(0xa11d2c0, 0x1006f00, 0xdca6b80, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/http/server.go:963 +0xa84
net/http.(*conn).serve(0xa11d2c0, 0x1006f00, 0xdca6b80)
	/usr/local/go/src/net/http/server.go:1788 +0x3f0
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2851 +0x290

goroutine 3228 [select]:
net/http.(*persistConn).writeLoop(0xdcb61e0)
	/usr/local/go/src/net/http/transport.go:1885 +0xb8
created by net/http.(*Transport).dialConn
	/usr/local/go/src/net/http/transport.go:1339 +0x814

goroutine 3227 [IO wait]:
internal/poll.runtime_pollWait(0xa6c5bf00, 0x72, 0xb9e98)
	/usr/local/go/src/runtime/netpoll.go:173 +0x44
internal/poll.(*pollDesc).wait(0xeb09144, 0x72, 0xffffff00, 0xffea90, 0x18d0198)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x7c
internal/poll.(*pollDesc).waitRead(0xeb09144, 0xc5ef400, 0x400, 0x400)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c
internal/poll.(*FD).Read(0xeb09130, 0xc5ef400, 0x400, 0x400, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:169 +0x14c
net.(*netFD).Read(0xeb09130, 0xc5ef400, 0x400, 0x400, 0x18de4, 0x3022000, 0xb63160)
	/usr/local/go/src/net/fd_unix.go:202 +0x38
net.(*conn).Read(0xd9a0058, 0xc5ef400, 0x400, 0x400, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/net.go:177 +0x58
crypto/tls.(*block).readFromUntil(0x58d0d60, 0xffd3c8, 0xd9a0058, 0x5, 0xd9a0058, 0xb05b0)
	/usr/local/go/src/crypto/tls/conn.go:492 +0x70
crypto/tls.(*Conn).readRecord(0x30da480, 0xeb1217, 0x30da524, 0x0)
	/usr/local/go/src/crypto/tls/conn.go:593 +0x9c
crypto/tls.(*Conn).Read(0x30da480, 0xde3b000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/local/go/src/crypto/tls/conn.go:1145 +0xcc
net/http.(*persistConn).Read(0xdcb61e0, 0xde3b000, 0x1000, 0x1000, 0xdcb61e0, 0x0, 0x0)
	/usr/local/go/src/net/http/transport.go:1497 +0x170
bufio.(*Reader).fill(0xc9af7a0)
	/usr/local/go/src/bufio/bufio.go:100 +0x10c
bufio.(*Reader).Peek(0xc9af7a0, 0x1, 0x2, 0x0, 0x0, 0xdcfe540, 0x0)
	/usr/local/go/src/bufio/bufio.go:132 +0x2c
net/http.(*persistConn).readLoop(0xdcb61e0)
	/usr/local/go/src/net/http/transport.go:1645 +0x164
created by net/http.(*Transport).dialConn
	/usr/local/go/src/net/http/transport.go:1338 +0x7f8

goroutine 3527 [select]:
net/http.setRequestCancel.func3(0x0, 0xcbbe120, 0xb5c36e0, 0x73b09fc, 0xb17bc40)
	/usr/local/go/src/net/http/client.go:321 +0x78
created by net/http.setRequestCancel
	/usr/local/go/src/net/http/client.go:320 +0x210

goroutine 3537 [running]:
	goroutine running on other thread; stack unavailable
created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactFull
	/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2094 +0xd0

runtime stack:
runtime.throw(0xc8fe90, 0xd)
	/usr/local/go/src/runtime/panic.go:608 +0x5c
runtime.(*mcache).refill(0xb6efb000, 0x3040065)
	/usr/local/go/src/runtime/mcache.go:124 +0xe8
runtime.(*mcache).nextFree.func1()
	/usr/local/go/src/runtime/malloc.go:749 +0x24
runtime.systemstack(0x304e5a0)
	/usr/local/go/src/runtime/asm_arm.s:354 +0x84
runtime.mstart()
	/usr/local/go/src/runtime/proc.go:1229
[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.

Steps to reproduce

Not sure

Proposed changes

Not sure

Querying InfluxDB for disk_use_percent doesn't work if monitoring /

Problem/Motivation

Querying InfluxDB for disk_use_percent (HA systemmonitor platform) doesn't work if you're monitoring /, however it works if you're monitoring a folder like /config/. I believe this is because of the auto-naming of fields, as the first example tries to use the field disk_use_percent_ (doesn't work), whereas the second example tries to use the field disk_use_percentage_config (works). I believe the underscore at the end of the field is the issue.

Expected behavior

To be able to query the InfluxDB for disk_use_percent on /.

Actual behavior

When using the Chronograf explorer, querying on disk_use_percent_ returns the error, "Your query is syntactically correct but returned no results".

Alerts won't trigger in Grafana (even when setting the disk usage to 1% for testing), since there are no results. When trying to test the rule the following is returned:

firing:false
state:""
conditionEvals:"false = false"
timeMs:"4.469ms"
  logs:Array[2]
  0:Object
    message:"Condition[0]: Query Result"
    data:Array[0]
  1:Object
    message:"Condition: Eval: false, Query Returned No Series (reduced to null/no value)"
    data:null

Steps to reproduce

Setup the systemmonitor platform and try to monitor disk_use_percent on /, like so:

- platform: systemmonitor
  resources:
    - type: disk_use_percent
      arg: /

Then try to write a query based on this data in InfluxDB or Grafana.

Proposed changes

I'm not sure what the exact change would need to be, but if the underscore at the end of the database field is indeed the issue, I think using "root" (or something similar) on the end of the DB field would fix the problem. Then instead of showing up as disk_use_percent_ it would show up as disk_use_percent_root.

Data not pushed to DB

Problem/Motivation

After updating to V 0.81.0 of home assistant i get the folowing notification on my dashboard (lovelace) and in log :

`2018-10-27 10:47:30 INFO (MainThread) [homeassistant.setup] Setup of domain influxdb took 15.3 seconds.
2018-10-27 10:47:30 ERROR (MainThread) [homeassistant.setup] Setup failed for influxdb: Component failed to initialize.
2018-10-27 10:47:30 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service=create, service_data=title=Invalid config, message=The following components and platforms could not be set up:

Please check your config., notification_id=invalid_config, service_call_id=6298aada16604a61a64e72e40b7ca9a1>`

Expected behavior

Working prior to update.

Actual behavior

I can still access chronograf and see all data prior to update, none after.
In HA logs i no longer see "pushed to influxDB"

Log from influxdb

`Log
[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 v1.1.1

Scalable datastore for metrics, events, and real-time analytics

From: Community Hass.io Add-ons
By: Franck Nijhof [email protected]

amd64 / Debian GNU/Linux 9 (stretch) / HA 0.81.0 / SU 138 / stable

[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing...

INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing...
INFO: Password is NOT in the Have I Been Pwned database! Nice!
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 11-nginx.sh: executing...
Adding password for user matt73210
[cont-init.d] 11-nginx.sh: exited 0.
[cont-init.d] 20-system-users.sh: executing...
INFO: InfluxDB init process in progress...
INFO: InfluxDB init process in progress...
[cont-init.d] 20-system-users.sh: exited 0.
[cont-init.d] 21-auth.sh: executing...
[cont-init.d] 21-auth.sh: exited 0.
[cont-init.d] 30-kapacitor.sh: executing...
[cont-init.d] 30-kapacitor.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
INFO: Starting the InfluxDB
[services.d] done.
INFO: Starting Chronograf
time="2018-10-27T11:03:26Z" level=info msg="Serving chronograf at http://127.0.0.1:8889" component=server
time="2018-10-27T11:03:26Z" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime"
INFO: Starting the Kapacitor

'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::
##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
#####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::

2018/10/27 11:03:29 Using configuration at: /etc/kapacitor/kapacitor.conf
ts=2018-10-27T11:03:29.215Z lvl=error msg="failed to connect to InfluxDB, retrying..." service=influxdb cluster=default err="Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: connect: connection refused"
ts=2018-10-27T11:03:29.882Z lvl=error msg="failed to connect to InfluxDB, retrying..." service=influxdb cluster=default err="Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: connect: connection refused"
ts=2018-10-27T11:03:30.543Z lvl=error msg="failed to connect to InfluxDB, retrying..." service=influxdb cluster=default err="Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: connect: connection refused"`

FYI : VM on debian running hassio. Acces is through https.

Steps to reproduce

Update to version V 0.81.0 of HA ?

after updating to 1.3.0 - all user config was lost.

Problem/Motivation

lost all users configuration , so influx DB no longer works with Grafana

Expected behavior

as allways keep the latest config

Actual behavior

empty users list .

Steps to reproduce

just update

NOTE: i have two hassio instances on 2 vms, this happens in one of them and i had to reload the Idb snapshot to make it work again, but on the other vm, the users were preserved after the update, so not really sure , what is making one to work and the other not .

Can't login

Problem

Hi, I'm not able to pass the authentication on the browser, it keeps asking for an username and a password (I've tried with the credentials I use to login to HA).
I've also tried adding "leave_front_door_open": true to the config but it keeps asking for an username and a password.

Expected behavior

Being able to login using HA username and password

Actual behavior

Keeps asking for username and password

Steps to reproduce

Start the add-on, open hassio_IP:8888, log in.

bug report

hello,

first install i have a error on "Explore tabs"

A Chronograf error has occurred. Please report the issue here.

help me please

CPU spikes

Ever since I installed influxDB on hass.io a month ago my cpu usage spikes every few hours. A couple of times my raspberry pi 3 has crashed, and I suspect that this might be the reason. I searched the home assistant forums, and a few other people seems to be having this same issue.

Some people point to influxdbs self monitoring as a possible reason, and suggest that editing
influxdb's config might help. Is this configuration available to edit somewhere? And if not, is it possible to stop influxdb's self monitoring in another way?

The issue has been posted here:
https://community.home-assistant.io/t/influxdb-keeps-spiking-up-cpu/125630/6
and here: https://discourse.nodered.org/t/influxdb-on-a-raspberry-pi/742

Issue #49 is also related.

Home Assistant Community
anyone else have an idea?
Node-RED Forum
This is not strictly Node-Red related but I know that several people here are using InfluxDB on a Raspberry Pi in conjunction with Grafana to store data created/extracted by Node-Red. I discovered accidentally that InfuxDB was using a very high amount of CPU time and after a bit of searching I found that this is due to InfluxDB’s internal monitoring function. This is used for diagnosis of internal errors and can safely be turned off by changing an entry in: /etc/influxdb/influxdb.conf Simply...

Database host is not accessible due to '401: {"error":"authorization failed"} '

Hi to all,
I have updated my hassio server from 0.91.4 to the last version 0.92.2, but now i receive this error from influxdb:

Database host is not accessible due to '401: {"error":"authorization failed"} ', please check your entries in the configuration file and that the database exists and is READ/WRITE

my partial configuration.yaml is:

influxdb:
  host: 192.168.100.53
  database: Arduino
  username: xxxxxxx
  password: xxxxxxx
  port: 8086
  max_retries: 3
  ssl: false
  verify_ssl: false
  exclude:
    domains:
      - binary_sensor
      - light
      - automation
      - switch
sensor:
  - platform: influxdb
    queries:
    - name: Temperatura-INT
      unit_of_measurement: Β°C
      value_template: '{{ value | round(1) }}'
      group_function: last
      where: '"tipo" = ''temperature'' and "device" = ''CC:50:E3:C6:C0:a3'''
      measurement: '"sensori"'
      field: value
      database: Arduino

how can I do? If I rollback to the 0.91.4 all works fine

Disable reporting of usage metrics

I noticed the following on startup. It would be great to opt out of usage reporting as I don't want this data leaving my network (yes I know I can add a firewall rule).

time="2019-01-30T08:30:39-06:00" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime" 

SIGILL on 2.0 startup

After upgrading to 2.0, InfluxDB refuses to start in Hassio, with this error in the logs over and over until the add-on is stopped:

[17:04:12] INFO: Starting the InfluxDB... SIGILL: illegal instruction PC=0x963ef0 m=0 sigcode=1 goroutine 1 [running, locked to thread]: main.init() <autogenerated>:1 fp=0x4000058790 sp=0x4000058790 pc=0x963ef0 runtime.main() /usr/local/go/src/runtime/proc.go:189 +0x1b0 fp=0x40000587d0 sp=0x4000058790 pc=0x3ab80 runtime.goexit() /usr/local/go/src/runtime/asm_arm64.s:1114 +0x4 fp=0x40000587d0 sp=0x40000587d0 pc=0x65a34 r0 0x963ef0 r1 0x0 r2 0x400000 r3 0x4000098000 r4 0x0 r5 0x0 r6 0x1 r7 0x1 r8 0x4000098000 r9 0x1 r10 0x1000 r11 0x1 r12 0xd9848c r13 0x0 r14 0xff r15 0x0 r16 0x0 r17 0x7f9fbafb02 r18 0x0 r19 0x8 r20 0x7ff1a66f20 r21 0x1798ea0 r22 0x0 r23 0x0 r24 0x0 r25 0x0 r26 0xc877c0 r27 0xc877c0 r28 0x4000000180 r29 0x0 lr 0x3ab80 sp 0x4000058790 pc 0x963ef0 fault 0x0

Move the DB to a USB Key

Problem/Motivation

Not really an issue. More a feature request.

The DB will grow over time and storage on the SD card of a raspberry pi might not be enough. Plus SD cards tends to be corrupted over time with too much read/write operations. If the card gets corrupted and a re-install is done using a backup all data are gone.

Expected behavior

All data are stored on a USB disk.

Actual behavior

Data are stored on the SD card of the Raspberry Pi

Proposed changes

Introduce a config option for storage path. Such as
storage_path: /dev/ttyUSB0

OR

storage_path: /dev/sda1

First start problem

Problem/Motivation

Add-on do not start on first start.

my per cinfiguration:
On configurazion.yaml I added:
Influxdb:

Config
{
"auth": true,
"reporting": true,
"ssl": false,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
}

Network:

Container Host Description
80/tcp Β  Web interface (Not required for Hass.io Ingress)
8086/tcp Β  InfluxDB server

MySystem:

Hassio supervisor 185

Hostname raspberrypi
System Raspbian GNU/Linux 10 (buster)

My log:

19-09-10 16:02:42 INFO (SyncWorker_2) [hassio.docker.interface] Clean addon_a0d7b954_influxdb application
19-09-10 16:02:43 ERROR (SyncWorker_2) [hassio.docker] Can't start addon_a0d7b954_influxdb: 500 Server Error: Internal Server Error ("driver failed programming external connectivity on endpoint addon_a0d7b954_influxdb (e2369be2d64c86c57536a03ddb0f45aec369f2b66caa8bd6db538c0e3b82d8a1): Error starting userland proxy: listen tcp 0.0.0.0:8088: bind: address already in use")
19-09-10 16:03:34 INFO (SyncWorker_14) [hassio.docker.interface] Clean addon_a0d7b954_influxdb application
19-09-10 16:03:35 ERROR (SyncWorker_14) [hassio.docker] Can't start addon_a0d7b954_influxdb: 500 Server Error: Internal Server Error ("driver failed programming external connectivity on endpoint addon_a0d7b954_influxdb (de70a36b6976ec5e84579cfdd3833099c01be7e0dbf008e0e1d76c31fe2638e7): Error

Can someone help me?

Cannot update to 3.0.5

When trying to update from 3.0.4 to 3.0.5 I get the following error in the hassio logs:

19-05-08 23:40:11 INFO (SyncWorker_2) [hassio.docker.interface] Update image hassioaddons/influxdb-amd64:v3.0.4 to hassioaddons/influxdb-amd64:3.0.5
19-05-08 23:40:11 INFO (SyncWorker_2) [hassio.docker.interface] Pull image hassioaddons/influxdb-amd64 tag 3.0.5.
19-05-08 23:40:30 ERROR (SyncWorker_2) [hassio.docker.interface] Can't install hassioaddons/influxdb-amd64:3.0.5 -> 404 Client Error: Not Found ("no such image: hassioaddons/influxdb-amd64:3.0.5: No such image: hassioaddons/influxdb-amd64:3.0.5").

The version tags look like they're formatted a bit differently...is the name of the to-be-installed image correct?

Way to add lines to influxdb.conf

Problem/Motivation

Influx can take more services input directly than is configured by the current plugin.

Expected behavior

Add a way to add text blocks to influxdb.conf

Actual behavior

No persistent way to add additional config lines to influxdb.conf

Proposed changes

If there was a way to put a list style object or append a file to the config it would be ideal.

example of the lines needed:
[[graphite]]
enabled = true
bind-address = ":2003"
protocol = "tcp"

consistency-level = "one"

[[graphite]]
enabled = true
bind-address = ":2004" # the bind address
protocol = "udp" # protocol to read via
udp-read-buffer = 8388608 # (810241024) UDP read buffer size

InfluxDB Losing Database and Users After Service Restart

Problem/Motivation

When I restart my InfluxDB addon service, it would remove the users and databases it created.

Expected behavior

I expect my database and users to remain.

Actual behavior

The databses and users are removed

Steps to reproduce

When I log into Hass.IO and go to the addons, I launch the InfluxDB addon and click the restart service.

I did hear back from a reddit thread that another user was having this issue. It was due to the config section having "auth": true

Here is the link to the reddit thread/comment

Here is my configuration and it now works by changing auth to false:

{
"log_level": "info",
"username": "##remark##",
"password": "##remark##",
"auth": false,
"ssl": false,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"ipv6": true
}

Proposed changes

Update InfluxDB to allow for authentication.

Start error after install - Error starting userland proxy

Problem/Motivation

InfluxDB does not start after install

(Why the issue was filed)
Log entry:
19-06-08 15:29:38 ERROR (SyncWorker_1) [hassio.docker] Can't start addon_a0d7b954_influxdb: 500 Server Error: Internal Server Error ("driver failed programming external connectivity on endpoint addon_a0d7b954_influxdb (90560057f729e722572c9cdff7f9c385c4ade6d8e72d589975dda7a7137cabdd): Error starting userland proxy: ")

Expected behavior

Start of influxdb

(What you expected to happen)

Actual behavior

Does not start

(What actually happened)

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

Quickly upgrade InfluxDB to 1.7.6 due to critical issue

Problem/Motivation

InfluxDB 1.7.5 includes a critical issue which can bring all queries & writes to the homassistant DB to a stop, this is hitting my system since yesterday and should be fixed with InfluxDB 1.7.6

https://www.influxdata.com/blog/release-announcement-influxdb-1-7-6-and-chronograf-1-7-10/

Addressed a critical defect with 1.7.5 which for those using the inmem index where InfluxDB would become unresponsive and no longer accept writes or query requests.

502 Bad Gateway, after start Influxdb

InfluxDb does not start

msg 502 Bad gateway in link from Hassio root

Kapacitor waiting for Influxdb

After clean instalation in HasIO, and after install Influxdb, this doest not finish to start, and stop waitning for influxDB as you can see.

Config inside app, for IP conexion
{
"auth": true,
"reporting": true,
"ssl": false,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
}

LOG
`[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.3.0
 You are running the latest version of this add-on.
 System: HassOS 2.12  (armv7 / raspberrypi3)
 Home Assistant version: 0.99.3
 Supervisor version: 189
-----------------------------------------------------------
 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... 
[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.
[17:45:23] INFO: Kapacitor is waiting until InfluxDB is available...
[17:45:23] INFO: Starting the InfluxDB...
[17:45:23] INFO: Chronograf is waiting until InfluxDB is available...`

Process is stoped there,

Password using !secret cannot be saved

Problem/Motivation

I try to use !secret in the configuration, but the configuration cannot be saved

Expected behavior

i can add the following line for passwords
"password": !secret influx_password,

Actual behavior

The editor doesn't allow me to save the configuration (Config marked red, save disabled)

Steps to reproduce

{ "log_level": "info", "username": "someuser", "password": !secret influx_password, "auth": true, "ssl": true, "certfile": "fullchain.pem", "keyfile": "privkey.pem", "ipv6": false }

Chronograf should wait for InfluxDB before starting

[cont-init.d] 20-system-users.sh: exited 0.
[cont-init.d] 21-auth.sh: executing... 
[cont-init.d] 21-auth.sh: exited 0.
[cont-init.d] 30-kapacitor.sh: executing... 
[cont-init.d] 30-kapacitor.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
INFO: Starting the InfluxDB
INFO: Starting Chronograf
INFO: Starting the Kapacitor
time="2018-09-26T09:23:59+12:00" level=info msg="Moving from version 1.6.1" 
time="2018-09-26T09:23:59+12:00" level=info msg="Moving to version 1.6.2" 
time="2018-09-26T09:23:59+12:00" level=info msg="Successfully created /data/backup/chronograf.db.1.6.1" 
time="2018-09-26T09:24:00+12:00" level=info msg="Serving chronograf at http://127.0.0.1:8889" component=server 
time="2018-09-26T09:24:00+12:00" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime" 
'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::
 ##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
 ##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
 #####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
 ##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
 ##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
 ##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::
2018/09/26 09:24:01 Using configuration at: /etc/kapacitor/kapacitor.conf
ts=2018-09-26T09:24:01.869+12:00 lvl=error msg="failed to connect to InfluxDB, retrying..." service=influxdb cluster=default err="Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: connect: connection refused"
ts=2018-09-26T09:24:02.577+12:00 lvl=error msg="failed to connect to InfluxDB, retrying..." service=influxdb cluster=default err="Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: connect: connection refused"
ts=2018-09-26T09:24:03.564+12:00 lvl=error msg="failed to connect to InfluxDB, retrying..." service=influxdb cluster=default err="Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: connect: connection refused"
ts=2018-09-26T09:24:04.936+12:00 lvl=error msg="failed to connect to InfluxDB, retrying..." service=influxdb cluster=default err="Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: connect: connection refused"
ts=2018-09-26T09:24:06.215+12:00 lvl=error msg="failed to connect to InfluxDB, retrying..." service=influxdb cluster=default err="Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: connect: connection refused"
ts=2018-09-26T09:24:09.909+12:00 lvl=error msg="failed to connect to InfluxDB, retrying..." service=influxdb cluster=default err="Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: connect: connection refused"
ts=2018-09-26T09:24:12.830+12:00 lvl=error msg="failed to connect to InfluxDB, retrying..." service=influxdb cluster=default err="Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: connect: connection refused"
ts=2018-09-26T09:24:16.044+12:00 lvl=error msg="failed to connect to InfluxDB, retrying..." service=influxdb cluster=default err="Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: connect: connection refused"```

_Originally posted by @smbunn in https://github.com/_render_node/MDU6SXNzdWUzNjIzMzY4NDI=/issues/unread_timeline#issuecomment-424506831_

"This update is no longer compatible with your system." with 3.0.2

Problem/Motivation

Currently running 3.0.0, when I checked the new version that's avilable, it simply says:
This update is no longer compatible with your system.

My system is Ubuntu linux, running on a NUC-

arch x86_64
dev false
docker true
hassio true
os_name Linux
python_version 3.7.2
timezone America/New_York
version 0.91.3
virtualenv false

I suspect this is an error somewhere?

Config error, expected dictionary value

Problem/Motivation

Keep getting config errors, while my config comparable to examples

Expected behavior

Including only the set entities to my database

Actual behavior

Keeps getting errors

I've configured the addon following the steps given in the readme. When trying to configure the component in Hass I keep getting the following errors:

Invalid config for [influxdb]: expected a dictionary for dictionary value @ data['influxdb']['include']. Got [OrderedDict([('entities', [OrderedDict([('entity', 'binary_sensor.koelsignaal')]), OrderedDict([('entity', 'binary_sensor.compressor')]), OrderedDict([('entity', 'binary_sensor.verdamperventilator')]), OrderedDict([('entity', 'sensor.ontdooiing')]), OrderedDict([('entity', 'binary_sensor.celdeur')]), OrderedDict([('entity', 'binary_sensor.algemene_koelstoring')])])])]. (See /config/configuration.yaml, line 54). Please check the docs at https://home-assistant.io/integrations/influxdb/

I don't see anything wrong in my config, this is my config:


 influxdb:
   host: a0d7b954-influxdb
   port: 8086
   database: pfio_mon
   username: xxx
   password: xxx
   max_retries: 3
   include:
       entities:
         - binary_sensor.koelsignaal
         - binary_sensor.compressor
         - binary_sensor.verdamperventilator
         - sensor.ontdooiing
         - binary_sensor.celdeur
         - binary_sensor.algemene_koelstoring
   default_measurement: state
   tags: 
     source: hass

Grafana cannot read property

Problem/Motivation

After updating Influx to 3.1.0, Grafana is reporting "Cannot read property 'data' of undefined" and is not plotting any graphs nor able to read any data. Influx/Kapacitor is able to show the data.

(Why the issue was filed)

Expected behavior

Grafana being able to read Influx entries

(What you expected to happen)

Actual behavior

Grafana is reporting "Cannot read property 'data' of undefined" and is not plotting any graphs nor able to read any data. Influx/Kapacitor is able to show the data.

(What actually happened)

Steps to reproduce

Update Influx to 3.1.0 in Hassio. Grafana install is at its latest available version, 2.2.1

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

flooding the network with uneeded packets

Problem/Motivation

today i was chasing an unusual network behaviour , by looking at pihole dahsboar i saw that influxdb addon generated 1.200.000 hits in the last 24 hours .

(Why the issue was filed)

Expected behavior

(What you expected to happen)

Actual behavior

(What actually happened)

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

i think that the config parameter "reporting" should be set to false by default .

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

hassio addon influxdb can`t start

After instal I can`t start influxdb

19-07-02 22:07:25 ERROR (SyncWorker_8) [hassio.docker] Can't create container from addon_a0d7b954_influxdb: 404 Client Error: Not Found ("No such image: hassioaddons/influxdb-armv7:latest")

and by opening via link on left panel, show: "502: Bad Gateway"

Killed influxd s6-nuke: datal: unable to kill: No such process

My influxdb also won't start but I'm always only getting INFO: InfluxDB init process in progress... 5 times before [cont-init.d] 20-system-users.sh: exited 1.

I tried changing to debug and trace levels and this added a line above [cont-init.d] 20-system-users.sh: exited 1.:
/var/run/s6/etc/cont-init.d/20-system-users.sh: line 9: 979 Killed influxd
s6-nuke: fatal: unable to kill: No such process

Full log:

[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 v1.1.1
 Scalable datastore for metrics, events, and real-time analytics
 From: Community Hass.io Add-ons
 By: Franck Nijhof <[email protected]>
-----------------------------------------------------------
 armhf / HassOS 1.11 / HA 0.79.0 / SU 131 / stable
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing... 
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing... 
INFO: Password is NOT in the Have I Been Pwned database! Nice!
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 11-nginx.sh: executing... 
Adding password for user ha_admin
[cont-init.d] 11-nginx.sh: exited 0.
[cont-init.d] 20-system-users.sh: executing... 
INFO: InfluxDB init process in progress...
INFO: InfluxDB init process in progress...
INFO: InfluxDB init process in progress...
INFO: InfluxDB init process in progress...
INFO: InfluxDB init process in progress...
[cont-init.d] 20-system-users.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
-----------------------------------------------------------
                Oops! Something went wrong.
 
 We are so sorry, but something went terribly wrong when
 starting or running this add-on.
 
 Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
/var/run/s6/etc/cont-init.d/20-system-users.sh: line 9:   625 Killed                  influxd

Originally posted by @Pteranodon in #6 (comment)

Cannot add new Influx Users to 3.0.0

Problem/Motivation

After a clean install of InfluxDB-addon 3.0.0 on RPi 3B+/32bit, with the default add-on settings, I cannot add a user with permissions.

Expected behavior

A new user should be created and I should be able to assign permissions to that user.

Actual behavior

Permissions cannot be granted to the new user (listing permissions as "None") and attempts to add permissions to user results in error: "Failed to update User Permissions: undefined".

Steps to reproduce

Install 3.0.0, follow instructions from here: https://github.com/hassio-addons/addon-influxdb#integrating-into-home-assistant

Proposed changes

Users should be able to be created (or mirrored from Home Assistant?) and db permissions should be able to be assigned.

GitHub
InfluxDB - Community Hass.io Add-on for Home Assistant - hassio-addons/addon-influxdb

SSL for InfluxDB

Problem/Motivation

I have external pages that are SSL querying a non-SSL InfluxDB and it is causing a mixed content error in the browser. This is mentioned in the read me that the SSL config parameter does NOT activate SSL for InfluxDB, just the web interface. I need SSL for InfluxDB.

Expected behavior

HTTPS request directly to the InfluxDB

Actual behavior

Only supports HTTP

Steps to reproduce

Queries over HTTPS are not processed.

Proposed changes

Tried to add the mentioned config into the config file but it keep removing it as the add-on doesn't properly read the new parameters. if this is exposed to the config then maybe it will allow the SSL on the DB side to work.
https://docs.influxdata.com/influxdb/v1.7/administration/https_setup/

Cannot access influx from Home Assistant 092.1

Problem/Motivation

Home Assistant can no longer access influxdb

Expected behavior

I expect Home Assistant to connect to influxdb and start writing data to influx.

Actual behavior

This use to work, but it stopped. Home Assistant fails to connect. Log file shows
2019-04-25 17:28:28 WARNING (SyncWorker_14) [homeassistant.components.influxdb] Database host is not accessible due to 'HTTPConnectionPool(host='a0d7b954-influxdb', port=8086): Max retries exceeded with url: /write?db=homeassistant (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc99de3f780>: 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.

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

Fix name resolution issue for Home Assistant using influx

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

service=run err="open server: open service *storage.Service: open boltdb @ \"/data/kapacitor/kapacitor.db\": no such device"

Problem/Motivation

Default install of addon without ssl and authentication. It can't start. Kapacitor says that it can't open boltdb with error: no such device.

Expected behavior

It's all default configuration of /etc/kapacitor/kapacitor.conf and should work without problems.

Actual behavior

It can't start

Steps to reproduce

Install addon.
Disable auth / ssl (disabling auth is not needed to reproduce)

Proposed changes

Full log:

[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.2.0
 You are running the latest version of this add-on.
 System: Debian GNU/Linux 9 (stretch)  (amd64 / qemux86-64)
 Home Assistant version: 0.98.0
 Supervisor version: 184
-----------------------------------------------------------
 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... 
[14:45:28] WARNING: InfluxDB authentication protection is disabled!
[14:45:29] WARNING: This is NOT recommended!!!
[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
[14:45:29] INFO: Starting the InfluxDB...
[services.d] done.
[14:45:29] INFO: Kapacitor is waiting until InfluxDB is available...
[14:45:29] INFO: Chronograf is waiting until InfluxDB is available...
[14:45:37] INFO: Starting Chronograf...
[14:45:37] INFO: Starting the Kapacitor

'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::
 ##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
 ##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
 #####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
 ##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
 ##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
 ##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::

2019/08/30 14:45:38 Using configuration at: /etc/kapacitor/kapacitor.conf
ts=2019-08-30T14:45:38.292+02:00 lvl=error msg="encountered error" service=run err="open server: open service *storage.Service: open boltdb @ \"/data/kapacitor/kapacitor.db\": no such device"
run: open server: open service *storage.Service: open boltdb @ "/data/kapacitor/kapacitor.db": no such device
[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.

Revise/improve all log messages

Problem/Motivation

There are several reasons for this:

  • Not all log messages are consistent across all add-ons.
  • Some messages are unclear to the novice user.

Collectd in influxdb

Problem/Motivation

Influxdb needs a simple change to the configuration to be able to collect data from collectd as far as I can tell atleast, but since I'm new to both influxdb and grafana, I'm open to the possibility that I'm wrong.

Proposed changes

While reading this guide https://anomaly.io/collectd-metrics-to-influxdb/
it seems that the only change needed is;

[collectd]
enabled = true
port = 25826
database = "collectd_db"
typesdb = "/opt/collectd/share/collectd/types.db"

Great work with the addon I'm really enjoying it.

Anomaly
Configuration example to send metrics from Collectd to InfluxDB. Then, configure InfluxDB to receive Collectd metrics. Enjoy your new monitoring dashboard

Enable InfluxDB's new query language 'Flux'

Problem/Motivation

Flux is InfluxData’s new functional data scripting language which is available as of InfluxDB v1.7+ Flux is still in technical preview but nevertheless it would great to have this feature available in addition to standard InfluxQL.

Actual behavior

Flux scripts/ queries are not supported

Expected behavior

After activation the option to express Flux queries for example in Chronograf or Grafana become available

Proposed changes

Enable Flux feature in influxdb.conf as descibed in InfluxDB's documentation (see)

Add Telegraf to Influxdb

Problem/Motivation

Time to get Telegraf added to influxdb. I tried to manually install it in its own container just to do some testing however it appears that I am not quite sure how to make that work. I am going to attempt to add the necessary changes and create a PR I think. I am going to need some help though. πŸ’―

Expected behavior

I expect myself to learn how to help contribute to the community. Again I will need some help and guidance. I know your plate is beyond full. I expect that at some point Telegraf is installed and working to collect stats from localhost but also allow additional plugins. SNMP support would be good for collecting additional stats from routers/network switches etc.

Actual behavior

I am creating an issue to inform the project owner of my intent.

Steps to reproduce

Forget everything you ever knew about developing and then you will be in my shoes and capable of helping me. 🀣

Proposed changes

Add Telegraf to this addon. There is already a container but my guess is that @frenck would prefer to follow the same build method that is already being used for influxdb. Maybe it is better to have a separate addon for Telegraf probably debatable but it is technically part of the TICK stack ❓

I know you are up for it as well @frenck -> [(https://github.com//issues/1#issuecomment-400818998)]

Take it easy on me...it's my first time! πŸ˜†

unable to change user permissions

Problem/Motivation

After installing the addon following the instruction, I can create a user but the default permission is set to NONE and it's not possible to change it

Expected behavior

It should be possible to set it to ALL

Actual behavior

When selecting ALL it doesn't save it

Steps to reproduce

Install the latest addons and follow the instructions

image

After moving to 3.0.4 I can no longer launch the Web UI

Problem/Motivation

I can not access the Web UI

Expected behavior

the web ui would open and I could configure data sources

Actual behavior

When I click on the web ui link in the addon screen or the side panel link in Home assistant and the frame goes dark but the interface never renders

Steps to reproduce

click on the web ui link in the addon screen or the side panel link in Home assistant

from Hassio logs:

19-04-29 12:49:53 INFO (SyncWorker_6) [hassio.docker.addon] Start Docker add-on hassioaddons/influxdb-amd64 with version v3.0.4
19-04-29 12:49:53 INFO (MainThread) [hassio.api.security] /host/info access from a0d7b954_influxdb
19-04-29 12:49:54 ERROR (MainThread) [hassio.api.ingress] Ingress error: Cannot connect to host 172.30.33.4:1337 ssl:None [Connection refused]

Proposed changes

I just want to access the database Ui

Add storage path as a config option

Problem/Motivation

Currently I can't find a way to store influxdb data on an external drive, except forking the addon.

Proposed changes

It would be great if I could specify a directory for the data. Then I could mount an external drive somewhere in share and use that for InfluxDB. This method is proposed here https://www.home-assistant.io/hassio/external_storage/
Something like this:

    "log_level": "info",
    ...
    data_path: "/share/influxdb"

Another option is to just use share instead of /data with a fixed directory name, but I think a config option is more flexible.

Home Assistant
How to map external device on Hass.io.

Enabling UDP

Problem/Motivation

I would like to push my proxmox metrics to influxdb

Expected behavior

UDP enabled and configurable

Actual behavior

No UDP possible

Steps to reproduce

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

More infos/links

https://pve.proxmox.com/wiki/External_Metric_Server

We have to configure influxdb udp like :

[[udp]]
  enabled = true
  bind-address = "0.0.0.0:8089"
  database = "proxmox"
  batch-size = 1000
  batch-timeout = "1s"

Can't set new envvars

Problem/Motivation

Any attempt to set an envvar in the addon config fails silently (while other config entries can be modified successfully). E.g.:

{ "auth": true, "reporting": true, "ssl": true, "certfile": "fullchain.pem", "keyfile": "privkey.pem", "envvars": [ { "name": "INFLUXDB_DATA_CACHE_MAX_MEMORY_SIZE", "value": "512m" } ], "log_level": "debug" }

Expected behavior

New envvars section accepted as valid config.

Actual behavior

Config panel is not refreshed but, leaving and re-entering addon management page shows that config remains unmodified.

Steps to reproduce

Cut and paste above example of envvars, hit

Proposed changes

Home Assistent "create server: invalid UUID length: 0"

Problem/Motivation

I couldn't start Influxdb on Home Assistant.

Steps to reproduce

I was following the steps of this video (https://www.youtube.com/watch?v=m9qIqq104as&t=302s)

Log

[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.1.1
 You are running the latest version of this add-on.
 System: HassOS 2.12  (armv7 / raspberrypi3)
 Home Assistant version: 0.96.5
 Supervisor version: 170
-----------------------------------------------------------
 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... 
[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.
[12:40:39] INFO: Starting the InfluxDB...
[12:40:39] INFO: Kapacitor is waiting until InfluxDB is available...
[12:40:39] INFO: Chronograf is waiting until InfluxDB is available...
[12:40:55] INFO: Starting the Kapacitor
[12:40:55] INFO: Starting Chronograf...
2019/08/02 12:40:55 Using configuration at: /etc/kapacitor/kapacitor.conf
'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::
 ##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
 ##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
 #####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
 ##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
 ##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
 ##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::
ts=2019-08-02T12:40:55.773-05:00 lvl=error msg="encountered error" service=run err="create server: invalid UUID length: 0"
run: create server: invalid UUID length: 0
[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.

Config

{
  "auth": true,
  "reporting": true,
  "ssl": false,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem"
}

Accessesing actual influx config

Problem/Motivation

I am trying to access the actual config in order to get netdata working with influx db and in order to do that i need to alter some lines in the config. I know in grafana you can pass enviroment variables to do this but i don't think the same is possible in influx db. Is there any was round this or will i need to use a seperate docker file?

Expected behavior

Have access to the actual config

Actual behavior

Not accessable as far as i can see

Steps to reproduce

standard hassio influxdb addon instalation

Proposed changes

I'm not sure how this would be accomplished but thought it may be a good idea to be able to do this.

Kapacitor giving error at startup

After upgrading to the latest v.1.1.1 I get errors in the log when Kapacitor is being started.

Any thoughts on what's going on?

[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 v1.1.1

 Scalable datastore for metrics, events, and real-time analytics

parse error: Invalid numeric literal at line 1, column 23
ERROR: Unknown HTTP error occured
 From: 
parse error: Invalid numeric literal at line 1, column 23
ERROR: Unknown HTTP error occured
 By: 
-----------------------------------------------------------
 amd64 / Ubuntu 18.04.1 LTS / HA 0.78.0 / SU 131 / stable
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
Log level is set to DEBUG
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing... 
DEBUG: Requested API resource: http://hassio/supervisor/ping
DEBUG: API HTTP Response code: 200
DEBUG: API Response: {"result": "ok", "data": {}}


DEBUG: Requested API resource: http://hassio/addons/self/info
DEBUG: API HTTP Response code: 200
DEBUG: API Response: {"result": "ok", "data": {"name": "InfluxDB", "slug": "a0d7b954_influxdb", "description": "Scalable datastore for metrics, events, and real-time analytics", "long_description": "# Community Hass.io Add-ons: InfluxDB\n\n[![Release][release-shield]][release] ![Project Stage][project-stage-shield] ![Project Maintenance][maintenance-shield]\n\n[![Discord][discord-shield]][discord] [![Community Forum][forum-shield]][forum]\n\n[![Buy me a coffee][buymeacoffee-shield]][buymeacoffee]\n\n[![Support my work on Patreon][patreon-shield]][patreon]\n\nScalable datastore for metrics, events, and real-time analytics.\n\n## About\n\nInfluxDB is an open source time series database optimized for high-write-volume.\nIt's useful for recording metrics, sensor data, events,\nand performing analytics. It exposes an HTTP API for client interaction and if\noften used in combination with Grafana to visualize the data.\n\nThis add-on comes with Chronograf & Kapacitor pre-installed as well. Which\ngives you a nice InfluxDB admin interface for managing your users, databases,\ndata retention settings, and lets you peek inside the database using the\nData Explorer.\n\n[Click here for the full documentation][docs]\n\n![Chronograf in the Home Assistant Frontend][screenshot]\n\n[buymeacoffee-shield]: https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg\n[buymeacoffee]: https://www.buymeacoffee.com/frenck\n[discord-shield]: https://img.shields.io/discord/478094546522079232.svg\n[discord]: https://discord.me/hassioaddons\n[docs]: https://github.com/hassio-addons/addon-influxdb/blob/v1.1.1/README.md\n[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg\n[forum]: https://community.home-assistant.io/t/community-hass-io-add-on-influxdb/54491?u=frenck\n[maintenance-shield]: https://img.shields.io/maintenance/yes/2018.svg\n[patreon-shield]: https://www.frenck.nl/images/patreon.png\n[patreon]: https://www.patreon.com/frenck\n[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg\n[release-shield]: https://img.shields.io/badge/version-v1.1.1-blue.svg\n[release]: https://github.com/hassio-addons/addon-influxdb/tree/v1.1.1\n[screenshot]: https://github.com/hassio-addons/addon-influxdb/raw/master/images/screenshot.png", "version": "1.1.1", "auto_update": false, "repository": "a0d7b954", "last_version": "1.1.1", "state": "started", "protected": true, "rating": 4, "boot": "auto", "options": {"log_level": "debug", "username": "!secret addon_user", "password": "!secret addon_password", "auth": true, "ssl": false, "certfile": "fullchain.pem", "keyfile": "privkey.pem", "ipv6": true}, "url": "https://community.home-assistant.io/t/community-hass-io-add-on-influxdb/54491?u=frenck", "detached": false, "build": false, "network": {"8086/tcp": 8086, "8888/tcp": 8888}, "host_network": false, "host_pid": false, "host_ipc": false, "host_dbus": false, "privileged": null, "full_access": false, "apparmor": "default", "devices": null, "icon": true, "logo": true, "changelog": true, "webui": "http://[HOST]:8888", "stdin": false, "hassio_api": true, "hassio_role": "default", "homeassistant_api": false, "gpio": false, "devicetree": false, "docker_api": false, "audio": false, "audio_input": null, "audio_output": null, "services": null, "discovery": null}}

DEBUG: Filtering response using: .version
DEBUG: Requested API resource: http://hassio/addons/self/info
DEBUG: API HTTP Response code: 200
DEBUG: API Response: {"result": "ok", "data": {"name": "InfluxDB", "slug": "a0d7b954_influxdb", "description": "Scalable datastore for metrics, events, and real-time analytics", "long_description": "# Community Hass.io Add-ons: InfluxDB\n\n[![Release][release-shield]][release] ![Project Stage][project-stage-shield] ![Project Maintenance][maintenance-shield]\n\n[![Discord][discord-shield]][discord] [![Community Forum][forum-shield]][forum]\n\n[![Buy me a coffee][buymeacoffee-shield]][buymeacoffee]\n\n[![Support my work on Patreon][patreon-shield]][patreon]\n\nScalable datastore for metrics, events, and real-time analytics.\n\n## About\n\nInfluxDB is an open source time series database optimized for high-write-volume.\nIt's useful for recording metrics, sensor data, events,\nand performing analytics. It exposes an HTTP API for client interaction and if\noften used in combination with Grafana to visualize the data.\n\nThis add-on comes with Chronograf & Kapacitor pre-installed as well. Which\ngives you a nice InfluxDB admin interface for managing your users, databases,\ndata retention settings, and lets you peek inside the database using the\nData Explorer.\n\n[Click here for the full documentation][docs]\n\n![Chronograf in the Home Assistant Frontend][screenshot]\n\n[buymeacoffee-shield]: https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg\n[buymeacoffee]: https://www.buymeacoffee.com/frenck\n[discord-shield]: https://img.shields.io/discord/478094546522079232.svg\n[discord]: https://discord.me/hassioaddons\n[docs]: https://github.com/hassio-addons/addon-influxdb/blob/v1.1.1/README.md\n[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg\n[forum]: https://community.home-assistant.io/t/community-hass-io-add-on-influxdb/54491?u=frenck\n[maintenance-shield]: https://img.shields.io/maintenance/yes/2018.svg\n[patreon-shield]: https://www.frenck.nl/images/patreon.png\n[patreon]: https://www.patreon.com/frenck\n[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg\n[release-shield]: https://img.shields.io/badge/version-v1.1.1-blue.svg\n[release]: https://github.com/hassio-addons/addon-influxdb/tree/v1.1.1\n[screenshot]: https://github.com/hassio-addons/addon-influxdb/raw/master/images/screenshot.png", "version": "1.1.1", "auto_update": false, "repository": "a0d7b954", "last_version": "1.1.1", "state": "started", "protected": true, "rating": 4, "boot": "auto", "options": {"log_level": "debug", "username": "!secret addon_user", "password": "!secret addon_password", "auth": true, "ssl": false, "certfile": "fullchain.pem", "keyfile": "privkey.pem", "ipv6": true}, "url": "https://community.home-assistant.io/t/community-hass-io-add-on-influxdb/54491?u=frenck", "detached": false, "build": false, "network": {"8086/tcp": 8086, "8888/tcp": 8888}, "host_network": false, "host_pid": false, "host_ipc": false, "host_dbus": false, "privileged": null, "full_access": false, "apparmor": "default", "devices": null, "icon": true, "logo": true, "changelog": true, "webui": "http://[HOST]:8888", "stdin": false, "hassio_api": true, "hassio_role": "default", "homeassistant_api": false, "gpio": false, "devicetree": false, "docker_api": false, "audio": false, "audio_input": null, "audio_output": null, "services": null, "discovery": null}}

DEBUG: Filtering response using: .last_version
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing... 
DEBUG: Password SHA1: CDC4E9F90112A90A27D8A6D267CFC5391BAE3C6B
curl: (6) Could not resolve host: api.pwnedpasswords.com
DEBUG: 
000
ERROR: Something went wrong contacting the HIBP API
WARNING: Could not check password, assuming it is safe.
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 11-nginx.sh: executing... 
Adding password for user gerard
[cont-init.d] 11-nginx.sh: exited 0.
[cont-init.d] 20-system-users.sh: executing... 
[cont-init.d] 20-system-users.sh: exited 0.
[cont-init.d] 21-auth.sh: executing... 
[cont-init.d] 21-auth.sh: exited 0.
[cont-init.d] 30-kapacitor.sh: executing... 
[cont-init.d] 30-kapacitor.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
INFO: Starting the InfluxDB
INFO: Starting Chronograf
[services.d] done.
time="2018-09-28T23:41:40+02:00" level=info msg="Serving chronograf at http://127.0.0.1:8889" component=server 
time="2018-09-28T23:41:40+02:00" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime" 
INFO: Starting the Kapacitor

'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::
 ##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
 ##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
 #####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
 ##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
 ##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
 ##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::

2018/09/28 23:41:42 Using configuration at: /etc/kapacitor/kapacitor.conf
ts=2018-09-28T23:41:52.862+02:00 lvl=error msg="error while sending usage report on startup" service=reporting err="Post https://usage.influxdata.com/api/v1/usage/kapacitor: dial tcp: lookup usage.influxdata.com on 127.0.0.11:53: read udp 127.0.0.1:40574->127.0.0.11:53: i/o timeout"

My config

{
  "log_level": "debug",
  "username": "!secret addon_user",
  "password": "!secret addon_password",
  "auth": true,
  "ssl": false,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "ipv6": true
}

Exec format error

Problem/Motivation

Cannot start plugin.
Platform infos :

Add-on version: 3.2.0
You are running the latest version of this add-on.
System: Arch Linux ARM  (aarch64 / odroid-c2)
Home Assistant version: 0.97.2
Supervisor version: 183

Expected behavior

Plugin start normally

Actual behavior

Error when executing Kapacitor or Chronograf
Errors :

[services.d] starting services
[services.d] done.
[14:14:02] INFO: Chronograf is waiting until InfluxDB is available...
[14:14:02] INFO: Starting the InfluxDB...
[14:14:02] INFO: Kapacitor is waiting until InfluxDB is available...
[14:14:16] INFO: Starting the Kapacitor
./run: line 33: /usr/bin/kapacitord: cannot execute binary file: Exec format error
./run: line 33: /usr/bin/kapacitord: Success
[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.

Steps to reproduce

Install InfluxDB on Hassio (odroic-c2 platform)
Deleting and reinstalling plugin does not change behavior.
Sometimes it's the same error but on Chronograf instead of Kapacitor.
I suppose it's related to aarch64 architecture.
Thanks for your help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.