For some reason, I cannot access my home assistant. HA is running on local VM with static IP. The HA console says it is up and running and showing the correct URL.
From a home network perspective, all is normal. I rebooted the VM, but didn’t help. I rebooted the VM server (ProxMox), and that didn’t help. I can ping the HA server from my desktop.
I am unsure of where to look for the issue.
I was able to ssh into homeassistant and here is the log file (cat /homeassistant/home-assistant.log)
2024-03-07 07:51:54.768 ERROR (MainThread) [root] Uncaught exception
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 221, in <module>
sys.exit(main())
^^^^^^
File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
exit_code = runner.run(runtime_conf)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/runner.py", line 188, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 684, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in setup_and_run_hass
hass = await bootstrap.async_setup_hass(runtime_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 192, in async_setup_hass
config_dict = await conf_util.async_hass_config_yaml(hass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config.py", line 502, in async_hass_config_yaml
await merge_packages_config(hass, config, core_config.get(CONF_PACKAGES, {}))
File "/usr/src/homeassistant/homeassistant/config.py", line 1030, in merge_packages_config
PACKAGES_CONFIG_SCHEMA(packages)
File "/usr/src/homeassistant/homeassistant/helpers/config_validation.py", line 587, in verify
slug_validator(key)
File "/usr/src/homeassistant/homeassistant/helpers/config_validation.py", line 568, in slug
raise vol.Invalid(f"invalid slug {value} (try {slg})")
voluptuous.error.Invalid: invalid slug Calendar (try calendar)
Any help would be appreciated.
Thanks.
Thank you for your responses. The symptoms were that I could not reach HomeAssistant. Either locally or via web.
The problem was in the Calendar.yaml file that I had created.
It is the last part of the log file output.
I removed the reference to that file, and it works.
Now I just have to look into fixing that file.
All good for now.