How to Troubleshoot Raspberry Pi Crashing

  1. Ensure you are using an appropriate power supply. See the warning at the top of this page:
  1. USB peripherals directly attached to the Pi can exceed the power supply limits (for example SSDs and Disk drives). Use the Raspberry Pi Power Supply Checker Integration to monitor your power. Always attach these to a separately powered USB hub then attach the USB hub to the Pi.

  2. Try a different power supply (power supplies can fail).

  3. The SD card, SSD, etc. may have corrupt files from a crash, power fail, repeated power cycles without proper shutdown, etc. Try a clean install and recovery from a backup. Or If you find the configuration.yaml, copy all files and directories (including hidden files) in that folder somewhere safe, and after installing a new HA, copy them to your new installation.

  4. Check the system log files to see if there are any errors that correlate to the times of the crash. If the system won’t boot, you can move the system media (e.g. SD Card) to a Windows system and use Linux Reader to read the partitions and files.

    • Home-assistant.log
    • home-assistant.log.1
    • Home-assistant.log.fault
  5. Check the other log files.

  1. Could an Integration be misbehaving?

    • Check the Known Issues for the integration
    • Remove the suspect integration to see if that helps.
  2. More diagnostic and repair tools can be found here: Common tasks - Operating System - Home Assistant.

Home Assistant Cookbook - Index

3 Likes