Grafana Kiosk crash - unable to find application file

I’ve just started running Grafana-kiosk on a Raspberry Pi. After a few hours it crashed with this message. If I click Reload then it works fine, but I need to find a way to make this recover automatically, for an unattended kiosk. Since the process is still running, there is no exit code to be checked…

I’m running in tmux with tmux new-session -d -s grafana_session /usr/local/bin/grafana-kiosk -c /etc/grafana-kiosk.yaml with this config file:

general:
  kiosk-mode: full
target:
  URL: https://xxxxxxxxx.grafana.net/playlists/play/ee9ndvno6u2v4a
  login-method: apikey
  playlist: true
apikey:
  apikey: xxxxxxx

Why are you running it using tmux and is grafana supported?
What is grafana hosted on? What is this grafana-assets domain?

Also configure logging verbose and restart and post back logs minus confidential stuff

I’m using Grafana Cloud, the grafana-assets appears to be a subdomain of grafana.net, I assume they use it host JavaScript, etc.

I’m using tmux to make it easier to scroll back in the stdout for debugging. Although in this case it didn’t help since I left the default scroll back at 2000 lines. It might be better to pipe the output to journald instead.

1 Like