home-assistant / supervisor

:house_with_garden: Home Assistant Supervisor
https://home-assistant.io/hassio/
Apache License 2.0
1.79k stars 654 forks source link

2024.11.2 installation - Failed to get core logs, e.callApiRaw #5395

Closed stain3565 closed 2 weeks ago

stain3565 commented 3 weeks ago

Describe the issue you are experiencing

Attempted to install. Fails every time.

My Home Assistant is a Home Assistant Yellow

What type of installation are you running?

Home Assistant Supervised

Which operating system are you running on?

Home Assistant Operating System

Steps to reproduce the issue

  1. Simply click install
  2. ...

Anything in the Supervisor logs that might be useful for us?

2024-11-06 16:10:19.110 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.
2024-11-06 16:10:20.108 ERROR (MainThread) [supervisor.supervisor] Can't fetch AppArmor profile https://version.home-assistant.io/apparmor_stable.txt: Timeout
2024-11-06 16:10:20.109 CRITICAL (MainThread) [supervisor.supervisor] Abort update because of an issue with AppArmor: Can't fetch AppArmor profile https://version.home-assistant.io/apparmor_stable.txt: Timeout
2024-11-06 16:10:50.108 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.
2024-11-06 16:11:20.305 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-7716855' coro=<Addon.watchdog_container() done, defined at /usr/src/supervisor/supervisor/addons/addon.py:1468> exception=AddonsJobError('Rate limit exceeded, more than 10 calls in 0:30:00')>
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/addons/addon.py", line 1482, in watchdog_container
    await self._restart_after_problem(event.state)
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 291, in wrapper
    raise on_condition(
supervisor.exceptions.AddonsJobError: Rate limit exceeded, more than 10 calls in 0:30:00

System Health information

System Information

version core-2024.10.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.31-haos-raspi
arch aarch64
timezone Europe/London
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok HACS Data | ok GitHub API Calls Remaining | 5000 Installed Version | 2.0.1 Stage | running Available Repositories | 1476 Downloaded Repositories | 71
AccuWeather can_reach_server | ok -- | -- remaining_requests | 17
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | 29 September 2025 at 01:00 relayer_connected | true relayer_region | eu-central-1 remote_enabled | true remote_connected | true alexa_enabled | true google_enabled | true remote_server | eu-central-1-9.ui.nabu.casa certificate_status | ready instance_id | 2334dad093c247fa8b69b2c522f4a8b0 can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 13.2 -- | -- update_channel | stable supervisor_version | supervisor-2024.10.3 agent_version | 1.6.0 docker_version | 27.2.0 disk_total | 469.4 GB disk_used | 39.0 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | false ntp_synchronized | true virtualization | board | yellow supervisor_api | ok version_api | ok installed_addons | Matter Server (6.6.0), Terminal & SSH (9.15.0), MariaDB (2.7.1), Z-Wave JS UI (3.17.0), Studio Code Server (5.17.2), Mosquitto broker (6.4.1), Samba share (12.3.2), Grafana (10.1.3), InfluxDB (5.0.1), AppDaemon (0.16.7), Duck DNS (1.18.0), File editor (5.8.0), Z-Wave JS (0.9.0), Zigbee2MQTT (1.41.0-1), Ring-MQTT with Video Streaming (5.7.2), Samba NAS (12.2.0-nas2), TasmoAdmin (0.30.6), Ring Livestream (1.35), Samba Backup (5.2.0), Node-RED (18.1.1), ESPHome (2024.10.2), Piper (1.5.2), Whisper (2.2.0), openWakeWord (1.10.0), Git pull (7.14.1), JupyterLab (0.15.4)
Dashboards dashboards | 8 -- | -- resources | 46 views | 71 mode | storage
Recorder oldest_recorder_run | 30 October 2024 at 12:57 -- | -- current_recorder_run | 6 November 2024 at 15:36 estimated_db_size | 2204.41 MiB database_engine | mysql database_version | 10.11.6
Sonoff version | 3.8.1 (ffa7e22) -- | -- cloud_online | 1 / 1 local_online | 1 / 1

Supervisor diagnostics

config_entry-hassio-a1155c7fe5f57cf41caafd8ab6b2aec2.json

Additional information

No response

Marinko67 commented 3 weeks ago

Just installed Supervisor 2024.11.2 -> Result: No Supervisor information viewable -> Just a blue circle Switching to show Core Information resultes in "Failed to get core logs, e.callApiRaw is not a function"

muhlpachr commented 3 weeks ago

Just installed Supervisor 2024.11.2 -> Result: No Supervisor information viewable -> Just a blue circle Switching to show Core Information resultes in "Failed to get core logs, e.callApiRaw is not a function"

Same for me, core-2024.10.4, Home Assistant OS 13.2

Obicom commented 3 weeks ago

Same for me ... image image

Arakon commented 3 weeks ago

Same, still running core 2024.10.3, though.

DanGarion commented 3 weeks ago

I too am having the same issue after updating to Supervisor 11.2 this morning.

cosminr86 commented 3 weeks ago

me too! can't see the logs of the addons. but if i download the log file, it appears normaly.

thamow commented 3 weeks ago

I experience the same issue from within the add on section, however I am able to see all logs via the Settings -> System -> Logs page. Can anyone check to see if this is true for you as well?

DbilliT commented 3 weeks ago

Just installed HA today, got the same issue for every add-on logs image

csdinos commented 3 weeks ago

I have the same issue. Let me know if there are any system logs that might be helpful.

cosminr86 commented 3 weeks ago

updating to core beta 2024.11.0b9 solved the issue

fl0rian089 commented 3 weeks ago

i've got the same problem with my ha os vm. updated the supervisor and then e.callApiRaw

thamow commented 3 weeks ago

I experience the same issue from within the add on section, however I am able to see all logs via the Settings -> System -> Logs page. Can anyone check to see if this is true for you as well?

@fl0rian089 could you check this real quick?

fl0rian089 commented 3 weeks ago

yes i can confirm, that i can access all logs via settings -> system -> logs page :-)

lcavalli commented 3 weeks ago

Same here. Upgraded to 2024.11.0 right now, but the issue seems to be still present.

nielsclavaux commented 3 weeks ago

I have the same issue after updating.

thorkseng commented 3 weeks ago

Try to update the cache of the browser, I am using Edge, and with shift + F5 it works correctly and return the logs.

DanGarion commented 3 weeks ago

Appears logs have been "updated" with the release of core 11.0. Has anyone else noticed?

fl0rian089 commented 3 weeks ago

just updated to core 2024.11.0, problem is gone.

herkne commented 3 weeks ago

In my installation it has the wrong architecture for the homassistant image:

REPOSITORY TAG IMAGE ID CREATED SIZE ghcr.io/home-assistant/aarch64-hassio-supervisor 2024.11.2 f9f659d3d2e9 22 hours ago 396MB ghcr.io/home-assistant/aarch64-hassio-supervisor latest f9f659d3d2e9 22 hours ago 396MB ghcr.io/home-assistant/generic-x86-64-homeassistant landingpage f08e0e4de1e3 4 weeks ago 6.31MB ghcr.io/home-assistant/aarch64-hassio-cli 2024.09.0 5ed35e87800b 5 weeks ago 64.2MB ghcr.io/home-assistant/aarch64-hassio-dns 2024.04.0 e91be38e9ff1 7 months ago 67.7MB ghcr.io/home-assistant/aarch64-hassio-multicast 2024.03.0 8becb27d9446 7 months ago 51.9MB ghcr.io/home-assistant/aarch64-hassio-audio 2023.12.0 06eec6839c57 11 months ago 87.5MB ghcr.io/home-assistant/aarch64-hassio-observer 2023.06.0 1b4771b44876 16 months ago 7.49MB

agners commented 2 weeks ago

Supervisor update 2024.11.3 is now on the stable channel, so add-on logs should be working again after that update, hence I am closing this issue.

For those who still see the issue after updating Core to 2024.11.0 or later, this should be resolved after a frontend reload. You might have to do this manually using F5 or Ctrl+F5.

@herkne your issue is not related to this issue. Please report a new issue.

agners commented 2 weeks ago

Ugh I see, OP actually reported a different issue than the frontend issue everyone was chiming in :cry:

@stain3565 sorry about that! Best is if you check if you can reproduce the problem still on the latest version, and if so open a new issue. Please use not (just) the version number as title so people don't start to add unrelated issues to your issue.

adekloet commented 2 weeks ago

Supervisor update 2024.11.3 is now on the stable channel, so add-on logs should be working again after that update, hence I am closing this issue.

For those who still see the issue after updating Core to 2024.11.0 or later, this should be resolved after a frontend reload. You might have to do this manually using F5 or Ctrl+F5.

@herkne your issue is not related to this issue. Please report a new issue.

I get an error wehn trying to install the supervisor 11.3: (Do I have to wait a while for it to be available everywhere?

Failed to perform the action update/install. Error updating Home Assistant Supervisor: Update of Supervisor failed: Can't install ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.11.3: 404 Client Error for http+docker://localhost/v1.47/images/ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.11.3/json: Not Found ("No such image: ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.11.3")

gladiacHD commented 2 weeks ago

Supervisor update 2024.11.3 is now on the stable channel, so add-on logs should be working again after that update, hence I am closing this issue. For those who still see the issue after updating Core to 2024.11.0 or later, this should be resolved after a frontend reload. You might have to do this manually using F5 or Ctrl+F5. @herkne your issue is not related to this issue. Please report a new issue.

I get an error wehn trying to install the supervisor 11.3: (Do I have to wait a while for it to be available everywhere?

Failed to perform the action update/install. Error updating Home Assistant Supervisor: Update of Supervisor failed: Can't install ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.11.3: 404 Client Error for http+docker://localhost/v1.47/images/ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.11.3/json: Not Found ("No such image: ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.11.3")

I've got the exact same error message when trying to update the supervisor... Any updates on this case?

clevermarketing commented 2 weeks ago

i have the same issues on my new Home Assitent green

Bildschirmfoto 2024-11-11 um 12 10 52

GeorgesVDR commented 2 weeks ago

Same issue here :)

rc60 commented 2 weeks ago

Same here, too

wendevlin commented 2 weeks ago

FYI, you can check your addon logs via the core logs. Settings/System/Logs and use the dropdown on the top right.

FlavioRadice commented 1 week ago

updating to core beta 2024.11.0b9 solved the issue

Thanks! this is working !