Here is my home-assistant.log file. There are some errors. What can I do to fix the issue?
2021-08-12 21:30:00 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2021-08-12 21:30:01 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=76 from 2021-08-12 22:19:38.308527)
2021-08-12 21:30:03 ERROR (SyncWorker_1) [homeassistant.util.json] Could not parse JSON content: /config/.storage/core.device_registry
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.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1891 column 13 (char 67240)
2021-08-12 21:30:03 ERROR (MainThread) [root] Uncaught exception
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.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1891 column 13 (char 67240)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/src/homeassistant/homeassistant/__main__.py", line 322, in <module>
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/__main__.py", line 314, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 108, in run
return asyncio.run(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/usr/src/homeassistant/homeassistant/runner.py", line 94, in setup_and_run_hass
hass = await bootstrap.async_setup_hass(runtime_config)
File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 129, in async_setup_hass
await async_from_config_dict(config_dict, hass) is not None
File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 239, in async_from_config_dict
await _async_set_up_integrations(hass, config)
File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 531, in _async_set_up_integrations
await asyncio.gather(
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 633, in async_load
await hass.data[DATA_REGISTRY].async_load()
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 486, in async_load
data = await self._store.async_load()
File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 108, in async_load
return await self._load_task
File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 113, in _async_load
return await self._async_load_data()
File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 127, in _async_load_data
data = await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, 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 1891 column 13 (char 67240)