addons
addons copied to clipboard
Can't connect MQTT integration with Mosquito Broker
Describe the issue you are experiencing
Following the guide here: https://github.com/home-assistant/addons/blob/master/mosquitto/DOCS.md
I got mosquitto broker addon installed:
I added a user (I set this up with the intention of integrating with a Daikin Atherma heatpump):
...but when I try and add the MQTT integration:
I get:
...and looking at the log for the addon suggests something isn't working quite right:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/mosquitto.sh
cont-init: info: /etc/cont-init.d/mosquitto.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun mosquitto (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Other (e.g., Raspbian/Raspberry Pi OS/Fedora)
Which add-on are you reporting an issue with?
Mosquitto broker
What is the version of the add-on?
6.4.0
Steps to reproduce the issue
- Install home assistant on raspberry pi B v1.2
- Follow the steps here: https://github.com/home-assistant/addons/blob/master/mosquitto/DOCS.md
- Try to add a MQTT integration to attach to the mosquito client.
- Observer it doesn't seem to work.
System Health information
System Information
| version | core-2024.3.3 |
|---|---|
| installation_type | Home Assistant OS |
| dev | false |
| hassio | true |
| docker | true |
| user | root |
| virtualenv | false |
| python_version | 3.12.2 |
| os_name | Linux |
| os_version | 6.1.73-haos-raspi |
| arch | aarch64 |
| timezone | Europe/London |
| config_dir | /config |
Home Assistant Cloud
| logged_in | false |
|---|---|
| can_reach_cert_server | ok |
| can_reach_cloud_auth | ok |
| can_reach_cloud | ok |
Home Assistant Supervisor
| host_os | Home Assistant OS 12.1 |
|---|---|
| update_channel | stable |
| supervisor_version | supervisor-2024.03.1 |
| agent_version | 1.6.0 |
| docker_version | 24.0.7 |
| disk_total | 13.5 GB |
| disk_used | 3.3 GB |
| healthy | true |
| supported | true |
| board | rpi3-64 |
| supervisor_api | ok |
| version_api | ok |
| installed_addons | Mosquitto broker (6.4.0) |
Dashboards
| dashboards | 1 |
|---|---|
| resources | 0 |
| mode | auto-gen |
Recorder
| oldest_recorder_run | April 1, 2024 at 1:23 AM |
|---|---|
| current_recorder_run | April 1, 2024 at 9:59 PM |
| estimated_db_size | 0.32 MiB |
| database_engine | sqlite |
| database_version | 3.44.2 |
Anything in the Supervisor logs that might be useful for us?
Lots of repeats of this:
024-04-01 22:02:10.664 WARNING (MainThread) [supervisor.misc.tasks] Watchdog missing application response from core_mosquitto
2024-04-01 22:04:10.684 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with core_mosquitto application!
2024-04-01 22:04:10.726 INFO (SyncWorker_4) [supervisor.docker.manager] Stopping addon_core_mosquitto application
2024-04-01 22:04:29.502 INFO (SyncWorker_4) [supervisor.docker.manager] Cleaning addon_core_mosquitto application
2024-04-01 22:04:38.187 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-mosquitto with version 6.4.0
2024-04-01 22:06:38.213 WARNING (MainThread) [supervisor.misc.tasks] Watchdog missing application response from core_mosquitto
2024-04-01 22:08:38.225 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with core_mosquitto application!
2024-04-01 22:08:38.258 INFO (SyncWorker_7) [supervisor.docker.manager] Stopping addon_core_mosquitto application
2024-04-01 22:08:55.071 INFO (SyncWorker_7) [supervisor.docker.manager] Cleaning addon_core_mosquitto application
2024-04-01 22:09:05.931 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-mosquitto with version 6.4.0
Anything in the add-on logs that might be useful for us?
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun mosquitto (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise mosquitto (child): fatal: unable to exec run: Exec format error
s6-supervise mosquitto: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Exec format error
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
Additional information
No response