hassio-addons/addon-influxdb

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

nyxnyx posted onGitHub

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.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

posted by addons-assistant[bot] over 5 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

posted by addons-assistant[bot] over 5 years ago

Fund this Issue

$0.00
Funded

Pull requests