kmfkgorilla.blogg.se

Nxfilter could not update configuration db
Nxfilter could not update configuration db












Now that InfluxDB was configured we can exit the command line with exit. In this example I am creating the user mqtt with the same as password CREATE USER mqtt WITH PASSWORD 'mqtt' To allow user access to the database the good practice is to create a database username and password. You should see that the databases has been created similar to the following: If it is done successfully you can check it with the following command SHOW DATABASES You can type the following commands: CREATE DATABASE home_automation Now you can create a new database, in this example I am creating the database called “home_automation”. You should be presented with the output similar to the following: Now that you are in the shell of InfluxDB container, you can connect to the local influx db instance by using the following command. Where ca115f8382f is the container name in my case this is my docker container, but yours will be different. Then you can access the shell of the container using the following command docker exec -it ca115f8382cf sh To configure InfluxDB in docker first you will need to know the InfluxDB containerID, you can do this by performing the following command sudo docker container ls -a So lets get started by configuring the InfluxDB that was installed in Docker. Once you have the InfluxDB and Grafana installed, you would want to configure it to be store the MQTT message that was sent by the ESP8266. If you have been following my post on setting up Home Assistant with Docker in Raspberry Pi.














Nxfilter could not update configuration db