I did some system updates today, but before I started I tried to make a copy of a full backup… more or less my standard routine for updates. I backup the full backup file to my Mac using Samba.
This has never been an issue, but it has been 2 - 3 months since I last did this. Everything seemed OK, but I went ahead and reinstalled Samba on Home Assistant. I don’t remember what I had in the past, but today I found that I had to have compatibility mode set to true to get any hint of things working.
I went ahead and did all the updates and then proceeded to look into the Samba issue. In the Home Assistant Samba configuration the final/current setting is:
username: yyyyyyyyy
password: xxxxxxxxx
workgroup: WORKGROUP
compatibility_mode: true
veto_files:
- ._*
- .DS_Store
- Thumbs.db
- icon?
- .Trashes
allow_hosts: - 10.0.0.0/8
- 172.16.0.0/12
- 192.168.27.0/24
- 169.254.0.0/16
- fe80::/10
- fc00::/7
interfaces: - end0
When I go to the Mac and look at networking, the home assistant item is available in the network list and if I click “connect as” I get the Mac authentication box and I enter my username and password for the Samba Share and the shares show in the Mac Finder window.
Simce I am wanting to copy a file in the backup directory on Home Assistant, I double click on “Backup” in the Mac Finder window.
At that point the Mac Finder window closes/crashes and the following error message pops up.
I have re-installed Samba multiple times and I have ssh into root on Home Assistant and I can see the shares and their symbolic links and I can see all the backup data.
I am curious if this is a known issue related to any updates since Summer (the last time I tried to Samba into HA) or something else. The good thing about macOS Monterey is the OS is essentially legacy and no updates have occurred recently.
Any help will be appreciated.