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 disappear from side panel

See original GitHub issue

Describe the bug

I installed and set everything right, and it worked for a while. and now its disappear from side panel and give me error in the log.

Debug log

2019-07-13 16:02:57 INFO (MainThread) [homeassistant.setup] Setting up hacs
2019-07-13 16:02:57 INFO (MainThread) [custom_components.hacs] 
-------------------------------------------------------------------
HACS (Home Assistant Community Store)
Version: 0.11.1
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/custom-components/hacs/issues
-------------------------------------------------------------------



2019-07-13 16:03:05 ERROR (MainThread) [homeassistant.setup] Error during setup of component hacs
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 153, in _async_setup_component
    hass, processed_config)
  File "/config/custom_components/hacs/__init__.py", line 89, in async_setup
    await configure_hacs(hass, github_token, config_dir)
  File "/config/custom_components/hacs/__init__.py", line 164, in configure_hacs
    hacs.store.restore_values()
  File "/config/custom_components/hacs/hacsdatastore.py", line 93, in restore_values
    store = self.read()
  File "/config/custom_components/hacs/hacsdatastore.py", line 32, in read
    content = json.loads(content)
  File "/usr/local/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.7/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)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ludeeuscommented, Jul 13, 2019

From those logs it looks like you removed the content of .storage/hacs or changed the permissions of that file.

0reactions
Dmxsircommented, Jul 13, 2019

thank you !!! its working again !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Side Panel Missing · Issue #1270 · hacs/integration - GitHub
It goes as said in the configuration document but still the side panel doesn't show. How do I resolve this? Is there a...
Read more >
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 >
Missing Hacs? How to repair a Hacs installation after ...
When I looked in the sidebar Hacs was no where to be seen. I checked under configuration => integrations but it was missing...
Read more >
Initial Configuration - HACS
Here you click on "Authorize hacs". Once you see the confirmation screen, you can close the tab and go back to Home Assistant....
Read more >
How To Install HACS in Home Assistant For ... - YouTube
In this video I will show you how to install HACS in Home Assistant. HACS aka Home Assistant Community Store, is a way...
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