Hi,
I have just upgraded to NUC and trying to setup HA docker. Everything works fine until the NUC restarts, the moment it is up, access to the web interface of HA is gone although I can see the container is running and up-to-date.
I have tried restarting container multiple times but nothing helps.
Obviously, it is not able to find the !include files which I have used in the configuration.yaml file. The reason I feel is that the path /config/configuration.yaml does not exist, not sure why the /config is getting appended before the name. All the files are present in the root folder /hass-config
Thanks for the input, I went back and looked at the files and indeed this one was missing. Everything was fine after I created this file again. Thanks for realizing me the silly mistake I was doing .
On a side note, how do you update your configurations? because the moment I add one of the folders as a volume, that folder is now owned by root user and I cannot make any changes and for every modifications I have to do sudo.
Adding to this, we cannot copy, paste or create new files as well from GUI because of these restrictions.
So, I want to understand you workflow as to what is the best approach here.
I personally store all my config under /home/homeassistant and then point HA to that folder.
Any changes can be made via SSH, and then restart the container using Portainer. I don’t install via docker-compose, I just manually run the docker install, then this use this config.
I’m pretty confident in saying that you don’t need to do anything with the services that you are doing.
All of of that is needed for running as a service in a virtual environment that isn’t need to run in a docker container. All you need to do is run your docker run command and make sure the container is running.
I just keep doing it as a fallback as it’s how I have always done it going back to the oldskool script that was available to install HA in a venv using a Pi and Raspbian, back around 0.45.0 or something when I first got on board with HA.