home-assistant / addons

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

Home Assistant sever not accesable with Samba #3770

Closed RZO00 closed 3 weeks ago

RZO00 commented 2 months ago

Describe the issue you are experiencing

Since a few days I can't acces my HA server anymore via the Samba add-on. Previously I could see the HA server in my windows file server, now not anymore. I didn't change the config. A screen copy of the config is added. My PC is on the allowed hostlist. (192.168.178.33/16) Samba log.txt Samba config screen copy

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. 2. 3. ...

System Health information

System Information

version core-2024.9.3
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.46-haos
arch x86_64
timezone Europe/Amsterdam
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok HACS Data | ok GitHub API Calls Remaining | 5000 Installed Version | 2.0.1 Stage | running Available Repositories | 1483 Downloaded Repositories | 7
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | 8 februari 2025 om 01:00 relayer_connected | true relayer_region | eu-central-1 remote_enabled | true remote_connected | true alexa_enabled | false google_enabled | true remote_server | eu-central-1-17.ui.nabu.casa certificate_status | ready instance_id | 7da170f0dc8c4489a2c166d3c3b75ec6 can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 13.1 -- | -- update_channel | stable supervisor_version | supervisor-2024.09.1 agent_version | 1.6.0 docker_version | 26.1.4 disk_total | 234.0 GB disk_used | 17.0 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 | Terminal & SSH (9.14.0), Duck DNS (1.18.0), Home Assistant Google Drive Backup (0.112.1), File editor (5.8.0), Studio Code Server (5.15.0), Node-RED (18.0.5), Mosquitto broker (6.4.1), Samba share (12.3.2)
Dashboards dashboards | 10 -- | -- resources | 5 views | 18 mode | storage
Recorder oldest_recorder_run | 22 september 2024 om 16:29 -- | -- current_recorder_run | 24 september 2024 om 22:09 estimated_db_size | 737.39 MiB database_engine | sqlite database_version | 3.45.3

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

024-09-24 22:04:21.609 INFO (MainThread) [supervisor.api.middleware.security] /backups/48a0ca94/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.614 INFO (MainThread) [supervisor.api.middleware.security] /backups/5df089d9/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.619 INFO (MainThread) [supervisor.api.middleware.security] /backups/3e2e5974/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.630 INFO (MainThread) [supervisor.api.middleware.security] /backups/72ccd370/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.636 INFO (MainThread) [supervisor.api.middleware.security] /backups/ea78fb0e/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.643 INFO (MainThread) [supervisor.api.middleware.security] /backups/88c0aa85/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.648 INFO (MainThread) [supervisor.api.middleware.security] /backups/c0333204/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.654 INFO (MainThread) [supervisor.api.middleware.security] /backups/2683d453/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.660 INFO (MainThread) [supervisor.api.middleware.security] /backups/642e3d29/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.666 INFO (MainThread) [supervisor.api.middleware.security] /backups/922a1c95/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.672 INFO (MainThread) [supervisor.api.middleware.security] /backups/9f69fda4/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.678 INFO (MainThread) [supervisor.api.middleware.security] /backups/82b48900/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.684 INFO (MainThread) [supervisor.api.middleware.security] /backups/230bb3eb/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.690 INFO (MainThread) [supervisor.api.middleware.security] /backups/b6b57032/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.696 INFO (MainThread) [supervisor.api.middleware.security] /backups/74312b14/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.701 INFO (MainThread) [supervisor.api.middleware.security] /backups/5b465608/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.707 INFO (MainThread) [supervisor.api.middleware.security] /backups/96b2966e/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.713 INFO (MainThread) [supervisor.api.middleware.security] /backups/280f080e/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.719 INFO (MainThread) [supervisor.api.middleware.security] /backups/4f144770/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.724 INFO (MainThread) [supervisor.api.middleware.security] /backups/3abe9951/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:21.730 INFO (MainThread) [supervisor.api.middleware.security] /backups/04870525/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:04:36.327 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
2024-09-24 22:04:36.360 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
2024-09-24 22:04:36.369 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
2024-09-24 22:04:50.156 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
2024-09-24 22:04:50.159 INFO (MainThread) [supervisor.core] Supervisor is up and running
2024-09-24 22:04:50.159 INFO (MainThread) [supervisor.host.info] Updating local host information
2024-09-24 22:04:50.161 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
2024-09-24 22:04:50.162 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-09-24 22:04:50.162 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-09-24 22:04:50.162 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-09-24 22:04:50.163 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-09-24 22:04:50.194 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-09-24 22:04:50.194 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-09-24 22:04:50.379 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-09-24 22:04:50.406 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-09-24 22:04:50.406 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-09-24 22:04:50.420 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-09-24 22:04:50.421 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
2024-09-24 22:04:50.422 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-09-24 22:04:50.422 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-09-24 22:04:50.422 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-09-24 22:04:50.796 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-09-24 22:04:50.796 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-09-24 22:04:50.797 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-09-24 22:04:51.034 INFO (MainThread) [supervisor.host.services] Updating service information
2024-09-24 22:04:51.047 INFO (MainThread) [supervisor.host.network] Updating local network information
2024-09-24 22:04:51.304 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2024-09-24 22:04:51.327 INFO (MainThread) [supervisor.host.manager] Host information reload completed
2024-09-24 22:06:23.808 INFO (MainThread) [supervisor.backups.manager] Backup 40049db4 starting stage addon_repositories
2024-09-24 22:06:23.809 INFO (MainThread) [supervisor.backups.manager] Backup 40049db4 starting stage docker_config
2024-09-24 22:06:23.809 INFO (MainThread) [supervisor.backups.manager] Creating new partial backup with slug 40049db4
2024-09-24 22:06:23.812 INFO (MainThread) [supervisor.backups.manager] Backup 40049db4 starting stage home_assistant
2024-09-24 22:06:34.109 INFO (MainThread) [supervisor.homeassistant.module] Backing up Home Assistant Core config folder
2024-09-24 22:06:34.258 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:06:34.265 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:06:47.964 INFO (MainThread) [supervisor.homeassistant.module] Backup Home Assistant Core config folder done
2024-09-24 22:06:47.974 INFO (MainThread) [supervisor.backups.manager] Backup 40049db4 starting stage finishing_file
2024-09-24 22:06:47.980 INFO (MainThread) [supervisor.backups.manager] Creating partial backup with slug 40049db4 completed
2024-09-24 22:06:47.980 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2024.9.3
2024-09-24 22:06:47.981 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/generic-x86-64-homeassistant:2024.9.2 to ghcr.io/home-assistant/generic-x86-64-homeassistant:2024.9.3
2024-09-24 22:06:47.982 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/generic-x86-64-homeassistant with tag 2024.9.3.
2024-09-24 22:06:58.013 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:06:58.019 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:06:58.034 INFO (MainThread) [supervisor.api.middleware.security] /backups/40049db4/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:06:58.053 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:06:58.057 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
2024-09-24 22:09:16.901 INFO (SyncWorker_1) [supervisor.docker.manager] Stopping homeassistant application
2024-09-24 22:09:16.985 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API for a0d7b954_nodered closed
2024-09-24 22:09:36.846 INFO (SyncWorker_1) [supervisor.docker.manager] Cleaning homeassistant application
2024-09-24 22:09:37.492 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
2024-09-24 22:09:37.772 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/generic-x86-64-homeassistant with version 2024.9.3
2024-09-24 22:09:37.773 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2024-09-24 22:09:48.391 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-09-24 22:09:48.628 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-09-24 22:09:52.810 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='NOT_RUNNING', offline_db_migration=False)
2024-09-24 22:10:53.384 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='STARTING', offline_db_migration=False)
2024-09-24 22:10:58.432 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='RUNNING', offline_db_migration=False)
2024-09-24 22:10:58.433 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
2024-09-24 22:10:58.433 INFO (MainThread) [supervisor.homeassistant.core] Successfully started Home Assistant 2024.9.3
2024-09-24 22:10:58.495 INFO (SyncWorker_6) [supervisor.docker.manager] Cleanup images: ['ghcr.io/home-assistant/generic-x86-64-homeassistant:2024.9.2']
2024-09-24 22:11:02.786 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
2024-09-24 22:11:02.792 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
2024-09-24 22:11:02.814 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
2024-09-24 22:27:44.582 INFO (SyncWorker_3) [supervisor.docker.manager] Stopping addon_core_samba application
2024-09-24 22:27:47.891 INFO (SyncWorker_3) [supervisor.docker.manager] Cleaning addon_core_samba application
2024-09-24 22:27:48.229 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-samba with version 12.3.2
2024-09-24 22:27:48.620 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from core_samba
2024-09-24 22:31:22.203 INFO (SyncWorker_6) [supervisor.docker.manager] Stopping addon_core_samba application
2024-09-24 22:31:25.519 INFO (SyncWorker_6) [supervisor.docker.manager] Cleaning addon_core_samba application
2024-09-24 22:31:25.865 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-samba with version 12.3.2
2024-09-24 22:31:26.179 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from core_samba
2024-09-24 22:33:13.045 INFO (SyncWorker_4) [supervisor.docker.manager] Stopping addon_core_samba application
2024-09-24 22:33:16.340 INFO (SyncWorker_4) [supervisor.docker.manager] Cleaning addon_core_samba application
2024-09-24 22:33:16.685 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-09-24 22:33:16.688 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-samba with version 12.3.2
2024-09-24 22:33:16.975 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from core_samba
2024-09-24 22:35:18.404 INFO (SyncWorker_1) [supervisor.docker.manager] Stopping addon_core_samba application
2024-09-24 22:35:21.711 INFO (SyncWorker_1) [supervisor.docker.manager] Cleaning addon_core_samba application
2024-09-24 22:35:22.064 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-samba with version 12.3.2
2024-09-24 22:35:22.402 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from core_samba

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

amba share
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.18.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
INFO: Profiling support unavailable in this build.
*****

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

*****
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nmbd: stopping
Got SIGTERM: going down...
[22:33:13] INFO: Service nmbd exited with code 0 (by signal 0)
s6-rc: info: service nmbd successfully stopped
s6-rc: info: service smbd: stopping
[22:33:13] INFO: Service smbd exited with code 256 (by signal 15)
s6-rc: info: service smbd successfully stopped
s6-rc: info: service init-smbd: stopping
s6-rc: info: service init-smbd successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
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
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
[22:33:16] INFO: Hostname: homeassistant
[22:33:17] INFO: Interfaces: enp1s0 
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /var/lib/samba/private/passdb.tdb file.
Added user Samba_HA.
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
nmbd version 4.18.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.18.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
INFO: Profiling support unavailable in this build.
*****

Samba name server HOMEASSISTANT is now a local master browser for workgroup WORKGROUP on subnet 192.168.178.73

*****
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nmbd: stopping
Got SIGTERM: going down...
[22:35:18] INFO: Service nmbd exited with code 0 (by signal 0)
s6-rc: info: service nmbd successfully stopped
s6-rc: info: service smbd: stopping
[22:35:18] INFO: Service smbd exited with code 256 (by signal 15)
s6-rc: info: service smbd successfully stopped
s6-rc: info: service init-smbd: stopping
s6-rc: info: service init-smbd successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
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
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
[22:35:22] INFO: Hostname: homeassistant
[22:35:22] INFO: Interfaces: enp1s0 
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /var/lib/samba/private/passdb.tdb file.
Added user Samba_HA.
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
nmbd version 4.18.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.18.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
INFO: Profiling support unavailable in this build.
*****

Samba name server HOMEASSISTANT is now a local master browser for workgroup WORKGROUP on subnet 192.168.178.73

*****

Additional information

No response

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.