home-assistant.io/source/_docs/troubleshooting_general.markdown
c0ffeeca7 3cf05e2511
Add information on recovery and safe mode (#31427)
* Add information on revocery and safe mode

- Create general troubleshooting section
- Document recovery and safe mode
- Tiny tweaks to recovery integration documentation page
- addresses feedback from #31387

* Rephrase

* Fix typo

* Rephrase

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Fix screenshot

* Amend resolution

* Fix typo

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-02-26 08:59:55 +01:00

2.3 KiB

title description
General troubleshooting General troubleshooting information

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 System, 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.