Integration: [Expecting value: line 1 column 1 (char 0)] Restore Failed!

Created on 8 Oct 2019  路  2Comments  路  Source: hacs/integration

Version of HACS

0.15.0

Describe the bug

The Community tab always says: "The frontend of HACS have been disabled until you restart Home Assistant". although I have just restarted.

Debug log


2019-10-08 22:33:30 WARNING (MainThread) [homeassistant.components.frontend] Overwriting integration hacs_web
2019-10-08 22:33:30 CRITICAL (MainThread) [hacs.data] [Expecting value: line 1 column 1 (char 0)] Restore Failed!
2019-10-08 22:33:30 WARNING (MainThread) [homeassistant.components.frontend] Removing unknown panel community

Add your logs here.

Most helpful comment

Same as https://github.com/custom-components/hacs/issues?q=is%3Aissue+%5BExpecting+value%3A+line+1+column+1+%28char+0%29%5D+is%3Aclosed

Cause

One or more of the hacs files under .storage is corrupted (blank).

Resolution

If you have backup of that directory

  1. Restore all hacs files in the the .storage directory (you will find this in the same direcory as configuration.yaml).
  2. Restart Home Assistant.

_Everything you have installed/updated/removed after the backup is lost, and you need to redo those actions._

If you don't have backup of that directory

  1. Remove all hacs files from the .storage directory (you will find this in the same direcory as configuration.yaml).
  2. Restart Home Assistant.

_Everything you have installed/updated/removed is lost, and you need to redo those actions._

All 2 comments

Same as https://github.com/custom-components/hacs/issues?q=is%3Aissue+%5BExpecting+value%3A+line+1+column+1+%28char+0%29%5D+is%3Aclosed

Cause

One or more of the hacs files under .storage is corrupted (blank).

Resolution

If you have backup of that directory

  1. Restore all hacs files in the the .storage directory (you will find this in the same direcory as configuration.yaml).
  2. Restart Home Assistant.

_Everything you have installed/updated/removed after the backup is lost, and you need to redo those actions._

If you don't have backup of that directory

  1. Remove all hacs files from the .storage directory (you will find this in the same direcory as configuration.yaml).
  2. Restart Home Assistant.

_Everything you have installed/updated/removed is lost, and you need to redo those actions._

Thanks @ludeeus

Restoring these files as said, everything is working again :-)

Regards.

Was this page helpful?
0 / 5 - 0 ratings