Hi there, for the longest time I have had an SMB share mounted to perform backups.
This has functioned perfectly for over a year.
But recently the backups have been failing, and I’ve traced it back to the service account being locked out by home assistant.
For a while there, it was as simple as re-entering the credentials, hitting save, and waiting until the next time it failed. Which was usually when my file server crashed (it does that), and then rinse and repeat.
But starting a few days ago, re-entering the credentials works for the initial connection, but the account is immediately locked afterwards.
The server logs clearly show home assistant as the cause of the lockouts, and I have confirmed this by denying SMB traffic in my firewall between HA and the file server and the lockouts immediately cease.
Seemingly deleting the config and re-adding it doesn’t fix the issue either. In fact, when I deleted the config, the only way to stop Home Assisatnt locking the account was to block it in the firewall.
It feels like the config for the backup storage has somehow become stuck.
Does anyone have any advice for how I can fix this? Is it a known bug I just need to wait out?
Thanks!
Do you mean Samba Share add-on?
Mine is working just fine.
Hi, no I am not using the Samba addon. I’m using the built-in “Add Network Storage” function in the Home Assistant Storage settings.
Settings > System > Storage > Add Network Storage, for clarity.
I did not know that was an option. I will try it for my media.
On backups, I have been relying on the Samba Backup add-on for a few years with no complaint. Every night at three AM it makes a full backup of my system to my NAS.
Steve: Where does the Samba Backup reside for downloading/installing. When I check my Add On library it only shows Samba Share. Is it a HACA add on?
Regards, Michael
It is on GitHub.
This doesn’t fix the issue, but I worked around it by creating a new service account for the backups, and shedding myself of the old one.
Would be great to understand why this happened, because it’s likely going to happen again.