linuxserver/docker-homeassistant

Prevent additional /pathtodevice from generating every update?

dirtymike0330 opened this issue · 9 comments

I have homeassistant installed on my unRAID machine. I update it every release. In my config, I only have/need one /path to device, - which points to my zigbee controller.

Every time homeassistant updates, it adds a ton of mandatory path to fields, which I have to manually delete or it prevents homeassistant from starting up (picture attached).

Any way to prevent this?
Untitled

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

That is caused by unraid/community applications updating the template. To make it stop, you have to remove the template address under advanced view.

I think if we set this parameter as optional it might not force it back in the template. Since it isn't required, we should probably change it.

Edit:
According to the expert on unraid templates, that will not help, so the solution is to remove the template address.

That is caused by unraid/community applications updating the template. To make it stop, you have to remove the template address under advanced view.

I think if we set this parameter as optional it might not force it back in the template. Since it isn't required, we should probably change it.

Edit: According to the expert on unraid templates, that will not help, so the solution is to remove the template address.

Thank you for the prompt response - I have attached my advanced view for the container; can you advise what you are referring to as the template address please?
update

Sorry about that. Long time since I changed anything on my unraid server.
You have to enable template authoring in Settings --> Docker. To be able to see this setting, you need to set enable docker to No in the settings page. Then change to Authoring mode and go back to the homeassistant template and delete the TemplateURL address.
I would advice to stop all containers manually before stopping the docker service.

Sorry about that. Long time since I changed anything on my unraid server. You have to enable template authoring in Settings --> Docker. To be able to see this setting, you need to set enable docker to No in the settings page. Then change to Authoring mode and go back to the homeassistant template and delete the TemplateURL address. I would advice to stop all containers manually before stopping the docker service.

Thanks! I have followed your steps and now see the following (attached) but nothing references TemplateURL specifically, is it one of the ones in the screen grab? Sorry!
author

It was there before, so I don't know why it's not there.
You should ask on the unraid forum why it's happening and how to prevent it.

From our side the template sync is turned off for home-assistant.

I will get over to the forums for further, thanks for narrowing this down

Specific steps to solve this exact problem here for anyone's future reference https://forums.unraid.net/topic/117686-how-to-editfix-docker-update-pull-command-parameters/