Hello everyone,
First, I should mention that I’m not an expert in computers or IT. I’m not completely new either, but I’m definitely missing some foundational knowledge.
Here’s a bit of context :
I’m currently doing an internship where I’m helping the company improve how they store data. Initially, they planned to use MySQL. However, I remembered using InfluxDB briefly (around an hour) during school and thought it might be a better fit, especially since our main goal is to store data from several thousand sensors, detect anomalies, and eventually run predictive algorithms.
When my supervisor and I first tried installing InfluxDB 3, we ran into issues. We then switched to InfluxDB 2.7 because we found a tutorial for it, and that worked fine.
Now, a few days later, I’m trying to install InfluxDB 3 again.
For information :
- We’re using Windows.
- Our cybersecurity team doesn’t allow the use of Docker.
I followed the documentation, but I found it quite limited, especially for someone who isn’t very experienced.
The installation seems to have worked. When I run:
influxdb3 --version
I get the version info, so I assume it’s installed correctly.
Then I ran :
influxdb3 serve --node-id host01 --object-store file --data-dir ~/.influxdb3
This also “worked”.
When I accessed localhost:8181, it asked me to create a token, which I did.
The issue starts here :
I tried using the token with the following command, since the export ... version didn’t work on Windows:
influxdb3 show databases --token YOUR_AUTH_TOKEN
But I get an error :
"Cannot authenticate token ... MissingToken"
However, when I run :
influxdb3 show databases -h
I see the following :
--token <AUTH_TOKEN> The token for authentication with the InfluxDB 3 Core server
[env: INFLUXDB3_AUTH_TOKEN=my_token INFLUXDB3_AUTH_TOKEN=my_token INFLUXDB3_AUTH_TOKEN=my_token]
(Yes, it appears 3 times ?)
(And yes, I replaced the my_token by my real token)
Can anyone explain what I might be doing wrong, or how to properly authenticate with the server?
Also, is it normal that when I try again the command to setup the token again, I now get an OS error 10061?
Thanks in advance for your help !
