mirror of
https://github.com/home-assistant/supervisor.git
synced 2026-08-22 06:07:38 +01:00
App.update() passed self.arch to DockerApp.update(), which matches the system's supported architectures against the arch list of the *installed* version. When the installed version no longer supports any of the system's architectures (e.g. a 32-bit only app after 32-bit support was dropped) while the new store version does, this raised an unhandled HassioArchNotFound, surfacing as "Unexpected error during API call" (500). The availability of the store version was already validated by the caller, so the update itself is legitimate. Use the cached store data's architecture list instead, which is also the semantically correct source since it describes the image being pulled. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>