Home Assistant Community Add-on: Grafana

Thanks for your work here. I did run into an issue though. I was previously on 0.1.0 and upgraded to 0.3.0 this afternoon. After the upgrade I no longer have working png images.

It seems like PhantomJS is missing now. Rendered images that were previously working on my RPi3 are dead now.

Rendering Failed - PhantomJS isn’t included in arm build per default

Hopefully that is an easy fix. Thanks.

3 Likes

Hi frenck, thanks for your hard work.
I’m trying to setup Grafana with influxDB but each time i try i got this error: http: proxy error: dial tcp 127.0.0.1:8086: connect: connection refused
here below my configuration:
{
“log_level”: “info”,
“ssl”: false,
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”,
“plugins”: [],
“env_vars”: []
}

could you help me?
Thx

Already tried HTTP URL: http://a0d7b954-influxdb:8086 instead of http://localhost:8086 ?

See Grafana readme on GitHub

It worked!
Thanks a lot

v0.3.0

Rendering failed - PhantomJS isn’t included in arm build per default

Can I fix that somehow?

Dear All,

I run a Home Assistant 0.75.2 on Hassio platform HassOS 1.9 with Graphana 0.3.0.
I also have a problem during export Grafana PNG related to PanthomJS component:

lvl=eror msg="executable not found" logger=rendering executable=/usr/share/grafana/tools/phantomjs/phantomjs
lvl=eror msg="Rendering failed - PhantomJS isn't included in arm build per default" logger=context userId=1 orgId=1 uname=admin error="PhantomJS executable not found"

Is there a roadmap to include PanthomJS component on Grafana add-on?

Many thanks in advance
Umberto

Dear @frenck or anyone who already using Graphana :slight_smile: ,
What are the panels you are using at your first screenshot, right top? (Mobile Phone Battery)
I’ve found the others, but not thisone :slight_smile:

Thanks!
Peter

This is not planned for now.
Feel free to open an GitHub issue as feature request, so it does not end up “forgotten”.

Ok Frenck !

I will do that.

Many thanks

That’s a bummer for everyone who wants (or had) integrated charts and not an entire Grafana tab on the RPi.

I ended up moving away from a Pi and now an Ubuntu machine. I have my charts back now using my own Grafana docker container.

That is your free choice and does not change any priority on my end.

There are tons of things to do and stuff people want. I usually implement about every feature request, but this is still a thing to which I donate my free spare time, which, unfortunately is not unlimited. So is this planned? currently not. Is it on the list? Yes it is.

I just like to be fair to everyone up front.

Thanks! :+1:

That is totally fair. I was not expecting you to drop everything to make this happen. I am still super appreciative of what you are doing here.

The change forced me to learn something new, so that is a win in my book.

Thank you sir.

1 Like

:tada: Release v1.0.0

Declared stable!

Full Changelog

Changed

  • Upgrades hadolint to latest
  • Upgrades base image to v2.1.0
  • Sets default Shell
  • Less aggressive cleanup
  • Enables SSL by default
  • Updates README and links

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

I have probably missed some documentation or messed up my configuration somehow, but before the upgrade it worked (almost) perfectly :slight_smile:

[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 v1.0.0
 The open platform for beautiful analytics and monitoring
 From: Community Hass.io Add-ons
 By: Franck Nijhof <[email protected]>
-----------------------------------------------------------
 armhf / HassOS 1.7 / HA 0.75.3 / SU 125 / 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... 
FATAL: The configured certfile is not found
[cont-init.d] 10-requirements.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
-----------------------------------------------------------
 v1.0.0 / armhf / HassOS 1.7 / HA 0.75.3 / SU 125 / stable
-----------------------------------------------------------
                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.

The log is pretty clear:

Do you happen to have ssl enabled in the add-on config while you don’t use SSL?

[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 v1.0.0
 The open platform for beautiful analytics and monitoring
 From: Community Hass.io Add-ons
 By: Franck Nijhof <[email protected]>
-----------------------------------------------------------
 armhf / HassOS 1.7 / HA 0.75.3 / SU 125 / stable
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 

It was so obvious I didn't even think of looking at it :slight_smile:

I'm not sure how it got enabled though as I have never used SSL on Hass.

Btw, how can I fix this?

Rendering failed - PhantomJS isn't included in arm build per default

@ZyberSE You can’t at this point. The feature is on the list to add.

:tada: Release v1.0.1

Full Changelog

Changed

  • Fixes InfluxDB links (#7) (@tjorim)
  • Upgrades base image to v2.1.1

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

1 Like