Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System does not restart, no user feedback #23243

Open
3 of 4 tasks
CFenner opened this issue Dec 10, 2024 · 0 comments
Open
3 of 4 tasks

System does not restart, no user feedback #23243

CFenner opened this issue Dec 10, 2024 · 0 comments

Comments

@CFenner
Copy link
Contributor

CFenner commented Dec 10, 2024

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

When restarting the system, when the config is invalid, there is an error raised in the logs:

Logger: homeassistant
Quelle: components/homeassistant/__init__.py:204
Erstmals aufgetreten: 12:19:04 (4 Vorkommnisse)
Zuletzt protokolliert: 12:57:08

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1110, in _async_admin_handler
    await result
  File "/usr/src/homeassistant/homeassistant/components/homeassistant/__init__.py", line 204, in async_handle_core_service
    raise HomeAssistantError(
    ...<2 lines>...
    )
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Error loading /config/configuration.yaml: while scanning a simple key
  in "/config/configuration.yaml", line 58, column 1
could not find expected ':'
  in "/config/configuration.yaml", line 59, column 1

But I only figured that out by diving into the logs. I got no error message or other feedback.

Describe the behavior you expected

Raise this issue to the user more prominently.

Steps to reproduce the issue

  1. invalidate the configuration.yml
  2. hit restart
  3. view logs
    ...

What version of Home Assistant Core has the issue?

2024.12.1

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

No response

Which operating system are you using to run this browser?

No response

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant