HACS has recently disappeared from my frontpage, taking all add-ons with it. I have tried deleting the HACS folder in .storage, it didn’t help, I didn’t back it up because I am sometimes very stupid.
I get two relevant errors:
Logger: homeassistant.util.json
Source: util/json.py:32
First occurred: 14:56:08 (1 occurrences)
Last logged: 14:56:08
Could not parse JSON content: /config/.storage/hacs.hacsTraceback (most recent call last): File "/usr/src/homeassistant/homeassistant/util/json.py", line 32, in load_json return json.loads(fdesc.read()) # type: ignore File "/usr/local/lib/python3.8/json/__init__.py", line 357, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Logger: homeassistant.config_entries
Source: util/json.py:38
First occurred: 14:56:08 (1 occurrences)
Last logged: 14:56:08
Error setting up entry for hacsTraceback (most recent call last): File "/usr/src/homeassistant/homeassistant/util/json.py", line 32, in load_json return json.loads(fdesc.read()) # type: ignore File "/usr/local/lib/python3.8/json/__init__.py", line 357, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 222, in async_setup result = await component.async_setup_entry( # type: ignore File "/config/custom_components/hacs/__init__.py", line 30, in async_setup_entry return await hacs_ui_setup(hass, config_entry) File "/config/custom_components/hacs/operational/setup.py", line 61, in async_setup_entry return await async_startup_wrapper_for_config_entry() File "/config/custom_components/hacs/operational/setup.py", line 86, in async_startup_wrapper_for_config_entry startup_result = await async_hacs_startup() File "/config/custom_components/hacs/operational/setup.py", line 172, in async_hacs_startup if not await hacs.data.restore(): File "/config/custom_components/hacs/hacsbase/data.py", line 92, in restore hacs = await async_load_from_store(self.hacs.hass, "hacs") File "/config/custom_components/hacs/helpers/functions/store.py", line 14, in async_load_from_store restored = await store.async_load() File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 100, in async_load return await self._load_task File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 112, in _async_load data = await self.hass.async_add_executor_job( File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/homeassistant/homeassistant/util/json.py", line 38, in load_json raise HomeAssistantError(error) homeassistant.exceptions.HomeAssistantError: Expecting value: line 1 column 1 (char 0)