Closed JHenzi closed 4 years ago
Getting lots of errors on starting 105.2 here as well. Downgrading docker-image to 105.1 works fine.
@Olen I'll try 105.1, but even going back to .104 doesn't fix it.
I nuked init.py and it feels like everything is back - is this safe?
I nuked init.py and it feels like everything is back - is this safe?
What do you mean by nuking?
I moved it out of this folder, all the integrations remain.
How is the file structure now?
I moved custom_components back, but without the init file, everything is back to 'normal'. Is this file usually cleaned up after HACS/another install?
I am not sure what went wrong but you should not
have a init.py file directly in the custom_components folder e.g. .../custom_components/init.py.
This is the usual file structure:
/custom_components/component_a/init.py
/custom_components/component_b/init.py
/custom_components/component_c/init.py
If I am understanding you correctly, you moved the init file back into the respective folder and therefore cleaned up the issue manually. Yes, that is the correct way since this file seems to be out of place or rather its folder.
I am going to close this issue now, if you have any other issues concerning custom_components
and their installation with HACS please open an issue there.
I figured it out anyway, sorry I didn't update.
Somehow I think I pushed old files back to the production config, including init.py. Once I removed it HA was back to normal.
The problem
HA (in docker, latest tag/stable/dev) will not load any custom integrations, custom components.
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information
Upgraded to latest by pulling the newest docker latest image, upon reboot started seeing failures to load Node Red and HACS integrations. Everything else that came from HACS is also disabled (i.e. Lovelace plugsins). I've removed the custom_integrations folder and restarted, replaced it, restarted with/without this 100 times it feels like. I've checked, docker should be able to see the directories (chown to the user/to root/etc). Deleted HACS files in storage. Deps folder in config gets recreated upon reboot but nothing ever seems to go into it. HACS issue tracker points back to a core HA issue. Other than this things seem fine, but causing headaches with NR automations (where I read TV state, etc).