hassio-addons / addon-appdaemon

AppDaemon4 - Home Assistant Community Add-ons
https://addons.community
MIT License
156 stars 48 forks source link

Dashboard widgets not display after Docker update #338

Closed sca075 closed 5 months ago

sca075 commented 5 months ago

Problem/Motivation

During regular maintenance of my home server (Debian GNU/Linux 11 (bullseye) Docker went update too:

Server: Docker Engine - Community
Engine:
Version:          26.1.0
API version:      1.45 (minimum version 1.24)
Go version:       go1.21.9
Git commit:       c8af8eb
Built:            Mon Apr 22 17:07:06 2024
OS/Arch:          linux/amd64
Experimental:     true
containerd:
Version:          1.6.31
GitCommit:        e377cd56a71523140ca6ae87e30244719194a521
runc:
Version:          1.1.12
GitCommit:        v1.1.12-0-g51d5e94
docker-init:
Version:          0.19.0
GitCommit:        de40ad0

Expected behavior

Dashboard to be display correctly.

Actual behavior

The dashboards of the livingroom and kitchen (the only two I do run) did display that there was no rendering of the state of the widgets. Refreshed the dashboard the time and accuweather (custom widget) are display the rest aren't getting the state from home assistant

Screenshot 2024-04-28 at 10 29 14

Steps to reproduce

I did un-install and set up back AppDaemon (the configuration data wasn't louse during this operation). The issue still persist I do guess because of this docker image (that actually seams to be the same version used in the HA os 12.3.rc1) I guess if you update Docker and run AppDaemon you can reproduce the issue. By the way python used on HA 2024.4.4 is 312.

2024-04-28 09:44:34.310 INFO (MainThread) [supervisor.host.manager] Host information reload completed
2024-04-28 09:48:29.145 INFO (SyncWorker_11) [supervisor.docker.manager] Stopping addon_a0d7b954_appdaemon application
2024-04-28 09:48:29.208 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API for a0d7b954_appdaemon closed
2024-04-28 09:48:33.733 INFO (SyncWorker_11) [supervisor.docker.manager] Cleaning addon_a0d7b954_appdaemon application
2024-04-28 09:48:37.332 INFO (SyncWorker_7) [supervisor.docker.manager] Removing image ghcr.io/hassio-addons/appdaemon/amd64 with latest
2024-04-28 09:48:37.336 INFO (SyncWorker_7) [supervisor.docker.manager] Removing image ghcr.io/hassio-addons/appdaemon/amd64 with 0.16.5
2024-04-28 09:48:37.547 INFO (MainThread) [supervisor.addons.addon] Removing add-on data folder /data/addons/data/a0d7b954_appdaemon
2024-04-28 09:48:37.605 INFO (MainThread) [supervisor.addons.manager] Add-on 'a0d7b954_appdaemon' successfully removed
2024-04-28 09:51:18.818 INFO (MainThread) [supervisor.addons.addon] Creating Home Assistant add-on data folder /data/addons/data/a0d7b954_appdaemon
2024-04-28 09:51:18.819 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/hassio-addons/appdaemon/amd64 with tag 0.16.5.
2024-04-28 09:52:09.385 INFO (MainThread) [supervisor.addons.manager] Add-on 'a0d7b954_appdaemon' successfully installed
2024-04-28 09:52:50.800 INFO (MainThread) [supervisor.jobs] 'MountManager.reload' blocked from execution, mounting not supported on system
2024-04-28 09:54:47.704 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/appdaemon/amd64 with version 0.16.5
2024-04-28 09:54:53.720 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
2024-04-28 09:54:53.724 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_appdaemon
2024-04-28 09:54:53.725 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
2024-04-28 10:05:55.711 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-04-28 10:07:50.801 INFO (MainThread) [supervisor.jobs] 'MountManager.reload' blocked from execution, mounting not supported on system
2024-04-28 10:22:50.803 INFO (MainThread) [supervisor.jobs] 'MountManager.reload' blocked from execution, mounting not supported on system
2024-04-28 10:34:59.041 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-04-28 10:34:59.042 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-04-28 10:34:59.042 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-04-28 10:34:59.201 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-04-28 10:34:59.202 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-04-28 10:34:59.202 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-04-28 10:34:59.203 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-04-28 10:34:59.203 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-04-28 10:34:59.203 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-04-28 10:34:59.211 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-04-28 10:34:59.212 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-04-28 10:34:59.212 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-04-28 10:34:59.344 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-04-28 10:34:59.345 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-04-28 10:34:59.345 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-04-28 10:35:55.838 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-04-28 10:37:50.805 INFO (MainThread) [supervisor.jobs] 'MountManager.reload' blocked from execution, mounting not supported on system
2024-04-28 10:37:52.433 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json

Proposed changes

It would be a nice to have that AppDaemon could allow to edit the dashboards but this isn't the point, there is some communication issue between the containers and I couldn't found yet a work around for this

sca075 commented 5 months ago

https://github.com/vche/appdaemon_weatherentity/issues/14 it is related to this issue.