[docker] No sensors found in configuration file "config.ini"
See original GitHub issueHi.
I’m trying to run the mqtt-daemon in docker.
Everything installed fine but when i run the docker i keep getting this error:
[2020-02-14 15:08:27] No sensors found in configuration file “config.ini”
In my docker compose file i have this line:
- /data/miflora2mqtt/config.ini:/opt/miflora-mqtt-daemon/config.ini
So the config is stored in opt/miflora-mqtt-daemon/config.ini. When i copy this file back from the docker to my local hard drive i see the right config.ini In this file i have this:
[Sensors]
# Add your Mi Flora sensors here. Each sensor consists of a name and a Ethernet MAC address.
# Additional location information can be added to the name, delimited by an '@'.
# Scan for sensors from the command line with:
# $ sudo hcitool lescan
#
# Examples:
#
Flower_1 = C4:7C:8D:6A:74:7F
Flower_2 = C4:7C:8D:6A:74:23
Flower_3 = C4:7C:8D:6B:1A:70
Do you have any idea what i can try?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Emulator does not start with provided config.ini #242 - GitHub
Bug Report. Operating System: Ubuntu 18.04.4 LTS (GNU/Linux 5.3.0-46-generic x86_64). Docker Image: budtmo/docker-android-x86-9.0.
Read more >docker compose prompted error: no configuration file provided
The problem was with docker-compose.yml file. I saved it from Visual Studio Code as a text file though OS determined it like a...
Read more >Store configuration data using Docker Configs
Docker swarm service configs allow you to store non-sensitive information, such as configuration files, outside a service's image or running containers. This ...
Read more >Configuration Docs - LibreNMS Docs
Configuration Docs. LibreNMS configuration is a set of key values. The config is stored in two places: Database: This applies to all pollers...
Read more >Frequently Asked Questions — ESPHome
Can Configuration Files Be Recovered From The Device?¶. If you lost your ESPHome YAML configuration files, there's no way to recover them. The...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I would try to start the container witout the file or with a wrong path. So you know if you get another error like “config file not found” instead of “No sensors found”.
And you could replace your file with the example to see if you get something like “cannot connect to sensor”.
Just a little troubleshooting. 🤔
Hey, were you able to identify the cause of this error? Let us know and I’ll work on a mitigation or improvement of the documentation 😉