Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect MQTT integration with Mosquito Broker #3537

Closed
joncage opened this issue Apr 1, 2024 · 1 comment
Closed

Can't connect MQTT integration with Mosquito Broker #3537

joncage opened this issue Apr 1, 2024 · 1 comment
Labels

Comments

@joncage
Copy link

joncage commented Apr 1, 2024

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:

image

I added a user (I set this up with the intention of integrating with a Daikin Atherma heatpump):

image

...but when I try and add the MQTT integration:

image

I get:

image

...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

  1. Install home assistant on raspberry pi B v1.2
  2. Follow the steps here: https://github.com/home-assistant/addons/blob/master/mosquitto/DOCS.md
  3. Try to add a MQTT integration to attach to the mosquito client.
  4. 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

Copy link

github-actions bot commented May 1, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label May 1, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant