version: '3' | |
services: | |
hassio: | |
image: homeassistant/amd64-hassio-supervisor | |
container_name: hassio_supervisor | |
privileged: true | |
security_opt: | |
- seccomp:unconfined | |
- apparmor:unconfined | |
environment: | |
- HOMEASSISTANT_REPOSITORY=homeassistant/qemux86-64-homeassistant | |
- SUPERVISOR_SHARE=/PATH/TO/FOLDER/A | |
- SUPERVISOR_NAME=hassio_supervisor | |
volumes: | |
- /PATH/TO/FOLDER/A:/data | |
- /var/run/docker.sock:/var/run/docker.sock | |
- /var/run/dbus:/var/run/dbus |
To refresh installation docker-compose down
then docker-compose up --detach
.
Supervisor will not remove containers on docker-compose down
.
Use:
docker rm $(docker stop $(docker ps --filter name=hassio* -q))
docker rm $(docker stop $(docker ps --filter name=homeassistant -q))
Best to upgrade system by using the method above. This will pull the latest images and avoid any confilcts
I've managed to install HASSIO using your guide but whenever I try to install any add-ons I get an error message "XXXXX blocked from execution, system is not healthy" which I suspect is due to the obsolete version of Docker that comes bundle with DSM7. IIRC this didn't seem to be an issue in DSM6. Any suggestions?
Thanks
I've managed to install HASSIO using your guide but whenever I try to install any add-ons I get an error message "XXXXX blocked from execution, system is not healthy" which I suspect is due to the obsolete version of Docker that comes bundles with DSM7. IIRC this didn't seem to be an issue in DSM6. Any suggestions?
Thanks
I faced the same issue and found the following workaround: home-assistant/supervisor#2288 (comment)
add jobs.json {"ignore_conditions": ["healthy"]} in the hassio folder just above config. This ignores unhealthy conditions
Occasionally the supervisor container will crash for some reason, but overall it is working fine.
I've managed to install HASSIO using your guide but whenever I try to install any add-ons I get an error message "XXXXX blocked from execution, system is not healthy" which I suspect is due to the obsolete version of Docker that comes bundles with DSM7. IIRC this didn't seem to be an issue in DSM6. Any suggestions?
ThanksI faced the same issue and found the following workaround: home-assistant/supervisor#2288 (comment)
add jobs.json {"ignore_conditions": ["healthy"]} in the hassio folder just above config. This ignores unhealthy conditions
Occasionally the supervisor container will crash for some reason, but overall it is working fine.
Thanks for your quick reply, that worked perfectly after I rebooted the NAS, a HA restart wasn't sufficient.
To refresh installation
docker-compose down
thendocker-compose up --detach
.
Supervisor will not remove containers ondocker-compose down
.
Use:
docker rm $(docker stop $(docker ps --filter name=hassio* -q))
docker rm $(docker stop $(docker ps --filter name=homeassistant -q))
Sorry, I'm a bit confused - which of these procedures and in what order should we follow for an upgrade?
Sorry, I'm a bit confused - which of these procedures and in what order should we follow for an upgrade?
have you tried:
docker-compose down
docker rm $(docker stop $(docker ps --filter name=hassio* -q))
docker rm $(docker stop $(docker ps --filter name=homeassistant -q))
i also added
docker rm $(docker stop $(docker ps --filter name=addon* -q))
here
docker-compose up --detach
Thanks - my Home Assistant Core version was outdated but I successfully updated it via the "update" button! I didn't want to risk it with the Supervisor version.
Starting hassio_supervisor ... error
ERROR: for hassio_supervisor Cannot start service hassio: Bind mount failed: '/PATH/TO/FOLDER/A' does not exists
ERROR: for hassio Cannot start service hassio: Bind mount failed: '/PATH/TO/FOLDER/A' does not exists
ERROR: Encountered errors while bringing up the project.
Please help. Thank you
Starting hassio_supervisor ... error
ERROR: for hassio_supervisor Cannot start service hassio: Bind mount failed: '/PATH/TO/FOLDER/A' does not exists
ERROR: for hassio Cannot start service hassio: Bind mount failed: '/PATH/TO/FOLDER/A' does not exists ERROR: Encountered errors while bringing up the project.
Please help. Thank you
You need to create a folder in your NAS, give it the appropriate permissions then edit the script with the path to the folder. For instance, the line in my docker-compose.yaml reads
- SUPERVISOR_SHARE=/volume1/hassio
Starting hassio_supervisor ... error
ERROR: for hassio_supervisor Cannot start service hassio: Bind mount failed: '/PATH/TO/FOLDER/A' does not exists
ERROR: for hassio Cannot start service hassio: Bind mount failed: '/PATH/TO/FOLDER/A' does not exists ERROR: Encountered errors while bringing up the project.
Please help. Thank youYou need to create a folder in your NAS, give it the appropriate permissions then edit the script with the path to the folder. For instance, the line in my docker-compose.yaml reads
- SUPERVISOR_SHARE=/volume1/hassio
Thanks :-)
Note that I added the following to the hassio
node under services
because I wanted the supervisor container to be automatically restarted if it crashes.
restart: always
So:
services:
hassio:
image: homeassistant/amd64-hassio-supervisor
container_name: hassio_supervisor
privileged: true
restart: always
....
SHH to NAS and run as root: docker-compose up --detach
To get USB working see https://github.com/robertklep/dsm7-usb-serial-drivers