Hey all, I have not been paying close attention to my HA install in docker since around 0.115 and once it auto-updated to 0.118.4, some things broke that forced me to log in and clean up my configuration.yaml.
The last bit that has me scratching my head and begging for assistance is the following from the logs:
2020-11-30 18:31:08 ERROR (SyncWorker_1) [homeassistant.util.json] Could not parse JSON content: /config/.storage/mobile_app
Traceback (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)
2020-11-30 18:31:08 ERROR (MainThread) [homeassistant.setup] Error during setup of component mobile_app
Traceback (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)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 213, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/mobile_app/__init__.py", line 40, in async_setup
app_config = await store.async_load()
File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 105, in async_load
return await self._load_task
File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 110, in _async_load
return await self._async_load_data()
File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 124, in _async_load_data
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) from error
homeassistant.exceptions.HomeAssistantError: Expecting value: line 1 column 1 (char 0)
2020-11-30 18:31:09 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: mobile_app
Can someone help point me in the right direction with this??
EDIT: For what it’s worth, the content of /config/.storage/mobile_app that the first line from the log above complains about is empty – not sure if that’s normal as I’ve never noticed the .storage hidden directory before in my config.