From f104e60afa067f3108a9d633144154d894323936 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 8 Sep 2020 11:11:20 +0200 Subject: [PATCH 1/3] Bump version 242 --- supervisor/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/const.py b/supervisor/const.py index ee32e5d7a..2321de831 100644 --- a/supervisor/const.py +++ b/supervisor/const.py @@ -3,7 +3,7 @@ from enum import Enum from ipaddress import ip_network from pathlib import Path -SUPERVISOR_VERSION = "241" +SUPERVISOR_VERSION = "242" URL_HASSIO_ADDONS = "https://github.com/home-assistant/hassio-addons" URL_HASSIO_APPARMOR = "https://version.home-assistant.io/apparmor.txt" From 2418122b460d632d2b9ae259ffa57e44539042a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Tue, 8 Sep 2020 13:44:20 +0200 Subject: [PATCH 2/3] Fixes issue with starting core after restore (#2030) --- supervisor/snapshots/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/supervisor/snapshots/__init__.py b/supervisor/snapshots/__init__.py index a45e63aa2..92452b86d 100644 --- a/supervisor/snapshots/__init__.py +++ b/supervisor/snapshots/__init__.py @@ -258,7 +258,7 @@ class SnapshotManager(CoreSysAttributes): # finish homeassistant task _LOGGER.info("Restore %s wait until homeassistant ready", snapshot.slug) await task_hass - await self.sys_homeassistant.start() + await self.sys_homeassistant.core.start() except Exception: # pylint: disable=broad-except _LOGGER.exception("Restore %s error", snapshot.slug) @@ -327,7 +327,7 @@ class SnapshotManager(CoreSysAttributes): # Do we need start HomeAssistant? if not await self.sys_homeassistant.core.is_running(): - await self.sys_homeassistant.start() + await self.sys_homeassistant.core.start() # Check If we can access to API / otherwise restart if not await self.sys_homeassistant.api.check_api_state(): From a0261dbbcc529c9f8d6701112765edea9106ec65 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 8 Sep 2020 13:50:33 +0200 Subject: [PATCH 3/3] Make sure we use localhost for watchdog (#2031) --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 305fcce0b..f462eee94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,8 @@ ARG BUILD_FROM FROM $BUILD_FROM ENV \ - S6_SERVICES_GRACETIME=10000 + S6_SERVICES_GRACETIME=10000 \ + SUPERVISOR_API=http://localhost # Install base RUN \