No longer access to Home Assistant after restart HASS

Hi!

My HA crashed after restart HASS… and the problem is that I hadn’t any backup (lesson learnt). I tryed several ways, even modifying configurator.yaml (through Paragon) but nothing worked.

When I try to access it leads to error: “Something went wrong”

Help would be appreciate!

This is my HA log:

`    2019-02-25 15:59:39 ERROR (MainThread) [homeassistant.components.mqtt] Failed to connect due to exception: [Errno 113] Host is unreachable`
2019-02-25 15:59:40 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=130 from 2019-02-25 14:59:37.444448)
2019-02-25 15:59:43 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 350, in _async_add_entity
    await entity.async_added_to_hass()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/binary_sensor.py", line 108, in async_added_to_hass
    await self._subscribe_topics()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/binary_sensor.py", line 165, in _subscribe_topics
    'qos': self._config.get(CONF_QOS)}})
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/subscription.py", line 83, in async_subscribe_topics
    await requested.resubscribe_if_necessary(hass, current)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/subscription.py", line 44, in resubscribe_if_necessary
    self.qos, self.encoding
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 319, in async_subscribe
    qos, encoding)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 701, in async_subscribe
    await self._async_perform_subscription(topic, qos)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 736, in _async_perform_subscription
    _raise_on_error(result)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 821, in _raise_on_error
    'Error talking to MQTT: {}'.format(mqtt.error_string(result_code)))
homeassistant.exceptions.HomeAssistantError: Error talking to MQTT: The client is not currently connected.
2019-02-25 15:59:44 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 350, in _async_add_entity
    await entity.async_added_to_hass()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/switch.py", line 112, in async_added_to_hass
    await super().async_added_to_hass()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 913, in async_added_to_hass
    await self._availability_subscribe_topics()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 941, in _availability_subscribe_topics
    'qos': self._avail_config[CONF_QOS]}})
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/subscription.py", line 83, in async_subscribe_topics
    await requested.resubscribe_if_necessary(hass, current)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/subscription.py", line 44, in resubscribe_if_necessary
    self.qos, self.encoding
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 319, in async_subscribe
    qos, encoding)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 701, in async_subscribe
    await self._async_perform_subscription(topic, qos)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 736, in _async_perform_subscription
    _raise_on_error(result)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 821, in _raise_on_error
    'Error talking to MQTT: {}'.format(mqtt.error_string(result_code)))
homeassistant.exceptions.HomeAssistantError: Error talking to MQTT: The client is not currently connected.`Preformatted text`

It appears as if you are having issues with MQTT. The error comes from the ‘client not being connected’. What are you using to run MQTT?

Thanks for your response! This is my mqtt setup in configuration.yaml (everything is running in Rasp PI 3B+):
mqtt:
broker: 192.168.1.22
port: 1883

Yeah but is the broker working? That’s what the error (to me) seems to be pointing at.

I have just realized that Raspberry got a different IP…

Thank you very much for your help!