HACS failure to finish install
See original GitHub issueSystem Health details
System Health
version | core-2021.4.6 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
virtualenv | false |
python_version | 3.8.7 |
os_name | Linux |
os_version | 5.4.83-v8 |
arch | aarch64 |
timezone | Europe/London |
Home Assistant Community Store
GitHub API | ok |
---|---|
Github API Calls Remaining | 4993 |
Installed Version | 1.11.3 |
Stage | startup |
Available Repositories | 1 |
Installed Repositories | 1 |
Home Assistant Cloud
logged_in | false |
---|---|
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
Home Assistant Supervisor
host_os | Home Assistant OS 5.13 |
---|---|
update_channel | stable |
supervisor_version | supervisor-2021.04.0 |
docker_version | 19.03.15 |
disk_total | 13.9 GB |
disk_used | 2.6 GB |
healthy | true |
supported | true |
board | rpi3-64 |
supervisor_api | ok |
version_api | ok |
installed_addons | Let’s Encrypt (4.11.0), Terminal & SSH (9.1.0), Log Viewer (0.10.2) |
Lovelace
dashboards | 1 |
---|---|
resources | 0 |
views | 1 |
mode | storage |
Checklist
- [ X ] I’m running the newest version of HACS https://github.com/hacs/integration/releases/latest
- [ X ] I have enabled debug logging for my installation.
- [ X ] I have filled out the issue template to the best of my ability.
- [ X ] I have read https://hacs.xyz/docs/issues
- [ X ] This issue is related to the backend of HACS.
- [ X ] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
Describe the issue
After installation of HACS following the docs (https://hacs.xyz/docs/installation/prerequisites), the install script runs correctly, GitHub authorised correctly, system restarted and HACS option allowed to be selected for integrations. Once it appears the setup obviously hangs and the following error is shown in the logs. Unsure of why it is struggling to read the manifest.json as it’s definitely in the custom_components folder.
Steps to reproduce
- Install of fresh version of Home Assistant OS (Raspberry Pi 3B)
- Install of HACS using docs and install script completing correctly, GitHub authorised
- Restart of HomeAssistant Server
- Integration added for HACS
- HACS menu item shown on SideBar but set as constantly installing, errors shown
Debug logs
Logs
2021-04-25 13:32:04 WARNING (MainThread) [homeassistant.loader] You are using a custom integration 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
2021-04-25 13:32:17 ERROR (MainThread) [custom_components.hacs] <Integration hacs/integration> Could not read manifest.json [encoding without a string argument]
2021-04-25 13:32:23 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/hacs/hacsbase/hacs.py", line 140, in startup_tasks
await self.handle_critical_repositories()
File "/config/custom_components/hacs/hacsbase/hacs.py", line 195, in handle_critical_repositories
critical = json.loads(critical.content)
AttributeError: 'list' object has no attribute 'content'
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
HACs.. Some intergrations wont install others wont update!
I can install in the front end without issue but when i try to install a integration it appears to install but never...
Read more >Initial Configuration - HACS
Now you can click "Submit" to complete the configuration of HACS. If something failed, you will be taken back to the Add your...
Read more >Home Assistant | Hey y'all i can not install HACS for the life of me ...I ...
Hey y'all i can not install HACS for the life of me ...I have followed every guide i can find, deleted all previous...
Read more >HACS not working after update. Reinstall/uninstall impossible.
Setup failed for hacs: Unable to import component: cannot import name ... up my whole home assistant install on top of the HACS...
Read more >How to Install Home Assistant on Raspberry Pi - LazyAdmin
1. Open Ether and click Flash from URL 2. For the Pi 4:
https://github.com/home-assistant/operating-system/releases/download/6.5/haos_rpi4-64-6.5.img.xz
For the Pi 3:
https://github.com/home-assistant/operating-system/releases/download/6.5/haos_rpi3-64-6.5.img.xz 3. Select your SD Card, keep in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s just bad luck, it will be fixed later today. in
/config/custom_components/hacs/manifest.json
, change"aiogithubapi>=21.2.0"
to"aiogithubapi==21.2.0"
and restart Home AssistantI seeing the second error after upgrading to version 1.12.1 after trying to upgrade to version 1.11.3 and getting a “HACS is starting up” message that lasted over night and through numerous restarts of HA.
In Firefox have tried Ctrl-F5 to clear the browsers cache used the browser settings to clear cookie and data for my HA url and this did not get rid of this message. I had to log in to HA after doing this so it clear cookies and it said it should clear any data. If I open the HACS page in Chromium or in a Firefox private window, I do not get this message. So it does look like it is a browser cache issue but I cannot seem to get it out of Firefox’s cache. Restarting Firefox also does not help.