Home Assistant Community Add-on: Grafana

Full Changelog

Changed

  • Upgrades Grafana to v6.0.2
  • Workaround Docker issue by reinstating legacy tags

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

1 Like

:tada: Release v2.0.2

Full Changelog

Changed

  • :arrow_up: Update Grafana to v6.1.0 (#28)

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

:tada: Release v2.1.0

Full Changelog

This release is a maintenance release, without any breaking changes.

:hammer: Changes

  • :arrow_up: Upgrades base image to v3.1.0
  • :hammer: Improves S6 finish scripts
  • :hammer: Use Bashio wait_for before starting Grafana
  • :hammer: Refactor of init scripts
  • :fire: Removes default config options
  • :hammer: Makes Grafana run on port 80 internally
  • :sparkles: Adds port descriptions
  • :arrow_up: Updates Grafana to v6.1.4 (#30) (@timmo001)

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

I just loaded stock versions of InfluxDB and Grafana on Hassio with DuckDNS. InfluxDB runs fine. The WebUI of Grafana gives: This site canā€™t be reached

Hereā€™s the beginning of the 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: Grafana
 The open platform for beautiful analytics and monitoring
-----------------------------------------------------------
 Add-on version: 2.1.0
 You are running the latest version of this add-on.
 System: HassOS 2.11  (amd64 / qemux86-64)
 Home Assistant version: 0.92.1
 Supervisor version: 162

Also, FWIW, in the GitHub readme, the section: Embedding into Home Assistant is out of date. And in the Support section, this is a dead link: You could also open an issue here GitHub.

Cheers, Richard

Thanks for letting me know @RichardU, the link is indeed broken, will fix that soon.
The Embedding into Home Assistant, however, is up to date.

:tada: Release v2.1.1

Full Changelog

This release is a maintenance release, without any breaking changes.

:hammer: Changes

  • :arrow_up: Updates grafana to v6.1.6 (#35) (@timmo001)
  • :arrow_up: Upgrades add-on base image to 3.1.1
  • :arrow_up: Upgrades memcached to 1.5.6-0ubuntu1.1
  • :books: Adds Ingress to known issues and limitations
  • :books::ambulance: Fixes broken link in README

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

Thanks @frenck. I saw that you updated the github readme with the fact that this add-on cannot support Hass.io Ingress.

For anyone else having difficulty, I needed to open a port on my router for this app and access directly.

Sometime in the past 1-2 month the Grafana Addon (that worked fine till then) - stopped appearing for some reasonā€¦

  • Port (3000) is configured and open in the router (as it has be in the past and worked)
  • No abnormal alerts on the addon log as far as I can say

When going to the the panel that used to work (pointing to :3000) I see " refused to connect."

When going to ā€œWeb UIā€ via the addon button the link points to port 80 for some reason and the message says ā€œThis site canā€™t be reachedā€

any hint on how to diagnose the problem?
(cc @frenck )

Check the Network section of the add-on configuration to see if port 3000 is assigned to port 80.

Itā€™s notā€¦
Properly directing to the external 3000 as it always has.

I saw issue #25 on the GitHub channel, itā€™s slightly similar perhaps, but the descriptions are a bit differentā€¦

@Amir974

That message contains mixed signals

ā€œItā€™s notā€¦ā€

and

ā€œProperly directing to the external 3000 as it always has.ā€

uuuh?

So again, Hass.io Panel -> Grafana add-on -> Network section: Is port 3000 assigned to port 80?

Sorry for the poor explanation
in both Hassio config and the router - 3000 is the port to use

I see this line in the logger:

t=2019-05-23T23:27:56+0300 lvl=info msg="HTTP Server Listen" logger=http.server address=0.0.0.0:80 protocol=https subUrl= socket=

p.s. this may be relevant as well ?

-----------------------------------------------------------
 Hass.io Add-on: Grafana
 The open platform for beautiful analytics and monitoring
-----------------------------------------------------------
 Add-on version: 2.1.1
 You are running the latest version of this add-on.
 System: HassOS 2.12  (armv7 / raspberrypi3)
 Home Assistant version: 0.93.2
 Supervisor version: 164
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------

any thoughts @frenck ?

For example, why does your picture show 80/tcp and mine shows 3000/tcp ?
Can this be related to the open issue on the github ?

Hi

I am experiencing the same issue as @Amir974 :

  • Addon have been working perfectly before updating
  • The container port 3000 is forwarded to 3000 according to the UI.
  • I simplify my config and set it to the default one (with SSL false)
  • I am seeing in the log
    t=2019-05-26T18:15:12-0400 lvl=info msg="HTTP Server Listen" logger=http.server address=0.0.0.0:80 protocol=http subUrl= socket= Signal handled: Terminated.

Any help would be appreciated. Thanks

:tada: Release v2.1.2

Full Changelog

This release is a maintenance release, without any breaking changes.

:hammer: Changes

  • :sparkles:Adds support for secrets key in environment values
  • :arrow_up: Upgrades add-on base image to 3.1.2
  • :arrow_up: Upgrades Grafana to 6.2.1

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

1 Like

After this update I canĀ“t see grafana inside Hassio anymore, neither in the panel nor emebeb links. I have this message, translated to english is:
This content can not be displayed in a frame

image

It was working well just after 2.1.2 Update

This is my config:
{
ā€œsslā€: true,
ā€œcertfileā€: ā€œfullchain.pemā€,
ā€œkeyfileā€: ā€œprivkey.pemā€,
ā€œpluginsā€: [],
ā€œenv_varsā€: [
{
ā€œnameā€: ā€œGF_AUTH_BASIC_ENABLEDā€,
ā€œvalueā€: ā€œfalseā€
},
{
ā€œnameā€: ā€œGF_AUTH_PROXY_ENABLEDā€,
ā€œvalueā€: ā€œfalseā€
},
{
ā€œnameā€: ā€œGF_AUTH_ANONYMOUS_ENABLEDā€,
ā€œvalueā€: ā€œtrueā€
},
{
ā€œnameā€: ā€œGF_AUTH_ANONYMOUS_ORG_NAMEā€,
ā€œvalueā€: ā€œMain Org.ā€
},
{
ā€œnameā€: ā€œGF_AUTH_ANONYMOUS_ORG_ROLEā€,
ā€œvalueā€: ā€œEditorā€
},
{
ā€œnameā€: ā€œGF_USERS_ALLOW_SIGN_UPā€,
ā€œvalueā€: ā€œfalseā€
}
]
}

:tada: Release v2.1.3

Full Changelog

This release fixes an issue with embedding Grafana into the Home Assistant frontend using an iframe panel.

:hammer: Changes

  • :ambulance:Fixes embedding Grafana in panel_iframe
  • :ambulance: Fixes use of removed Session config

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

1 Like

I found the solution to the problem I mentionned earlier. I just needed to click on reset to defaults in the addons Network settingsā€¦
See this:
https://github.com/hassio-addons/addon-grafana/issues/33