Closed Just2Confuse closed 1 week ago
PS: I also get a lot of this failures. I pull all scripts from source to my folder and set "docker compose up".
grafana-1 | logger=provisioning.dashboard type=file name=dashboards t=2024-03-15T07:59:08.355989913Z level=error msg="failed to load dashboard from " file=/var/lib/grafana/dashboards/dashboard-prices.json error=EOF
grafana-1 | logger=provisioning.dashboard type=file name=dashboards t=2024-03-15T07:59:08.356029209Z level=error msg="failed to load dashboard from " file=/var/lib/grafana/dashboards/dashboard-without-pulse.json error=EOF
grafana-1 | logger=provisioning.dashboard type=file name=dashboards t=2024-03-15T07:59:08.356064524Z level=error msg="failed to load dashboard from " file=/var/lib/grafana/dashboards/dashboard.json error=EOF
grafana-1 | logger=provisioning.dashboard type=file name=dashboards t=2024-03-15T07:59:18.356035675Z level=error msg="failed to load dashboard from " file=/var/lib/grafana/dashboards/dashboard-monthly.json error=EOF
grafana-1 | logger=provisioning.dashboard type=file name=dashboards t=2024-03-15T07:59:18.356096693Z level=error msg="failed to load dashboard from " file=/var/lib/grafana/dashboards/dashboard-prices.json error=EOF
grafana-1 | logger=provisioning.dashboard type=file name=dashboards t=2024-03-15T07:59:18.356130841Z level=error msg="failed to load dashboard from " file=/var/lib/grafana/dashboards/dashboard-without-pulse.json error=EOF
grafana-1 | logger=provisioning.dashboard type=file name=dashboards t=2024-03-15T07:59:18.356162989Z level=error msg="failed to load dashboard from " file=/var/lib/grafana/dashboards/dashboard.json error=EOF
grafana-1 | logger=provisioning.dashboard type=file name=dashboards t=2024-03-15T07:59:28.356178816Z level=error msg="failed to load dashboard from " file=/var/lib/grafana/dashboards/dashboard-prices.json error=EOF
grafana-1 | logger=provisioning.dashboard type=file name=dashboards t=2024-03-15T07:59:28.356237927Z level=error msg="failed to load dashboard from " file=/var/lib/grafana/dashboards/dashboard-without-pulse.json error=EOF
Sorry about the very late reply, I've been busy on other projects.
Your error messages are from Grafana, and the errors are not releated to TIBBER_TOKEN
which is only used by the tibber-exporter
container. Do you see any output from tibber-exporter
?
For the Grafana errors it might be that the volume mounts are not correct. If you do not run from the same directory structure as this repo you need to modify the volumes:
volumes:
- ./datasource.yml:/etc/grafana/provisioning/datasources/prometheus.yml
- ./dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml
- ../grafana/dashboard.json:/dashboard.json
- ../grafana/dashboard-without-pulse.json:/dashboard-without-pulse.json
- ../grafana/dashboard-prices.json:/dashboard-prices.json
- ../grafana/dashboard-monthly.json:/dashboard-monthly.json
- ./grafana.sh:/grafana.sh
- grafana_data:/var/lib/grafana
The docker compose setup is expected to be run from the docker-compose
directory, and you can see that it references ../grafana
. So ensure that all these references are correct on your setup.
I'm closing this issue. Please reopen if you haven't solved your problem and have some more information to provide.
Hi,
i did not get it to work. Looks like there are no datas from Tibber pulled? I dont no how to debug. I try it with "TIBBER_TOKEN=... docker compose up"
Also i try it with the token in docker-compose.yml Same
grafana-1 | logger=authn.service t=2024-03-15T07:58:41.018031129Z level=warn msg="Failed to authenticate request" client=auth.client.session error="user token not found"
Any ideas abou my problems :). I hope the did not sit in front of my monitor :D