question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HACS option in sidebar missing

See original GitHub issue

Installation details

Description Value
HACS version 1.0.1
Home Assistant version 0.110.1
Installation method for HA HassOS/VM
Web browser Chrome
Web browser version 81

Checklist

Describe the issue

I upgraded from 0.23 to 1.0.1 since my ui didn’t look right after updating to 0.110.1 I was hoping an update will fix it. After the update and restart HACS is missing from the sidebar. Also when I load pages a giant HACS icon shows briefly and is visible on the Configuration screen if you scroll down. I can not find a way to launch HACS. going to my HA url /hacs shows 404 error.

Steps to reproduce

      1. Update from 0.23 to 1.0.1 via the UI and restart HA.

Screenshots

image

Javascript logs from your browser console

image

Logs

PASTE YOUR DEBUG LOGS HERE

2020-05-24 00:00:29 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-05-24 00:00:33 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for nwsradar which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-05-24 00:01:07 ERROR (SyncWorker_5) [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-24 00:01:07 CRITICAL (MainThread) [hacs.data] [[Errno 20] Not a directory: '/config/.storage/hacs/120370503.hacs'] Restore Failed!
2020-05-24 00:01:08 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:reportStateAndNotification failed: 404
2020-05-24 00:01:08 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:reportStateAndNotification failed: 404
2020-05-24 00:01:08 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:reportStateAndNotification failed: 404
2020-05-24 00:01:08 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:reportStateAndNotification failed: 404
2020-05-24 00:01:08 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:reportStateAndNotification failed: 404
2020-05-24 00:01:08 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:reportStateAndNotification failed: 404
2020-05-24 00:01:08 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:reportStateAndNotification failed: 404
2020-05-24 00:01:08 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:reportStateAndNotification failed: 404
2020-05-24 00:01:08 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:reportStateAndNotification failed: 404
2020-05-24 00:01:08 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:reportStateAndNotification failed: 404
2020-05-24 00:01:08 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:reportStateAndNotification failed: 404
2020-05-24 00:01:48 ERROR (MainThread) [frontend.js.latest.202005191] https://ha.hassio.kewlshells.com/hacsfiles/custom-header/custom-header.js:1:16344 Uncaught TypeError: Cannot read property 'style' of null
2020-05-24 00:02:01 ERROR (MainThread) [frontend.js.latest.202005191] https://ha.hassio.kewlshells.com/hacsfiles/custom-header/custom-header.js:1:16344 Uncaught TypeError: Cannot read property 'style' of null
2020-05-24 00:02:08 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:reportStateAndNotification failed: 404
2020-05-24 00:05:18 ERROR (MainThread) [frontend.js.latest.202005191] https://ha.hassio.kewlshells.com/hacsfiles/custom-header/custom-header.js:1:16344 Uncaught TypeError: Cannot read property 'style' of null
2020-05-24 00:10:41 WARNING (MainThread) [homeassistant.components.ring] Error fetching Ring device data: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))


Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
nhorvathcommented, May 24, 2020

I did several things and it appears to be working now. I removed hacs: from my yaml config. I renamed .storage/hacs file to .storage/hacs.bak. I uninstalled the integration. I added the integration. I entered my github token and selected my Area. I think the main problem was hacs was trying to save stuff to .storage/hacs/#####.json but there was a file named .storage/hacs so it couldn’t create the directory.

0reactions
nhorvathcommented, May 26, 2020

No just hacs with no extension.

On Mon, May 25, 2020, 10:35 AM ottelo9 notifications@github.com wrote:

Do I have to delete hacs.critical hacs.hacs hacs.removed hacs.repositories under config/.sotrage/ ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hacs/integration/issues/1240#issuecomment-633601092, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABIJXGSVEVAICWOZAUCP5TRTJ6ZRANCNFSM4NIXFDYQ .

Read more comments on GitHub >

github_iconTop Results From Across the Web

HACS Sidebar Missing - Home Assistant Community
I am currently on HASS 110.2 and when i tried to update HACS to 1.0.3 i get errors in my log and the...
Read more >
Configuration options - HACS
In your Home Assistant UI go to the Integrations panel​ · Select "Options" on the card for "HACS"​ · Options​ · Click submit...
Read more >
How to install & use Home Assistant Community Store (HACS)
Here is how to do this. Go to HACS section again (in the left sidebar of Home Assistant) > Integrations > Explore &...
Read more >
Customizing the Home Assistant sidebar by adding 3 ...
Fortunately with the help of this blog post here I was able to find a way to add sidebar items linking to pretty...
Read more >
Help W/ troubleshooting what I'm missing (Attempting to install ...
I have installed HACS Go into hacs on side bar Find adaptive ... It returns me to the original app page with the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found