Open marekpow opened 3 years ago
Hallo @mhall119, what is going on with my issue?
Variable bucket (CSV type) was missing in my configuration. After the added value of my default bucket to that variable board started to work.
@marekpow was it just that you needed INFLUX_BUCKET
defined as an environment variable?
No. That environment variable was defined at the bgining of my InfluxDb 2.0 installation. Look at this picture:
One thing that I did was add the variable named "bucket". After that, the board defined by the installation ADS-B template has been start working.
Why does it start to work after that?
And look at template configuration on the github:
That template needs the variable "bucket" to be defined.
Ah, yes the template should provide that. I'll update this issue to be specifically about that.
@tkyocum this template provides a Bucket called ads-b
but uses an undefined variable v.bucket
in all the Flux queries, and uses an envvar for bucket in the Telegraf config.
Would you like to replace the predefined bucket with a variable? Or change your queries and config to use the predefined bucket?
I did it about two months ago. But I think you should change the template or describe how to use it for next users.
Template: ADS-B
Describe the problem I installed the ads-b.yml template from InfluxDB 2.0 community templates. I have the following situation on the screen.
I did that many times on different instances of InfluxDb, always without any problem. But today I have that strange problem.
PS. Error message is: "type error @1:14-1:15: record is missing label bucket".
To Reproduce Steps to reproduce the behavior: Simply install ads-b template using InfluxDb 2.0 GUI (Settings -> Template -> Lookup Template -> Create template -> etc...)
Expected behavior Dashoard without error message right after creation from ads-b template.
Screenshots
How are you running InfluxDB?
Additional context
Python: Python 3.8.10 OS: Ubuntu Server 20.04.3 LTS Raspberry Pi 4, 8GB RAM