Closed golfvert closed 4 years ago
Make sure you have read the issue guidelines and that you filled out the entire template.
That is not the complete startup log
Sorry ! Here it is:
this is the part that blocks it:
2020-03-08 08:22:55 DEBUG (MainThread) [hacs.repository.plugin.thomasloven.lovelace-dummy-entity-row] Checking repository.
File "/config/custom_components/hacs/hacsbase/__init__.py", line 197, in startup_tasks
File "/config/custom_components/hacs/hacsbase/__init__.py", line 386, in load_known_repositories
File "/config/custom_components/hacs/hacsbase/task_factory.py", line 30, in execute
File "/config/custom_components/hacs/hacsbase/task_factory.py", line 66, in safe_register
await hacs.register_repository(repo, category)
File "/config/custom_components/hacs/hacsbase/__init__.py", line 157, in register_repository
File "/config/custom_components/hacs/repositories/plugin.py", line 54, in registration
File "/config/custom_components/hacs/repositories/plugin.py", line 35, in validate_repository
custom_components.hacs.hacsbase.exceptions.HacsException: Repostitory structure for master is not compliant
But not sure how to fix it, since that repository is valid.
Thanks for looking into this! I have restarted HA. I have the same error but for another repo:
2020-03-08 10:37:15 DEBUG (MainThread) [hacs.repository.integration.mammuth.ha-fritzbox-tools] Checking repository.
2020-03-08 10:37:15 DEBUG (MainThread) [hacs.repository.integration.Martinvdm.garbage-nissewaard-homeassistant] Checking repository.
2020-03-08 10:37:15 DEBUG (MainThread) [hacs.repository.integration.MatthewFlamm.nwsradar] Checking repository.
File "/config/custom_components/hacs/repositories/integration.py", line 47, in validate_repository
File "/config/custom_components/hacs/hacsbase/__init__.py", line 197, in startup_tasks
File "/config/custom_components/hacs/hacsbase/__init__.py", line 386, in load_known_repositories
File "/config/custom_components/hacs/hacsbase/task_factory.py", line 30, in execute
File "/config/custom_components/hacs/hacsbase/task_factory.py", line 66, in safe_register
await hacs.register_repository(repo, category)
File "/config/custom_components/hacs/hacsbase/__init__.py", line 157, in register_repository
File "/config/custom_components/hacs/repositories/integration.py", line 83, in registration
File "/config/custom_components/hacs/repositories/integration.py", line 51, in validate_repository
custom_components.hacs.hacsbase.exceptions.HacsException: Repostitory structure for master is not compliant
2020-03-08 10:37:15 DEBUG (MainThread) [hacs.repository.integration.maykar.plex_assistant] Checking repository.
2020-03-08 10:37:15 DEBUG (MainThread) [hacs.repository.integration.mlowijs.HomeAssistant-TeslaCustomComponent] Checking repository.
The rest is OK.
Wierd, I can not replecate this.
Running hassio in a debian VM on a proxmox server. Everything else in hassio looks good...
I've the same problem! I've installed HACS on Intel NUC, with Ubuntu Desktop Ubuntu 18.04.4 LTS, and HA with supervisor v. 209
Version of HACS 0.22.3
Describe the bug After installing HACS the background task never ends and keeps running
Debug log
Is there something I can do to help debugging? At the moment, I am stuck as I can't update any components... The progress bar is always moving endlessly.
For now, I've resolved downgrading Hacs to 0.22.0. Tomorrow I'll try to install the latest (0.23.2) hacs version. stay tuned ;-)
How do you do it? I can't do it with the interface as it is busy with the progress bar :)
I do it with my ssh terminal...
ssh works always :-)
You can download hacs.zip via wget, unzip it (with -d option to create target directory), and then copy extracted diretory to "custom_components" (located in the same directory of configuration.yaml).
Before copy the new hacs files, be sure to "remove" old directory ;-)
now restart, and enjoy!
For my instance it works, and this morning I've upgraded hacs to 0.23.2 via UI and now it works fine! :-)
Silly me... I just replace the content of the hacs folder with the 0.22.0 release and it is OK. However, I have "lost" what has been installed. Is there a file/directory which list the installed plugins/integration that I can put back? Integrations are working but from HACS point of view they are not installed...
I've no idea. I've lost nothing.
Can you try to reinstall what have you lost?
however my plugin files are under
/usr/share/hassio/homeassistant/custom_components
I had the same issue a couple different times. Upgraded to 0.23.2 and it seems to be working now.
How did you stop the background task to be able to upgrade? The answer above seems like it would remove all integrations.
Version of HACS 0.22.3
Describe the bug After installing HACS the background task never ends and keeps running
Debug log
Logs
``` 2020-03-08 00:18:40 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.material-dark-red] themes 2020-03-08 00:18:40 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.material-dark-red] themes/template.yaml 2020-03-08 00:18:41 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] .githooks.ini 2020-03-08 00:18:41 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] .github 2020-03-08 00:18:41 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] .github/FUNDING.yml 2020-03-08 00:18:41 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] .gitignore 2020-03-08 00:18:41 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] .travis.yml 2020-03-08 00:18:41 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] .yamllint 2020-03-08 00:18:41 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] INFO.md 2020-03-08 00:18:41 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] README.md 2020-03-08 00:18:41 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] docs 2020-03-08 00:18:41 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] docs/theme-front.png 2020-03-08 00:18:41 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] docs/theme-mobile-front.png 2020-03-08 00:18:41 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] hacs.json 2020-03-08 00:18:41 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] requirements.txt 2020-03-08 00:18:41 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] themes 2020-03-08 00:18:41 DEBUG (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] themes/blackened.yaml 2020-03-08 00:18:41 INFO (MainThread) [hacs.repository.theme.home-assistant-community-themes.vaporwave-pink] Registration complete 2020-03-08 00:18:41 INFO (MainThread) [hacs.repository.theme.home-assistant-community-themes.material-dark-red] Registration complete 2020-03-08 00:18:41 INFO (MainThread) [hacs.repository.theme.home-assistant-community-themes.blackened] Registration complete 2020-03-08 00:24:15 DEBUG (MainThread) [hacs] Running set_state for hacs/integration 2020-03-08 00:24:15 DEBUG (MainThread) [hacs] Running set_version for hacs/integration 2020-03-08 00:24:15 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Getting repository information 2020-03-08 00:25:44 DEBUG (MainThread) [hacs] Running set_state for custom-components/readme 2020-03-08 00:25:44 DEBUG (MainThread) [hacs] Running update for custom-components/readme 2020-03-08 00:25:44 DEBUG (MainThread) [hacs.repository.integration.custom-components.readme] Getting repository information ```