General troubleshooting


This page provides some information about more generic troubleshooting topics.

Home Assistant went into recovery mode

Symptom: Home Assistant is in recovery mode

On top of the page you see a red banner. On the Overview page, you see a Recovery mode notification.

image

Description

When Home Assistant is in recovery mode, there was an issue with the configuration.

Recovery mode loads a minimum set of integrations to allow troubleshooting the configuration. Recovery mode will use the parts of the configuration that was used the last time Home Assistant started successfully. You can still see the user interface, the settings, and add-ons.

Resolution

You need to identify the issue in the configuration files and fix it there. The issue could be caused by something as simple as an invalid YAML file.

  • If you are running Home Assistant Operating SystemHome Assistant OS, the Home Assistant Operating System, is an embedded, minimalistic, operating system designed to run the Home Assistant ecosystem. It is the recommended installation method for most users.
    [Learn more]
    , you can install an add-on such as VS code to edit the configuration file if needed.
  • If you are still logged in, you can edit your configuration.
    • In the Home Assistant user interface, open the add-on you usually use and edit the configuration file.
  • Restart Home Assistant.
  • If you are locked out because you forgot your password, you cannot edit the configuration file from the user interface. Follow the steps to reset your password.

Restarting Home Assistant in safe mode

If your Home Assistant is acting up and you cannot identify a root cause, you can use Safe mode to narrow down the number of possible causes. Safe mode loads Home Assistant Core, but no custom integrations, no custom cards, and no custom themes. If the issue does not persist in Safe mode, the issue is not with Home Assistant Core. Before reporting an issue, check if the issue persists in Safe mode.

To enable Safe mode, go to Settings > System > Restart Home Assistant (top right) > Restart Home Assistant in safe mode.

Related topics