Hello,
I cannot make this plugin run on my Home Assistant RPi3 installation. It constantly gets a termination signalā¦by why? What could I check? When I start the add-on the system has more than 400 Mb free, so i donāt think that itās a memory issue.
Any suggestion is highly appreciated!
Thanks,
Ugo
This is the log that I get when I enable ādebugā mode:
> [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: Grafana
> The open platform for beautiful analytics and monitoring
> -----------------------------------------------------------
> Add-on version: 4.1.0
> You are running the latest version of this add-on.
> System: HassOS 3.11 (armv7 / raspberrypi3)
> Home Assistant version: 0.105.5
> Supervisor version: 201
> -----------------------------------------------------------
> 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...
> Log level is set to DEBUG
> [cont-init.d] 01-log-level.sh: exited 0.
> [cont-init.d] grafana.sh: executing...
> [cont-init.d] grafana.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.
> [10:55:43] INFO: Starting Memcached...
> [10:55:45] INFO: Starting Grafana...
> t=2020-02-21T10:56:32+0100 lvl=info msg="Starting Grafana" logger=server version=6.6.0 commit=5c11bbdfb4 branch=HEAD compiled=2020-01-27T13:32:03+0100
> t=2020-02-21T10:56:32+0100 lvl=info msg="Config loaded from" logger=settings file=/usr/share/grafana/conf/defaults.ini
> t=2020-02-21T10:56:32+0100 lvl=info msg="Config loaded from" logger=settings file=/etc/grafana/grafana.ini
> t=2020-02-21T10:56:32+0100 lvl=info msg="Path Home" logger=settings path=/usr/share/grafana
> t=2020-02-21T10:56:32+0100 lvl=info msg="Path Data" logger=settings path=/data
> t=2020-02-21T10:56:32+0100 lvl=info msg="Path Logs" logger=settings path=/var/logs/grafana
> t=2020-02-21T10:56:32+0100 lvl=info msg="Path Plugins" logger=settings path=/var/lib/grafana/plugins
> t=2020-02-21T10:56:32+0100 lvl=info msg="Path Provisioning" logger=settings path=/usr/share/grafana/conf/provisioning
> t=2020-02-21T10:56:32+0100 lvl=info msg="App mode production" logger=settings
> t=2020-02-21T10:56:32+0100 lvl=info msg="Initializing SqlStore" logger=server
> t=2020-02-21T10:56:32+0100 lvl=info msg="Connecting to DB" logger=sqlstore dbtype=sqlite3
> t=2020-02-21T10:56:33+0100 lvl=info msg="Starting DB migration" logger=migrator
> t=2020-02-21T10:56:37+0100 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create migration_log table"
> t=2020-02-21T10:56:37+0100 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create user table"
> t=2020-02-21T10:56:37+0100 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index user.login"
> t=2020-02-21T10:56:37+0100 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index user.email"
> t=2020-02-21T10:56:37+0100 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index UQE_user_login - v1"
> t=2020-02-21T10:56:37+0100 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index UQE_user_email - v1"
> t=2020-02-21T10:56:37+0100 lvl=info msg="Executing migration" logger=migrator id="Rename table user to user_v1 - v1"
> t=2020-02-21T10:56:37+0100 lvl=dbug msg="Executing sql migration" logger=migrator id="Rename table user to user_v1 - v1" sql="ALTER TABLE `user` RENAME TO `user_v1`"
> t=2020-02-21T10:56:39+0100 lvl=info msg="Executing migration" logger=migrator id="create user table v2"
> t=2020-02-21T10:56:39+0100 lvl=dbug msg="Executing sql migration" logger=migrator id="create user table v2" sql="CREATE TABLE IF NOT EXISTS `user` (\n`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL\n, `version` INTEGER NOT NULL\n, `login` TEXT NOT NULL\n, `email` TEXT NOT NULL\n, `name` TEXT NULL\n, `password` TEXT NULL\n, `salt` TEXT NULL\n, `rands` TEXT NULL\n, `company` TEXT NULL\n, `org_id` INTEGER NOT NULL\n, `is_admin` INTEGER NOT NULL\n, `email_verified` INTEGER NULL\n, `theme` TEXT NULL\n, `created` DATETIME NOT NULL\n, `updated` DATETIME NOT NULL\n);"
> t=2020-02-21T10:56:40+0100 lvl=info msg="Executing migration" logger=migrator id="create index UQE_user_login - v2"
> t=2020-02-21T10:56:40+0100 lvl=dbug msg="Executing migration condition sql" logger=migrator id="create index UQE_user_login - v2" sql="SELECT 1 FROM `sqlite_master` WHERE `type`='index' AND `tbl_name`=? AND `name`=?" args="[user UQE_user_login]"
> t=2020-02-21T10:56:40+0100 lvl=dbug msg="Executing sql migration" logger=migrator id="create index UQE_user_login - v2" sql="CREATE UNIQUE INDEX `UQE_user_login` ON `user` (`login`);"
> t=2020-02-21T10:56:43+0100 lvl=info msg="Executing migration" logger=migrator id="create index UQE_user_email - v2"
> t=2020-02-21T10:56:43+0100 lvl=dbug msg="Executing migration condition sql" logger=migrator id="create index UQE_user_email - v2" sql="SELECT 1 FROM `sqlite_master` WHERE `type`='index' AND `tbl_name`=? AND `name`=?" args="[user UQE_user_email]"
> t=2020-02-21T10:56:43+0100 lvl=dbug msg="Executing sql migration" logger=migrator id="create index UQE_user_email - v2" sql="CREATE UNIQUE INDEX `UQE_user_email` ON `user` (`email`);"
> t=2020-02-21T10:56:45+0100 lvl=info msg="Executing migration" logger=migrator id="copy data_source v1 to v2"
> t=2020-02-21T10:56:45+0100 lvl=dbug msg="Executing sql migration" logger=migrator id="copy data_source v1 to v2" sql="INSERT INTO `user` (`login`\n, `name`\n, `salt`\n, `rands`\n, `is_admin`\n, `id`\n, `version`\n, `email`\n, `password`\n, `company`\n, `org_id`\n, `created`\n, `updated`) SELECT `login`\n, `name`\n, `salt`\n, `rands`\n, `is_admin`\n, `id`\n, `version`\n, `email`\n, `password`\n, `company`\n, `account_id`\n, `created`\n, `updated` FROM `user_v1`"
> Signal handled: Terminated.
> t=2020-02-21T10:56:46+0100 lvl=info msg="Shutdown started" logger=server reason="System signal: terminated"
> t=2020-02-21T10:56:46+0100 lvl=info msg="Executing migration" logger=migrator id="Drop old table user_v1"
> t=2020-02-21T10:56:46+0100 lvl=dbug msg="Executing sql migration" logger=migrator id="Drop old table user_v1" sql="DROP TABLE IF EXISTS `user_v1`"
> [cont-finish.d] executing container finish scripts...
> t=2020-02-21T10:56:49+0100 lvl=info msg="Executing migration" logger=migrator id="Add column help_flags1 to user table"
> t=2020-02-21T10:56:49+0100 lvl=dbug msg="Executing sql migration" logger=migrator id="Add column help_flags1 to user table" sql="alter table `user` ADD COLUMN `help_flags1` INTEGER NOT NULL DEFAULT 0 "
> [cont-finish.d] 99-message.sh: executing...
> t=2020-02-21T10:56:50+0100 lvl=info msg="Executing migration" logger=migrator id="Update user table charset"
> t=2020-02-21T10:56:50+0100 lvl=dbug msg="Executing sql migration" logger=migrator id="Update user table charset" sql="-- NOT REQUIRED"
> [cont-finish.d] 99-message.sh: exited 0.
> [cont-finish.d] done.
> [s6-finish] waiting for services.
> t=2020-02-21T10:56:53+0100 lvl=info msg="Executing migration" logger=migrator id="Add last_seen_at column to user"
> t=2020-02-21T10:56:53+0100 lvl=dbug msg="Executing sql migration" logger=migrator id="Add last_seen_at column to user" sql="alter table `user` ADD COLUMN `last_seen_at` DATETIME NULL "
> t=2020-02-21T10:56:55+0100 lvl=info msg="Executing migration" logger=migrator id="Add missing user data"
> t=2020-02-21T10:56:55+0100 lvl=dbug msg="Executing code migration" logger=migrator id="Add missing user data"
> s6-svwait: fatal: timed out
> [s6-finish] sending all processes the TERM signal.