I have Influxdb and Grafana running on a Raspberry Pi. With InfluxQL all is stable.
But Flux scripts don’t work. Also error ‘Could not fetch measurements’ in Chronograf 1.7.9.
Any idea what could be wrong?
Hi Roel welcome !
Have you enabled Flux ?
Best regards
Flux is packaged with InfluxDB v1.7+ and does not require any additional installation, however it is disabled by default and needs to be enabled .
Enable Flux
Enable Flux by setting the flux-enabled
option to true
under the [http]
section of your influxdb.conf
Hi Marc! Yes, I did! I see the Flux Script Wizard and all functions, but the queries don’t work. Same issue with Grafana.
Hi Roel ,
I keep guessing
Have you selected a data source ?
Ps i understand influxql is no problem in chronograf ?
Maybe these screenshots help:
screenshot1|690x349
Hi Roel,
I cannot reproduce it , here it works on a Linux …
have you tried to restart chronograf ?
What does the script wizard shows ?
Hi Mark, Thanks for your prompt reaction. Yes, I did restart chronograf.
The script wizard seems to work and gives drop-down-lists for input. The screenshot above gives the screen after running the script. I aslo did enter quries manually. Same issue. I also did a fresh install (new SD-card, new OS + fresh downloads) and the same problem persists.
Any idea? Maybe an issue with the Raspberry OS (Raspian, based on Debian)?
Any help would be appreciated.
Hi Roel ,
Have you found a solution ?
Hi Mark,
no idea how to solve this, or where to get support. Wait for InfluxDB v2.0?
Maybe these issues from earlier versions and journalctl can help to troubleshoot ?
journalctl -u chronograf
https://github.com/influxdata/chronograf/issues/5046
https://github.com/influxdata/chronograf/issues/5043
Thank for your ideas. I checked with journalctl, but no error-messages appear if I run the query-editor in Flux.
I have Influxdb vs.1.7.4. installed; the in 5046 mentioned issues should be solved by this.,
Unfortunately no results. Any further ideas?
My last idea
In the left upper corner you have dynamic source ,
you can try selecting your datasource by using the drop down list ?
nope…
but I will keep trying!
Marc, thanks for your support!
Roel
Hi everybody,
in ran into the same using InfluxDB 1.7.7 and Chronograf 1.7.12 on a Raspberry Pi (Raspbian Buster).
Are there any updates how to fix it?
Best regards
matt