HA crash every few hours

Hi,
I’m using a Raspberry Pi4 to host HA on a SD Card.
But currently I have to reboot by unplug the power cabel because of HA is not responsing anymore. Also the SSH is not available and the Raspberry is shown as offline in my router.
Today I had seen this last messages in the logs:

2023-09-26 15:21:57.881 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 500
2023-09-26 15:21:57.885 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /store - 
2023-09-26 15:21:57.998 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 324, in _async_callback_delayed_write
  File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 352, in _async_handle_write_data
  File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 357, in _async_write_data
  File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 361, in _write_data
  File "", line 225, in makedirs
OSError: [Errno 5] I/O error: '/config/.storage'

Maybe its a missconfiguration?
Cheers and Thx
Marco

Seems your SD Card is failing

Many thx francips. :slight_smile:
hat could make sense. Tomorrow I will switch to an SSD. Let me check this and I’ll get back her.

Ok, I changed the power supply (because I found some messages that there should be problems with the power supply) and I now use a SSD USB stick. Now everything works fine. Thanks for the advice.

1 Like

What is your new power supply?

The original RP4 power supply. click here

1 Like