#HACS - Failed to set up

1 messages · Page 1 of 1 (latest)

thick brook
#

I did have a working version of HACS, but I rebuilt my HAOS VM and when I tried to install it again, following the instructions to the letter, the Integration in the UI says 'Failed to setup'. The logs say "Could not read /config/.storage/hacs.repositories" and Could not parse JSON content: /config/.storage/hacs.repositories. Any ideas?

grand locust
#

Do you have any HACS integrations set up yet or you're just trying to get it working?

thick brook
#

No it just fails when I try to add it

grand locust
#

Recommended to restore that file from a backup if you've got it.... otherwise you can remove it, but that'll make HACS forget everything

#

Would probably be interesting to see what's in that file if it's really brand new

thick brook
#

I'm not sure which file to restore?

grand locust
#

/config/.storage/hacs.repositories

thick brook
#

I'll have a look

#

it is while deleting that file and installing HACS again?

grand locust
#

I'd try just giving a restart of HA a shot after removing it

thick brook
#

just to be clear, you say 'removing it' you mean deleting it

grand locust
#

Yeah, just that single file

thick brook
#

That seems to have worked! Thanks very much. I've been struggling to resolve the issue for over a week now.