home-assistant / addons

:heavy_plus_sign: Docker add-ons for Home Assistant
https://home-assistant.io/hassio/
Apache License 2.0
1.56k stars 1.51k forks source link

Samba share "addons" constantly empty #3816

Closed cconde closed 2 weeks ago

cconde commented 2 weeks ago

Describe the issue you are experiencing

The Samba share "addons" is completely empty.

I expected it to point to /mnt/data/supervisor/addons

Maybe it's pointing to a different folder, or am I missing any step?

Thanks!

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Which add-on are you reporting an issue with?

Samba share

What is the version of the add-on?

12.3.2

Steps to reproduce the issue

1.Install Samba Share 2.Install any addon mounting volumes at /mnt/data/supervisor/addons 3.Use windows to browse the samba share "addons"

  1. Is it empty?

In my system it was unexpectedly empty

System Health information

System Information

version core-2024.10.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.54-haos
arch x86_64
timezone Europe/Madrid
config_dir /config
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 13.2 -- | -- update_channel | stable supervisor_version | supervisor-2024.10.3 agent_version | 1.6.0 docker_version | 27.2.0 disk_total | 58.0 GB disk_used | 10.5 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | board | generic-x86-64 supervisor_api | ok version_api | ok installed_addons | Matter Server (6.6.0), File editor (5.8.0), Node-RED (18.1.1), UniFi Network Application (3.4.0), Log Viewer (0.17.1), CEC Scanner (3.0), Studio Code Server (5.17.2), motionEye (0.21.0), EMQX (0.7.1), Network UPS Tools (0.13.2), TasmoAdmin (0.30.6), MQTT IO (0.4.0), Let's Encrypt (5.2.3), HA COPS (1.28), Samba share (12.3.2), Portainer (2024.9.0), HAMC Server Java with RCON (1.1.2)
Dashboards dashboards | 2 -- | -- resources | 0 views | 0 mode | storage
Recorder oldest_recorder_run | October 25, 2024 at 11:59 AM -- | -- current_recorder_run | October 28, 2024 at 8:29 PM estimated_db_size | 20.49 MiB database_engine | sqlite database_version | 3.45.3

Anything in the Supervisor logs that might be useful for us?

No reference to Samba in supervisor logs

Anything in the add-on logs that might be useful for us?

Nothing looks abnormal:

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
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-smbd: starting
[20:18:05] INFO: Hostname: ************* (correct)
[20:18:05] INFO: Interfaces: *************** (correct)
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /var/lib/samba/private/passdb.tdb file.
Added user ****.
s6-rc: info: service init-smbd successfully started
s6-rc: info: service smbd: starting
s6-rc: info: service smbd successfully started
s6-rc: info: service nmbd: starting
s6-rc: info: service nmbd successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
smbd version 4.18.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
nmbd version 4.18.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
INFO: Profiling support unavailable in this build.
*****

Samba name server *** is now a local master browser for workgroup *** on subnet ***

*****
*****

Samba name server *** is now a local master browser for workgroup *** on subnet ***

*****

Additional information

No response

cconde commented 2 weeks ago

Maybe my premise is wrong and this is a third party issue.

Should any addon get their volumes from "/mnt/data", to start with?

cconde commented 2 weeks ago

Just learnt all about docker and how Samba will surely not allow me to connect to the volumes of the dockers!

Long and deep lesson here!