I guess under /addons
Addons doesnât show in Samba. In SSH it shows empty.
Using thé samba add-on ? Use whitelist external dies.
How? In the SAMBA config?
This is my working configuration as of now.
workgroup: WORKGROUP
username: redacted
password: redacted
interface: eth0
allow_hosts:
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
veto_files:
- ._*
- .DS_Store
- Thumbs.db
- .Trashes
compatibility_mode: false
Mine looks very close to yours I have no idea where to look.
Did you try in configuration.yaml :
homeassistant:
whitelist_external_dirs:
- /share
- /addons
I already have access to /share & /addons
nothing in them?
?
There is nothing in my addons folder either.
I believe the database is inside the Mosquitto addon docker container.
If the database is in the docker container, how are updates managed ? As far as I know, an upgrade replaces the docker container.
Good point. I just saw your post about whitlisting. Tried to add this:
whitelist_external_dirs:
- /config
- /addons
But got:
not a directory @ data['whitelist_external_dirs'][1]
Itâs ok with config but not addons.
I get the same error. I have also asked where the db is store on the discord channel. Hopefully someone will answer there.
Looks like its in the MariaDB container, dug around in /data
using portainer and seems like everything is there. Dunno how updates are managed, youâd have to ask the add-on owner I guess.
Here is what I was told on the discord channel " cogneato yesterday at 11:37 AM all addons are containers"
I can find the maria container using ssh and then docker ps, but I canât see the contents of the container with either SSH or samba.
I am just passing on what was told to me.
And still, I believe it is in /addons (at least on HA Supervised)
But since HA Supervised and HA OS pull the same container, there should not be much difference. It definitly is not inside the container.
It seems, if you use Home Assistant OS, /addons is not mounted in the HA container. I read this here :
Although the backup folder wasnât mounted for us in the homeassistant container, /config, /share and /ssl are available. The addons folder is not mounted either, but mounting the drive ourselves gives us that too, if you need it for some reason.
Heâs talking about mounting the snapshots folder no mention of Mariadb. Interestingly I do have a mount for backups and can see my snapshots using the samba addon.
Yes, but it would explain why you canât see the /addons folder. Canât test it myself, as I only have supervised installs.
My statement from that post was simply mentioning the folders visible from the SAMBA addon in relation to what is mounted in the default homeassistant docker container. To be honest, I hadnât really looked at the addons folder visible in the SAMBA addon. Now that I look at it, on my system I see that it is empty. I donât know what that folder is for. Itâs clearly not where the actual addons are stored. It might just be a folder that all addons have mounted that they could use to share additional files.