There are some commands that you could run to try to fix the issue in Home Assistant.
ha core rebuild
ha supervisor repair
ha host reboot
Note:
- The first 2 commands could take several minutes to complete.
- I found this issue after the restoration from full backup because my SDCARD was totally crashed.
- Everything is working fine after run those commands.