Closed baghamut closed 2 years ago
Hi, sorry but this addon is only for HASSOS installation (I need to improve the documentation to highlight it). In your installation you don't need ad addon to mount external disk on host. Mount disk in the host and map un /media in tour HA container. To expose other disk/path install the samba server Ubuntu package and configure it.
Also I suggest to read Quoting Code Docs. This can be usefull to prevent yaml and other code to be wron formatted.
L.
Thanks for promt answer, will try that!
Hi,
Trying to install your addon and rn into an error The initial Samba-share add-on is working
Logs as following, can you please help me to sort it out:
s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting cont-init: info: running /etc/cont-init.d/0.banner.sh
/ _| _ | | _| \ | | _ \ / ` | '
_ \| '_ \ / _
| | |/ _` / | ) | (| | | | | | | |) | (| | |\ | (| _ \ |__/ \,|| || ||_./ _,|| _|_,_|___/curl: (7) Couldn't connect to server [21:02:25] ERROR: Something went wrong contacting the API Version
cont-init: info: /etc/cont-init.d/0.banner.sh exited 0 cont-init: info: running /etc/cont-init.d/automount.sh [21:02:26] INFO: Protection Mode is curl: (7) Couldn't connect to server [21:02:26] ERROR: Something went wrong contacting the API cont-init: info: /etc/cont-init.d/automount.sh exited 0 cont-init: info: running /etc/cont-init.d/mqtt.sh curl: (7) Couldn't connect to server [21:02:27] ERROR: Something went wrong contacting the API [21:02:29] WARNING: No MQTT Server found. Homeassistant integration can't work! cont-init: info: /etc/cont-init.d/mqtt.sh exited 0 cont-init: info: running /etc/cont-init.d/samba.sh [21:02:30] FATAL: Setting a username and password is required! cont-init: info: /etc/cont-init.d/samba.sh exited 1 cont-init: warning: some scripts exited nonzero s6-rc: warning: unable to start service legacy-cont-init: command exited 1 /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information. /run/s6/basedir/scripts/rc.init: fatal: stopping the container. s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped
my configuration.yaml is pretty basic:
Loads default set of integrations. Do not remove.
default_config:
Text to speech
tts:
automation: !include automations.yaml script: !include scripts.yaml scene: !include scenes.yaml
System Monitor
sensor:
Installed on Lubuntu Home Assistant 2022.8.7 Supervisor 2022.08.5 Frontend 20220802.0 - latest
Thanks ahead! Alex