SensorsIot / IOTstack

Docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.44k stars 307 forks source link

20220602 InfluxDB 2 - master branch - PR 1 of 3 #567

Closed Paraphraser closed 2 years ago

Paraphraser commented 2 years ago

Adds InfluxDB 2 container and documentation.

Fixes #455, Fixes #289, Fixes #279, Fixes #169, Fixes #132

Signed-off-by: Phill Kelley 34226495+Paraphraser@users.noreply.github.com

ukkopahis commented 2 years ago

image

This will cause confusion & support issues from users trying to use it on a 32bit OS. Beginners can't be assumed to know better. And beginners are the target group for this project.

Should either:

I know it states the 64-bit requirement in the doc-page, but the menu shouldn't ever generate an invalid docker-compose.yml.

Slyke commented 2 years ago

I still use 1.8 personally, because you need to ssh to run any commands on 2, such as adding users etc.

Paraphraser commented 2 years ago

Sorry for the late comment.

I haven't found any need to run ssh. I can still open a shell into the Influx2 container with docker exec and do whatever needs to be done.

But I agree. Even though I've figured out the how of migration and have documented it here, I'm far from ready to migrate my own data from 1.8. For me the biggest issue is Grafana's inability to create Flux-based queries like it can for InfluxQL. Sure, there's a workaround. You can use Influx2's web GUI to generate the query which you can then copy and paste into Grafana. That does work but it's tedious. I have no plans to revisit this question until Grafana catches up.

Also, I did take a shortcut with Influx2 in the sense that I had one set of credentials to rule them all. I took a brief look at the, err, "excess of functionality" for Influx2 security and my eyes glazed over.