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.

Version of HACS

newest

Describe the bug

when accessing hacs page, the overview page i empty, every item in the store tab is set to “new” and whenever i access the settings tab it throws an error 500

Debug log

2019-08-01 10:43:55 DEBUG (MainThread) [homeassistant.components.history] Extracted 84 states in 0.125311s
2019-08-01 10:43:57 DEBUG (MainThread) [homeassistant.components.http.view] Serving /hacsweb/9dedebb0-2d70-409f-b0dd-e95c3b394035-fd770e10-0aec-488b-b3be-39dbca8cbda7/overview to 213.125.155.60 (auth: False)
2019-08-01 10:43:57 DEBUG (MainThread) [custom_components.hacs.web] Endpoint (overview) called
2019-08-01 10:43:57 DEBUG (MainThread) [homeassistant.components.http.view] Serving /hacsweb/9dedebb0-2d70-409f-b0dd-e95c3b394035-fd770e10-0aec-488b-b3be-39dbca8cbda7/static/materialize.min.css.gz to 213.125.155.60 (auth: False)
2019-08-01 10:43:57 DEBUG (MainThread) [custom_components.hacs.web] Endpoint (static) called
2019-08-01 10:43:57 DEBUG (MainThread) [homeassistant.components.http.view] Serving /hacsweb/9dedebb0-2d70-409f-b0dd-e95c3b394035-fd770e10-0aec-488b-b3be-39dbca8cbda7/static/all.min.css.gz to 213.125.155.60 (auth: False)
2019-08-01 10:43:57 DEBUG (MainThread) [custom_components.hacs.web] Endpoint (static) called
2019-08-01 10:43:57 DEBUG (MainThread) [homeassistant.components.http.view] Serving /hacsweb/9dedebb0-2d70-409f-b0dd-e95c3b394035-fd770e10-0aec-488b-b3be-39dbca8cbda7/static/materialize.min.js.gz to 213.125.155.60 (auth: False)
2019-08-01 10:43:57 DEBUG (MainThread) [custom_components.hacs.web] Endpoint (static) called
2019-08-01 10:43:57 DEBUG (MainThread) [homeassistant.components.http.view] Serving /hacsweb/9dedebb0-2d70-409f-b0dd-e95c3b394035-fd770e10-0aec-488b-b3be-39dbca8cbda7/static/static/hacs.css to 213.125.155.60 (auth: False)
2019-08-01 10:43:57 DEBUG (MainThread) [custom_components.hacs.web] Endpoint (static) called
2019-08-01 10:43:57 DEBUG (MainThread) [homeassistant.components.http.view] Serving /hacsweb/9dedebb0-2d70-409f-b0dd-e95c3b394035-fd770e10-0aec-488b-b3be-39dbca8cbda7/static/hacs.js to 213.125.155.60 (auth: False)
2019-08-01 10:43:57 DEBUG (MainThread) [custom_components.hacs.web] Endpoint (static) called
2019-08-01 10:44:01 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.hacs, old_state=<state sensor.hacs=unknown; unit_of_measurement=pending update(s), friendly_name=hacs, icon=mdi:package @ 2019-08-01T11:43:30.759051+02:00>, new_state=<state sensor.hacs=0; unit_of_meas$
2019-08-01 10:44:01 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1725833424] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=sensor.hacs, old_state=<state sensor.hacs=unknown; unit_of_measurement=pending update(s), friendly_name=hacs, icon=mdi:package @ 2$

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Lucus123commented, Aug 1, 2019

fixed it: i have remove the .storage/hacs file, then removed the /custom_components/hacs folder then i commented out the hacs parts in the config file, renamed the home-assistant database then restarted homeassistant, after that i re-cloned the git repository and did the install process again. problem solved, everything runs.

probable cause: restarting the home-assistant service while the .storage/hacs file was being populated with data causing it to go corrupt.

0reactions
ludeeuscommented, Aug 1, 2019

There is your issue, that file is no longer valis json… (This can happen if you have manually changed that file.) If you have a backup of it, overwrite it with that file. if not delete it and restart HA (you will not get your overview back, but HACS will start working again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

500 Internal Server Error - HTTP - MDN Web Docs - Mozilla
The HyperText Transfer Protocol (HTTP) 500 Internal Server Error server error response code indicates that the server encountered an ...
Read more >
HTTP 500 Internal Server Error: What It Means & How to Fix It
An HTTP 500 internal server error is a general error message. It covers unexpected issues that don't fit into existing error codes. HTTP...
Read more >
How to fix HTTP 500 internal server error? - IONOS
The “Internal Server Error” can occur when the request is processed by the web server. The collective status code includes everything unplanned ...
Read more >
How to Fix a 500 Internal Server Error - Lifewire
The 500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the website's server, but...
Read more >
What is “HTTP 500 Internal Server Error” and How to Fix It?
The HTTP 500 error, in particular, indicates that the server encountered an unexpected condition that prevented it from fulfilling the request. In other...
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