I’m also having this exact same issue, right after updating HACS.
Edit - Here is my log:
-------------------------------------------------------------------
HACS (Home Assistant Community Store)
Version: 1.0.3
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/hacs/integration/issues
-------------------------------------------------------------------
2020-05-25 18:50:49 INFO (MainThread) [hacs.data] Restore started
2020-05-25 18:50:49 ERROR (SyncWorker_21) [homeassistant.util.json] JSON file reading failed: /config/.storage/hacs/120370503.hacs
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/util/json.py", line 31, in load_json
with open(filename, encoding="utf-8") as fdesc:
NotADirectoryError: [Errno 20] Not a directory: '/config/.storage/hacs/120370503.hacs'
2020-05-25 18:50:49 CRITICAL (MainThread) [hacs.data] [[Errno 20] Not a directory: '/config/.storage/hacs/120370503.hacs'] Restore Failed!
2020-05-25 18:50:49 INFO (MainThread) [hacs] Disabling HACS
2020-05-25 18:50:49 INFO (MainThread) [hacs] Removing recuring tasks
2020-05-25 18:50:49 INFO (MainThread) [hacs] Removing sidepanel
2020-05-25 18:50:49 INFO (MainThread) [hacs] HACS is now disabled
2020-05-25 18:50:49 WARNING (MainThread) [homeassistant.config_entries] Config entry for hacs not ready yet. Retrying in 80 seconds.
So on my case I solved the issue requesting a new github token, removing hass integration from HA integration panel and re-adding it with the new token
I believe they mean folder, not file. When in doubt, rename. I renamed the folder to hacs-old, refreshed the screen, and HACS was back. Now I can delete the folder.
For me HACS was missing because I had downloaded/installed but hadn’t gone through the initial configuration steps as listed here Initial Configuration | HACS make sure you do that and then it will show on your sidebar.