adamoutler / HassOSConfigurator

A set of Add-Ons to configure HassOS For various platforms and development purposes.
184 stars 44 forks source link

Failed to run startup script in HomeAssistant container #2

Closed ronaldheft closed 3 years ago

ronaldheft commented 3 years ago

Created a startup file, and I'm seeing the following error when I run the container:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Testing Docker access.
Sleeping for Startup Delay period of 1 seconds
Listing Containers.
addon_1f3d020e_run_on_startup_addon
hassio_audio
addon_a0d7b954_nut
addon_a0d7b954_esphome
hassio_supervisor
addon_a0d7b954_vscode
addon_03cabcc9_ring_mqtt
addon_a0d7b954_nodered
addon_a0d7b954_nginxproxymanager
addon_15d21743_samba_backup
addon_a0d7b954_portainer
addon_a0d7b954_grafana
addon_core_deconz
addon_core_ssh
addon_core_mosquitto
addon_core_mariadb
hassio_cli
hassio_multicast
hassio_dns
homeassistant
hassio_observer
executing
#############################################################################
###############/config/startup/startup.d/homeassistant.sh
###############Container: c5f2dcea9ff1: tmp/homeassistant.startup.sh
#############################################################################
chmod: /tmp/homeassistant.startup.sh: No such file or directory
exec: fatal: unable to exec /tmp/homeassistant.startup.sh: No such file or directory
----DONE----  sleeping...

Looks like the docker cp might not be working?

adamoutler commented 3 years ago

This was fixed with recent version. Home Assistant now removes items from /tmp. The work around is to move to a different folder. It's been addressed.

ronaldheft commented 3 years ago

@adamoutler I'm actually seeing this issue with 0.8, which is latest.

adamoutler commented 3 years ago

Yes. Looks like Home Assistant Supervisor has issues. Please check the forum for updates.