I just upgraded to 2025.1 for HASS, on a Pi4. I am getting an error in my logs and the option to perform a backup is gone from the UI.
####### Log Entry 1 of 2 ####
Logger: homeassistant.util.json
Source: util/json.py:72
First occurred: 3:06:14 PM (1 occurrences)
Last logged: 3:06:14 PM
JSON file reading failed: /config/.storage/backup
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/util/json.py", line 72, in load_json
with open(filename, mode="rb") as fdesc:
~~~~^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
return func(*args, **kwargs)
IsADirectoryError: [Errno 21] Is a directory: '/config/.storage/backup'
####### Log Entry 2 of 2 ####
Logger: homeassistant.setup
Source: setup.py:416
First occurred: 3:06:14 PM (1 occurrences)
Last logged: 3:06:14 PM
Error during setup of component backup
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/util/json.py", line 72, in load_json
with open(filename, mode="rb") as fdesc:
~~~~^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
return func(*args, **kwargs)
IsADirectoryError: [Errno 21] Is a directory: '/config/.storage/backup'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 416, in _async_setup_component
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/backup/__init__.py", line 71, in async_setup
await backup_manager.async_setup()
File "/usr/src/homeassistant/homeassistant/components/backup/manager.py", line 282, in async_setup
stored = await self.store.load()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/backup/store.py", line 39, in load
return await self._store.async_load()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 290, in async_load
result = await self._async_load()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 310, in _async_load
return await self._async_load_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 331, in _async_load_data
data = await self.hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
json_util.load_json, self.path
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/util/json.py", line 82, in load_json
raise HomeAssistantError(f"Error while loading {filename}: {error}") from error
homeassistant.exceptions.HomeAssistantError: Error while loading /config/.storage/backup: [Errno 21] Is a directory: '/config/.storage/backup'
I’ve commented out some of the various suggestions in community posts in my configuration.yaml, nothing has worked. Help please!