when i try to get an influx db token( version influxbb 2.6) i get the following message : Failed to create API tokens: authorizations cannot be created with the instance type, it is only used during setup.
It’s from the book smart home raspberry pi ESP32 node-red influxdb mqtt page 244 i try this but it doesn’t work
kind regards ludwig
Hi.
Are you trying to create an “all access API token”?
Did you install influxDB as per the instructions on the eBook or did you already had it installed?
That seems to be a recent issue: https://github.com/influxdata/influxdb/issues/23993
See that discussion. They suggest a workaround that seems to work.
Let me know if you are able to solve the issue.
Regards,
Sara
Hi
it’s a all access API token i try to create. I install influxDB v2.6.0 as per the instruction on the ebook ( page 226-228) and i says so as on page 228 active running. I have read recent issue but i don’t understand how i should work around the problem on my raspberry pi4. what should i type in the terminal from my raspberry pi or is the solution to install another version of influxDB?
Regards
Ludwig
Regards
Dear Sara Santos
it’s a all access API token i try to create. I install influxDB v2.6.0 as per the instruction on the ebook ( page 226-228) and i says so as on page 228 active running. I have read recent issue but i don’t understand how i should work around the problem on my raspberry pi4. what should i type in the terminal from my raspberry pi or is the solution to install another version of influxDB?
Regards
Ludwig
Regards
Hi.
Run the following commands and then try to access influxDB again and try to generate an API token.
sudo apt-get update
sudo apt-get upgrade
Regards,
Sara
I had the same problem. I was not able to recover from the installation of 2.6 but after reinstalling RaspiOS(64-bit)
I went to the link on p.226 under the heading: Install InfluxDB as a service with systemd executed the following commands:
wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.4.0-arm64.deb
sudo dpkg -i influxdb2-2.4.0-arm64.deb
I was then able to initialize and create an API all access token. Then I had to reinstall Node-Red and Mosquitto.
You might try to do this without reinstalling RaspiOS and maybe have better success than I did because I tried a lot of other fixes before starting with a reinstall.
Hope this is helpful
Larry Goodwin