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

Add-On Doesn't Start After Full Reboot of Hass.io #1198

Open
IcyMidnight opened this issue Dec 22, 2024 · 1 comment
Open

Add-On Doesn't Start After Full Reboot of Hass.io #1198

IcyMidnight opened this issue Dec 22, 2024 · 1 comment

Comments

@IcyMidnight
Copy link

Describe the bug

When doing a full reboot of Hass.io, the ecowitt2mqtt add-on fails to start every time.

To Reproduce

Steps to reproduce the behavior:

  1. Install & configure the add-on
  2. Click on "Developer Tools"
  3. Click on "Restart"
  4. Click on "Advanced options"
  5. Click on "Reboot system"
  6. Wait for the system to reboot
  7. Get and error message stating "Add-on Ecowitt is set to start at boot but failed to start."

Expected behavior
ecowitt2mqtt will successfully start after a full reboot.

Screenshots
image

image

Logs

# journalctl -f | grep -i ecowitt
Dec 22 07:55:28 homeassistant hassio_supervisor[509]: 2024-12-21 23:55:28.409 INFO (MainThread) [supervisor.docker.interface] Attaching to smarthall/aarch64-ecowitt2mqtt with version 2022.06.4-2
Dec 22 07:55:28 homeassistant hassio_supervisor[509]: 2024-12-21 23:55:28.579 INFO (SyncWorker_5) [supervisor.docker.manager] Removing image smarthall/aarch64-ecowitt2mqtt with latest
Dec 22 07:55:28 homeassistant hassio_supervisor[509]: 2024-12-21 23:55:28.590 INFO (SyncWorker_5) [supervisor.docker.manager] Removing image smarthall/aarch64-ecowitt2mqtt with 2022.06.4-2
Dec 22 07:55:29 homeassistant hassio_supervisor[509]: 2024-12-21 23:55:29.645 INFO (MainThread) [supervisor.docker.interface] Downloading docker image smarthall/aarch64-ecowitt2mqtt with tag 2022.06.4-2.
Dec 22 07:55:29 homeassistant hassio_supervisor[509]: 2024-12-21 23:55:29.672 ERROR (MainThread) [supervisor.docker.interface] Can't install smarthall/aarch64-ecowitt2mqtt:2022.06.4-2: 500 Server Error for http+docker://localhost/v1.47/images/create?tag=2022.06.4-2&fromImage=smarthall%2Faarch64-ecowitt2mqtt&platform=linux%2Farm64: Internal Server Error ("Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: no such host")
Dec 22 07:55:29 homeassistant hassio_supervisor[509]: 2024-12-21 23:55:29.673 INFO (MainThread) [supervisor.addons.addon] No 3390ca00_ecowitt addon Docker image smarthall/aarch64-ecowitt2mqtt found
Dec 22 07:55:29 homeassistant hassio_supervisor[509]: 2024-12-21 23:55:29.674 INFO (MainThread) [supervisor.docker.interface] Downloading docker image smarthall/aarch64-ecowitt2mqtt with tag 2022.06.4-2.
Dec 22 07:55:29 homeassistant hassio_supervisor[509]: 2024-12-21 23:55:29.701 ERROR (MainThread) [supervisor.docker.interface] Can't install smarthall/aarch64-ecowitt2mqtt:2022.06.4-2: 500 Server Error for http+docker://localhost/v1.47/images/create?tag=2022.06.4-2&fromImage=smarthall%2Faarch64-ecowitt2mqtt&platform=linux%2Farm64: Internal Server Error ("Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: no such host")
Dec 22 07:55:35 homeassistant addon_core_mosquitto[509]: [23:55:35] INFO: Setting up user ecowitt
Dec 22 07:55:53 homeassistant addon_core_mosquitto[509]: 2024-12-21 23:55:52: New client connected from 10.92.0.30:52837 as ecowitt (p2, c1, k60, u'ecowitt').
Dec 22 07:56:56 homeassistant hassio_supervisor[509]: 2024-12-21 23:56:56.315 ERROR (SyncWorker_2) [supervisor.docker.manager] Image smarthall/aarch64-ecowitt2mqtt:2022.06.4-2 does not exist for addon_3390ca00_ecowitt
Dec 22 07:56:56 homeassistant hassio_supervisor[509]: 2024-12-21 23:56:56.336 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_repair - addon / 3390ca00_ecowitt
Dec 22 07:56:56 homeassistant hassio_supervisor[509]: 2024-12-21 23:56:56.336 INFO (MainThread) [supervisor.resolution.module] Create new issue missing_image - addon / 3390ca00_ecowitt
Dec 22 07:56:56 homeassistant hassio_supervisor[509]: 2024-12-21 23:56:56.338 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_start - addon / 3390ca00_ecowitt
Dec 22 07:56:56 homeassistant hassio_supervisor[509]: 2024-12-21 23:56:56.339 INFO (MainThread) [supervisor.resolution.module] Create new suggestion disable_boot - addon / 3390ca00_ecowitt
Dec 22 07:56:56 homeassistant hassio_supervisor[509]: 2024-12-21 23:56:56.340 INFO (MainThread) [supervisor.resolution.module] Create new issue boot_fail - addon / 3390ca00_ecowitt
Dec 22 07:56:56 homeassistant hassio_supervisor[509]: 2024-12-21 23:56:56.341 WARNING (MainThread) [supervisor.addons.manager] Can't start Add-on 3390ca00_ecowitt
Dec 22 07:57:03 homeassistant hassio_supervisor[509]: 2024-12-21 23:57:03.317 INFO (MainThread) [supervisor.docker.interface] Downloading docker image smarthall/aarch64-ecowitt2mqtt with tag 2022.06.4-2.
@bachya
Copy link
Owner

bachya commented Jan 10, 2025

I'm running HASS 2025.1.1 with the latest add-on and cannot reproduce this: my add-on starts correctly. Can you enable verbose logging and share any additional details?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants