You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a new network mount a directory is created in /data/mounts. If the mount fails this directory is not deleted. I added a network mount in 2025.01. In doing so I messed up a few times with the username and password. I deleted the mount not long after because I realized I couldn't manually set the backup time (thanks for changing this). A couple of days later I realized the backup location was still active in the automatic backup, even though I removed the mount. In the meantime a couple of backups had been made, so they were just put in the local filesystem at /data/mounts/[name]. When I tried re-adding the network mount in 2025.02 it failed with the message that the directory was not empty.
In short, if the mount process fails when creating a mount, the directory that is made is not deleted, which results in unexpected behavior.
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Steps to reproduce the issue
Go to Settings > System > Storage > Add network storage
Fill in details to mount a Samba share to use as backup storage, but use incorrect details (server or username/password)
Observe that a directory with the name of the mount you attempted to create is left in /data/mounts
Anything in the Supervisor logs that might be useful for us?
2025-02-07 22:01:58.921 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /mounts - Cannot mount PC at /data/mounts/PC because it is not empty
System Health information
System Information
version
core-2025.2.1
installation_type
Home Assistant OS
dev
false
hassio
true
docker
true
user
root
virtualenv
false
python_version
3.13.1
os_name
Linux
os_version
6.6.62-haos-raspi
arch
aarch64
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
4973
Installed Version
2.0.5
Stage
running
Available Repositories
1514
Downloaded Repositories
7
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 14.2
update_channel
stable
supervisor_version
supervisor-2025.02.0
agent_version
1.6.0
docker_version
27.2.0
disk_total
458.4 GB
disk_used
13.3 GB
healthy
true
supported
true
host_connectivity
true
supervisor_connectivity
true
ntp_synchronized
true
virtualization
board
rpi3-64
supervisor_api
ok
version_api
ok
installed_addons
Duck DNS (1.18.0), File editor (5.8.0), Nginx Proxy Manager (1.0.1), MariaDB (2.7.2), Advanced SSH & Web Terminal (20.0.0), Samba Backup (5.2.0), Node-RED (19.0.0), Vaultwarden (Bitwarden) (0.23.7), Get HACS (1.3.1)
The fact that the backups were still created, even though the mount did not exist is also weird, but I don't think that'll matter if this issue is solved?
The text was updated successfully, but these errors were encountered:
Describe the issue you are experiencing
When adding a new network mount a directory is created in /data/mounts. If the mount fails this directory is not deleted. I added a network mount in 2025.01. In doing so I messed up a few times with the username and password. I deleted the mount not long after because I realized I couldn't manually set the backup time (thanks for changing this). A couple of days later I realized the backup location was still active in the automatic backup, even though I removed the mount. In the meantime a couple of backups had been made, so they were just put in the local filesystem at /data/mounts/[name]. When I tried re-adding the network mount in 2025.02 it failed with the message that the directory was not empty.
In short, if the mount process fails when creating a mount, the directory that is made is not deleted, which results in unexpected behavior.
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Steps to reproduce the issue
Anything in the Supervisor logs that might be useful for us?
System Health information
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Network Configuration
Recorder
Spotify
Supervisor diagnostics
config_entry-hassio-8424ad985840f489ed8b48f1e3ea0078.json
Additional information
The fact that the backups were still created, even though the mount did not exist is also weird, but I don't think that'll matter if this issue is solved?
The text was updated successfully, but these errors were encountered: