I run Hass.io on a Ubuntu PC
I have shared my HDDs through samba.
I recently installed Hass.io. It is running docker i guess.
I installed the samba plugin to get access to my config files.
Problem is, ubuntu and Hass.io have the same hostname.
Trying to access the files from Windows will let me access my shared HDDs and not hass-files.
I have tried to change hostname in hass.io but then it changes ubuntu hostname as well.
Right now i have to stop samba service in ubuntu to access hass-files, so i know samba is working on both instances but they are interfearing.
Is there a way to get around this?
Edit your /etc/samba/smb.conf file :
add
[common]
comment = home assistant
path = /usr/share/hassio/homeassistant
browseable = yes
create mask = 0777
directory mask = 0777
writeable = yes
read only = no
[hassio]
comment = home assistant all dirs
path = /usr/share/hassio
browseable = yes
create mask = 0777
directory mask = 0777
writeable = yes
read only = no
Save, run sudo systemctl restart smbd
Now you can access your hassio files from Ubuntu samba